]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - pkgs/pakfire/pakfire.nm
avahi: Update to 0.6.30.
[people/ms/ipfire-3.x.git] / pkgs / pakfire / pakfire.nm
CommitLineData
e5192f6a
MT
1###############################################################################
2# #
3# IPFire.org - A linux based firewall #
f5b41606 4# Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt #
e5192f6a
MT
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
f5b41606
MT
21###############################################################################
22# Definitions
23###############################################################################
24
25include $(PKGROOT)/Include
26
27PKG_NAME = pakfire
fd79f072
MT
28PKG_VER = 0.9.6
29PKG_REL = 1
e5192f6a 30
f5b41606 31PKG_MAINTAINER = Michael Tremer <michael.tremer@ipfire.org>
b42a752b 32PKG_GROUPS = Base System/Packaging
f5b41606
MT
33PKG_URL = http://www.ipfire.org/
34PKG_LICENSE = GPLv3+
35PKG_SUMMARY = Package installer/updater.
e5192f6a 36
706e01d9
MT
37PKG_BUILD_DEPS+= \
38 intltool \
fd79f072 39 libsolv-devel \
706e01d9
MT
40 python-devel \
41 python-distutils-extra
42
43PKG_DEPS += \
44 pyliblzma \
45 python-progressbar \
46 python-urlgrabber \
47 pyxattr \
7afde232 48 system-release
e5192f6a 49
f5b41606
MT
50define PKG_DESCRIPTION
51 Pakfire optains package lists from the mirrors and can install and update \
52 packages.
53endef
e5192f6a 54
7afde232 55PKG_TARBALL = $(THISAPP).tar.gz
e5192f6a 56
706e01d9
MT
57export CFLAGS += -fno-strict-aliasing
58
fd79f072
MT
59define STAGE_TEST
60 # Check, if the binary module is loadable.
61 cd $(DIR_APP)/build/lib*/pakfire/ && python -c "import _pakfire"
62endef
63
7afde232
MT
64# Build package
65
66PKG_PACKAGES += $(PKG_NAME)-build
67
68PKG_SUMMARY-$(PKG_NAME)-build = The pakfire builder.
69PKG_DESCRIPTION-$(PKG_NAME)-build = The tools that are needed to build new \
70 pakfire packages.
71PKG_DEPS-$(PKG_NAME)-build += pakfire=$(THISVER)
72PKG_FILES-$(PKG_NAME)-build = /usr/bin/pakfire-build