]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - pkgs/sip/sip.nm
PKG_GROUP -> PKG_GROUPS on all packages.
[people/ms/ipfire-3.x.git] / pkgs / sip / sip.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 = sip
28 PKG_VER = 4.12-snapshot-12acbffd0085
29 PKG_REL = 0
30 PKG_EPOCH = 1
31
32 PKG_MAINTAINER =
33 PKG_GROUPS = Development/Tools
34 PKG_URL = http://www.riverbankcomputing.com/software/sip/intro
35 PKG_LICENSE = GPLv2 or GPLv3
36 PKG_SUMMARY = SIP - Python/C++ Bindings Generator.
37
38 PKG_BUILD_DEPS+= gcc-c++ python-devel
39
40 define PKG_DESCRIPTION
41 SIP is a tool for generating bindings for C++ classes so that they can be \
42 accessed as normal Python classes. SIP takes many of its ideas from SWIG but, \
43 because it is specifically designed for C++ and Python, is able to generate \
44 tighter bindings. SIP is so called because it is a small SWIG.
45 endef
46
47 PKG_TARBALL = $(THISAPP).tar.gz
48
49 PKG_PACKAGES += $(PKG_NAME)-devel
50
51 PKG_DEPS-$(PKG_NAME_REAL)-devel = sip
52
53 define STAGE_BUILD
54 cd $(DIR_APP) && python configure.py \
55 CFLAGS+="$(CFLAGS)" CXXFLAGS+="$(CXXFLAGS)"
56
57 cd $(DIR_APP) && make $(PARALLELISMFLAGS)
58 endef
59
60 PKG_FILES-$(PKG_NAME)-devel += /usr/bin/sip