1 ###############################################################################
3 # IPFire.org - A linux based firewall #
4 # Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt #
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. #
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. #
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/>. #
19 ###############################################################################
21 ###############################################################################
23 ###############################################################################
25 include $(PKGROOT)/Include
28 PKG_VER = 4.12-snapshot-12acbffd0085
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.
38 PKG_BUILD_DEPS+= gcc-c++ python-devel
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.
47 PKG_TARBALL = $(THISAPP).tar.gz
49 PKG_PACKAGES += $(PKG_NAME)-devel
51 PKG_DEPS-$(PKG_NAME_REAL)-devel = sip
54 cd $(DIR_APP) && python configure.py \
55 CFLAGS+="$(CFLAGS)" CXXFLAGS+="$(CXXFLAGS)"
57 cd $(DIR_APP) && make $(PARALLELISMFLAGS)
60 PKG_FILES-$(PKG_NAME)-devel += /usr/bin/sip