]>
Commit | Line | Data |
---|---|---|
13924a8c | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
13924a8c MT |
4 | ############################################################################### |
5 | ||
802ea3af | 6 | name = sip |
96f99b9e | 7 | version = %{major_ver}.13 |
802ea3af MT |
8 | major_ver = 4 |
9 | release = 1 | |
10 | epoch = 1 | |
13924a8c | 11 | |
802ea3af MT |
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. | |
13924a8c | 16 | |
802ea3af | 17 | description |
13924a8c MT |
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. | |
802ea3af MT |
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 | end |