]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blob - sip/sip.nm
Merge remote-tracking branch 'stevee/unicode-ucd'
[people/amarx/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}.13
8 major_ver = 4
9 release = 1
10 epoch = 1
11
12 groups = Development/Tools
13 url = http://www.riverbankcomputing.com/software/sip/intro
14 license = GPLv2 or GPLv3
15 summary = SIP - Python/C++ Bindings Generator.
16
17 description
18 SIP is a tool for generating bindings for C++ classes so that they can be \
19 accessed as normal Python classes. SIP takes many of its ideas from SWIG but, \
20 because it is specifically designed for C++ and Python, is able to generate \
21 tighter bindings. SIP is so called because it is a small SWIG.
22 end
23
24 source_dl = http://www.riverbankcomputing.com/static/Downloads/sip%{major_ver}/
25
26 build
27 requires
28 gcc-c++
29 python-devel
30 end
31
32 build
33 python configure.py \
34 CFLAGS+="%{CFLAGS}" \
35 CXXFLAGS+="%{CXXFLAGS}"
36
37 make %{PARALLELISMFLAGS}
38 end
39 end
40
41 packages
42 package %{name}
43 end
44
45 package %{name}-devel
46 template DEVEL
47
48 files += /usr/bin/sip
49
50 requires = sip
51 end
52
53 package %{name}-debuginfo
54 template DEBUGINFO
55 end
56 end