]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
pakfire: New package.
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 26 Feb 2010 22:36:10 +0000 (23:36 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 26 Feb 2010 22:36:10 +0000 (23:36 +0100)
24 files changed:
pkgs/core/pakfire/pakfire.nm [new file with mode: 0644]
pkgs/core/pakfire/src/Makefile [moved from src/pakfire/Makefile with 93% similarity]
pkgs/core/pakfire/src/compressor.d/01-qa-unsafe-files [moved from src/pakfire/compressor.d/01-qa-unsafe-files with 100% similarity]
pkgs/core/pakfire/src/compressor.d/02-qa-static-libs [moved from src/pakfire/compressor.d/02-qa-static-libs with 100% similarity]
pkgs/core/pakfire/src/compressor.d/03-qa-execstacks [moved from src/pakfire/compressor.d/03-qa-execstacks with 100% similarity]
pkgs/core/pakfire/src/compressor.d/04-qa-rpath [moved from src/pakfire/compressor.d/04-qa-rpath with 100% similarity]
pkgs/core/pakfire/src/compressor.d/05-qa-textrels [moved from src/pakfire/compressor.d/05-qa-textrels with 100% similarity]
pkgs/core/pakfire/src/compressor.d/06-qa-shared-soname [moved from src/pakfire/compressor.d/06-qa-shared-soname with 100% similarity]
pkgs/core/pakfire/src/compressor.d/07-qa-shared-needed [moved from src/pakfire/compressor.d/07-qa-shared-needed with 100% similarity]
pkgs/core/pakfire/src/compressor.d/50-python [moved from src/pakfire/compressor.d/50-python with 100% similarity]
pkgs/core/pakfire/src/compressor.d/99-strip-debug [moved from src/pakfire/compressor.d/99-strip-debug with 100% similarity]
pkgs/core/pakfire/src/compressor.d/99-strip-unneeded [moved from src/pakfire/compressor.d/99-strip-unneeded with 100% similarity]
pkgs/core/pakfire/src/decompressor [moved from src/pakfire/decompressor with 100% similarity]
pkgs/core/pakfire/src/functions [moved from src/pakfire/functions with 100% similarity]
pkgs/core/pakfire/src/index [moved from src/pakfire/index with 100% similarity]
pkgs/core/pakfire/src/pakfire.in [moved from src/pakfire/pakfire.in with 100% similarity]
pkgs/core/pakfire/src/python/__init__.py [moved from src/pakfire/python/__init__.py with 100% similarity]
pkgs/core/pakfire/src/python/db.py [moved from src/pakfire/python/db.py with 100% similarity]
pkgs/core/pakfire/src/python/io.py [moved from src/pakfire/python/io.py with 100% similarity]
pkgs/core/pakfire/src/python/package.py [moved from src/pakfire/python/package.py with 100% similarity]
pkgs/core/pakfire/src/python/repo.py [moved from src/pakfire/python/repo.py with 100% similarity]
pkgs/core/pakfire/src/python/servers.py [moved from src/pakfire/python/servers.py with 100% similarity]
pkgs/core/pakfire/src/python/transactionset.py [moved from src/pakfire/python/transactionset.py with 100% similarity]
tools/compressor [moved from src/pakfire/compressor with 100% similarity]

diff --git a/pkgs/core/pakfire/pakfire.nm b/pkgs/core/pakfire/pakfire.nm
new file mode 100644 (file)
index 0000000..097662a
--- /dev/null
@@ -0,0 +1,52 @@
+###############################################################################
+#                                                                             #
+# IPFire.org - A linux based firewall                                         #
+# Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt                 #
+#                                                                             #
+# This program is free software: you can redistribute it and/or modify        #
+# it under the terms of the GNU General Public License as published by        #
+# the Free Software Foundation, either version 3 of the License, or           #
+# (at your option) any later version.                                         #
+#                                                                             #
+# This program is distributed in the hope that it will be useful,             #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of              #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the               #
+# GNU General Public License for more details.                                #
+#                                                                             #
+# You should have received a copy of the GNU General Public License           #
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.       #
+#                                                                             #
+###############################################################################
+
+###############################################################################
+# Definitions
+###############################################################################
+
+include $(PKGROOT)/Include
+
+PKG_NAME       = pakfire
+PKG_VER        = 0.9
+PKG_REL        = 0
+
+PKG_MAINTAINER = Michael Tremer <michael.tremer@ipfire.org>
+PKG_GROUP      = System/Packaging
+PKG_URL        = http://www.ipfire.org/
+PKG_LICENSE    = GPLv3+
+PKG_SUMMARY    = Package installer/updater.
+
+PKG_DEPS      += cpio python python-urlgrabber system-release xz
+
+define PKG_DESCRIPTION
+       Pakfire optains package lists from the mirrors and can install and update \
+       packages.
+endef
+
+DIR_APP = $(DIR_SOURCE)/src
+
+define STAGE_BUILD
+       cd $(DIR_APP) && make VERSION="$(PKG_VER)" $(PARALLELISMFLAGS)
+endef
+
+define STAGE_INSTALL_CMDS
+       cd $(DIR_APP) && make clean
+endef
similarity index 93%
rename from src/pakfire/Makefile
rename to pkgs/core/pakfire/src/Makefile
index ed4061df1f1b12f70a43ac6526bda62d40024ff9..d493db343e3014982cbaa28df6aaea63bcc56257 100644 (file)
@@ -13,6 +13,7 @@ clean:
        rm -vf pakfire python/*.py[co]
 
 install: pakfire
+       -mkdir -pv $(DESTDIR)/usr/bin
        install -v -m 755 pakfire $(DESTDIR)/usr/bin
        -mkdir -pv $(PYTHON_DIR)
        cp -vf python/*.py $(PYTHON_DIR)/
similarity index 100%
rename from src/pakfire/compressor
rename to tools/compressor