]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blob - pkgs/pakfire/pakfire.nm
Merge remote-tracking branch 'stevee/systemd'
[people/arne_f/ipfire-3.x.git] / pkgs / pakfire / pakfire.nm
1 ###############################################################################
2 # #
3 # IPFire.org - A linux based firewall #
4 # Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt #
5 # #
6 # This program is free software: you can redistribute it and/or modify #
7 # it under the terms of the GNU General Public License as published by #
8 # the Free Software Foundation, either version 3 of the License, or #
9 # (at your option) any later version. #
10 # #
11 # This program is distributed in the hope that it will be useful, #
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of #
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
14 # GNU General Public License for more details. #
15 # #
16 # You should have received a copy of the GNU General Public License #
17 # along with this program. If not, see <http://www.gnu.org/licenses/>. #
18 # #
19 ###############################################################################
20
21 ###############################################################################
22 # Definitions
23 ###############################################################################
24
25 include $(PKGROOT)/Include
26
27 PKG_NAME = pakfire
28 PKG_VER = 0.9.6
29 PKG_REL = 1
30
31 PKG_MAINTAINER = Michael Tremer <michael.tremer@ipfire.org>
32 PKG_GROUPS = Base System/Packaging
33 PKG_URL = http://www.ipfire.org/
34 PKG_LICENSE = GPLv3+
35 PKG_SUMMARY = Package installer/updater.
36
37 PKG_BUILD_DEPS+= \
38 intltool \
39 libsolv-devel \
40 python-devel \
41 python-distutils-extra
42
43 PKG_DEPS += \
44 pyliblzma \
45 python-progressbar \
46 python-urlgrabber \
47 pyxattr \
48 system-release
49
50 define PKG_DESCRIPTION
51 Pakfire optains package lists from the mirrors and can install and update \
52 packages.
53 endef
54
55 PKG_TARBALL = $(THISAPP).tar.gz
56
57 export CFLAGS += -fno-strict-aliasing
58
59 define STAGE_TEST
60 # Check, if the binary module is loadable.
61 cd $(DIR_APP)/build/lib*/pakfire/ && python -c "import _pakfire"
62 endef
63
64 # Build package
65
66 PKG_PACKAGES += $(PKG_NAME)-build
67
68 PKG_SUMMARY-$(PKG_NAME)-build = The pakfire builder.
69 PKG_DESCRIPTION-$(PKG_NAME)-build = The tools that are needed to build new \
70 pakfire packages.
71 PKG_DEPS-$(PKG_NAME)-build += pakfire=$(THISVER)
72 PKG_FILES-$(PKG_NAME)-build = /usr/bin/pakfire-build