From: Michael Tremer Date: Fri, 26 Feb 2010 22:36:10 +0000 (+0100) Subject: pakfire: New package. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5b416065b77b821c92b2ecd42241e38cfbc6249;p=ipfire-3.x.git pakfire: New package. --- diff --git a/pkgs/core/pakfire/pakfire.nm b/pkgs/core/pakfire/pakfire.nm new file mode 100644 index 000000000..097662ada --- /dev/null +++ b/pkgs/core/pakfire/pakfire.nm @@ -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 . # +# # +############################################################################### + +############################################################################### +# Definitions +############################################################################### + +include $(PKGROOT)/Include + +PKG_NAME = pakfire +PKG_VER = 0.9 +PKG_REL = 0 + +PKG_MAINTAINER = Michael Tremer +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 diff --git a/src/pakfire/Makefile b/pkgs/core/pakfire/src/Makefile similarity index 93% rename from src/pakfire/Makefile rename to pkgs/core/pakfire/src/Makefile index ed4061df1..d493db343 100644 --- a/src/pakfire/Makefile +++ b/pkgs/core/pakfire/src/Makefile @@ -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)/ diff --git a/src/pakfire/compressor.d/01-qa-unsafe-files b/pkgs/core/pakfire/src/compressor.d/01-qa-unsafe-files similarity index 100% rename from src/pakfire/compressor.d/01-qa-unsafe-files rename to pkgs/core/pakfire/src/compressor.d/01-qa-unsafe-files diff --git a/src/pakfire/compressor.d/02-qa-static-libs b/pkgs/core/pakfire/src/compressor.d/02-qa-static-libs similarity index 100% rename from src/pakfire/compressor.d/02-qa-static-libs rename to pkgs/core/pakfire/src/compressor.d/02-qa-static-libs diff --git a/src/pakfire/compressor.d/03-qa-execstacks b/pkgs/core/pakfire/src/compressor.d/03-qa-execstacks similarity index 100% rename from src/pakfire/compressor.d/03-qa-execstacks rename to pkgs/core/pakfire/src/compressor.d/03-qa-execstacks diff --git a/src/pakfire/compressor.d/04-qa-rpath b/pkgs/core/pakfire/src/compressor.d/04-qa-rpath similarity index 100% rename from src/pakfire/compressor.d/04-qa-rpath rename to pkgs/core/pakfire/src/compressor.d/04-qa-rpath diff --git a/src/pakfire/compressor.d/05-qa-textrels b/pkgs/core/pakfire/src/compressor.d/05-qa-textrels similarity index 100% rename from src/pakfire/compressor.d/05-qa-textrels rename to pkgs/core/pakfire/src/compressor.d/05-qa-textrels diff --git a/src/pakfire/compressor.d/06-qa-shared-soname b/pkgs/core/pakfire/src/compressor.d/06-qa-shared-soname similarity index 100% rename from src/pakfire/compressor.d/06-qa-shared-soname rename to pkgs/core/pakfire/src/compressor.d/06-qa-shared-soname diff --git a/src/pakfire/compressor.d/07-qa-shared-needed b/pkgs/core/pakfire/src/compressor.d/07-qa-shared-needed similarity index 100% rename from src/pakfire/compressor.d/07-qa-shared-needed rename to pkgs/core/pakfire/src/compressor.d/07-qa-shared-needed diff --git a/src/pakfire/compressor.d/50-python b/pkgs/core/pakfire/src/compressor.d/50-python similarity index 100% rename from src/pakfire/compressor.d/50-python rename to pkgs/core/pakfire/src/compressor.d/50-python diff --git a/src/pakfire/compressor.d/99-strip-debug b/pkgs/core/pakfire/src/compressor.d/99-strip-debug similarity index 100% rename from src/pakfire/compressor.d/99-strip-debug rename to pkgs/core/pakfire/src/compressor.d/99-strip-debug diff --git a/src/pakfire/compressor.d/99-strip-unneeded b/pkgs/core/pakfire/src/compressor.d/99-strip-unneeded similarity index 100% rename from src/pakfire/compressor.d/99-strip-unneeded rename to pkgs/core/pakfire/src/compressor.d/99-strip-unneeded diff --git a/src/pakfire/decompressor b/pkgs/core/pakfire/src/decompressor similarity index 100% rename from src/pakfire/decompressor rename to pkgs/core/pakfire/src/decompressor diff --git a/src/pakfire/functions b/pkgs/core/pakfire/src/functions similarity index 100% rename from src/pakfire/functions rename to pkgs/core/pakfire/src/functions diff --git a/src/pakfire/index b/pkgs/core/pakfire/src/index similarity index 100% rename from src/pakfire/index rename to pkgs/core/pakfire/src/index diff --git a/src/pakfire/pakfire.in b/pkgs/core/pakfire/src/pakfire.in similarity index 100% rename from src/pakfire/pakfire.in rename to pkgs/core/pakfire/src/pakfire.in diff --git a/src/pakfire/python/__init__.py b/pkgs/core/pakfire/src/python/__init__.py similarity index 100% rename from src/pakfire/python/__init__.py rename to pkgs/core/pakfire/src/python/__init__.py diff --git a/src/pakfire/python/db.py b/pkgs/core/pakfire/src/python/db.py similarity index 100% rename from src/pakfire/python/db.py rename to pkgs/core/pakfire/src/python/db.py diff --git a/src/pakfire/python/io.py b/pkgs/core/pakfire/src/python/io.py similarity index 100% rename from src/pakfire/python/io.py rename to pkgs/core/pakfire/src/python/io.py diff --git a/src/pakfire/python/package.py b/pkgs/core/pakfire/src/python/package.py similarity index 100% rename from src/pakfire/python/package.py rename to pkgs/core/pakfire/src/python/package.py diff --git a/src/pakfire/python/repo.py b/pkgs/core/pakfire/src/python/repo.py similarity index 100% rename from src/pakfire/python/repo.py rename to pkgs/core/pakfire/src/python/repo.py diff --git a/src/pakfire/python/servers.py b/pkgs/core/pakfire/src/python/servers.py similarity index 100% rename from src/pakfire/python/servers.py rename to pkgs/core/pakfire/src/python/servers.py diff --git a/src/pakfire/python/transactionset.py b/pkgs/core/pakfire/src/python/transactionset.py similarity index 100% rename from src/pakfire/python/transactionset.py rename to pkgs/core/pakfire/src/python/transactionset.py diff --git a/src/pakfire/compressor b/tools/compressor similarity index 100% rename from src/pakfire/compressor rename to tools/compressor