]> git.ipfire.org Git - ipfire-3.x.git/blob - sip/sip.nm
flex: Update to 2.6.4
[ipfire-3.x.git] / sip / sip.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = sip
7 version = %{major_ver}.%{minor_ver}.%{rev_ver}
8 release = 2
9 epoch = 1
10
11 major_ver = 4
12 minor_ver = 18
13 rev_ver = 1
14
15 groups = Development/Tools
16 url = http://www.riverbankcomputing.com/software/sip/intro
17 license = GPLv2 or GPLv3
18 summary = SIP - Python/C++ Bindings Generator.
19
20 description
21 SIP is a tool for generating bindings for C++ classes so that they can be \
22 accessed as normal Python classes. SIP takes many of its ideas from SWIG but, \
23 because it is specifically designed for C++ and Python, is able to generate \
24 tighter bindings. SIP is so called because it is a small SWIG.
25 end
26
27 source_dl = https://sourceforge.net/projects/pyqt/files/sip/sip-%{major_ver}.%{minor_ver}.%{rev_ver}/
28 sources = %{thisapp}.tar.gz
29
30
31 build
32 requires
33 gcc-c++
34 python-devel
35 end
36
37 build
38 python configure.py \
39 CFLAGS+="%{CFLAGS}" \
40 CXXFLAGS+="%{CXXFLAGS}" \
41 LFLAGS+="%{LDFLAGS}"
42
43 make %{PARALLELISMFLAGS}
44 end
45 end
46
47 packages
48 package %{name}
49
50 package %{name}-devel
51 template DEVEL
52
53 files += /usr/bin/sip
54
55 requires = sip
56 end
57
58 package %{name}-debuginfo
59 template DEBUGINFO
60 end
61 end