Contents of /branches/magellan-next/extras/sip/sip-4.12.3-r2.smage2
Parent Directory | Revision Log
Revision 8685 -
(show annotations)
(download)
Wed Jul 27 19:06:41 2011 UTC (13 years, 2 months ago) by niro
File size: 816 byte(s)
Wed Jul 27 19:06:41 2011 UTC (13 years, 2 months ago) by niro
File size: 816 byte(s)
-rebuild against fixed python
1 | # $Id$ |
2 | |
3 | PNAME="sip" |
4 | PVER="4.12.3" |
5 | PBUILD="r2" |
6 | |
7 | PCATEGORIE="dev-python" |
8 | |
9 | DESCRIPTION="SIP is a tool that makes it very easy to create Python bindings for C and C++ libraries." |
10 | HOMEPAGE="http://www.riverbankcomputing.com/software/sip/" |
11 | |
12 | DEPEND=">= dev-lang/python-2.7" |
13 | |
14 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
15 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
16 | |
17 | # pull in mbuild to have a normal src_install() |
18 | sminclude python mbuild |
19 | |
20 | SRC_URI=( |
21 | http://www.riverbankcomputing.com/static/Downloads/sip4/${SRCFILE} |
22 | mirror://${PNAME}/${SRCFILE} |
23 | ) |
24 | |
25 | UP2DATE="updatecmd ${HOMEPAGE}/download | firsttarball gz" |
26 | |
27 | src_compile() |
28 | { |
29 | cd ${SRCDIR} |
30 | |
31 | python configure.py \ |
32 | -d $(get_python_libdir) \ |
33 | -e $(get_python_includedir) \ |
34 | -b /usr/bin \ |
35 | -v /usr/share/sip \ |
36 | "CFLAGS+=${CFLAGS}" \ |
37 | "CXXFLAGS+=${CXXFLAGS}" \ |
38 | || die |
39 | |
40 | mmake || die |
41 | } |