Contents of /branches/R11-stable/extras/sip/sip-4.14.2-r1.smage2
Parent Directory | Revision Log
Revision 15369 -
(show annotations)
(download)
Wed Jan 2 11:35:56 2013 UTC (11 years, 8 months ago) by niro
File size: 794 byte(s)
Wed Jan 2 11:35:56 2013 UTC (11 years, 8 months ago) by niro
File size: 794 byte(s)
-release branches/R11-stable
1 | # $Id$ |
2 | |
3 | PNAME="sip" |
4 | PVER="4.14.2" |
5 | PBUILD="r1" |
6 | |
7 | PCAT="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 | msetfeature "!check" |
20 | |
21 | SRC_URI=( |
22 | sourceforge://pyqt/${SRCFILE} |
23 | mirror://${PNAME}/${SRCFILE} |
24 | ) |
25 | |
26 | UP2DATE="updatecmd ${HOMEPAGE}/download | firsttarball gz" |
27 | |
28 | src_compile() |
29 | { |
30 | cd ${SRCDIR} |
31 | |
32 | python configure.py \ |
33 | -d $(get_python_libdir) \ |
34 | -e $(get_python_includedir) \ |
35 | -b /usr/bin \ |
36 | -v /usr/share/sip \ |
37 | "CFLAGS+=${CFLAGS}" \ |
38 | "CXXFLAGS+=${CXXFLAGS}" \ |
39 | || die |
40 | |
41 | mmake || die |
42 | } |