Contents of /branches/magellan-next/extras/sip/sip-4.11.1-r1.smage2
Parent Directory | Revision Log
Revision 7190 -
(show annotations)
(download)
Thu Sep 30 15:39:20 2010 UTC (13 years, 11 months ago) by niro
File size: 937 byte(s)
Thu Sep 30 15:39:20 2010 UTC (13 years, 11 months ago) by niro
File size: 937 byte(s)
auto added: ver bump to 4.11.1-r1
1 | # $Id: sip-4.10-r1.smage2 4830 2010-02-11 22:21:17Z niro $ |
2 | |
3 | PNAME="sip" |
4 | PVER="4.11.1" |
5 | PBUILD="r1" |
6 | |
7 | PCATEGORIE="dev-python" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="SIP is a tool that makes it very easy to create Python bindings for C and C++ libraries." |
11 | HOMEPAGE="http://www.riverbankcomputing.com/software/sip/" |
12 | |
13 | DEPEND=">= dev-lang/python-2.7" |
14 | |
15 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
16 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
17 | |
18 | # pull in mbuild to have a normal src_install() |
19 | sminclude python mbuild |
20 | |
21 | SRC_URI=( |
22 | http://www.riverbankcomputing.com/static/Downloads/sip4/${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 /usr/$(mlibdir)/python$(get_python_version)/site-packages \ |
34 | -e /usr/include/python$(get_python_version) \ |
35 | -b /usr/bin \ |
36 | -v /usr/share/sip \ |
37 | "CFLAGS+=${CFLAGS}" \ |
38 | "CXXFLAGS+=${CXXFLAGS}" \ |
39 | || die |
40 | |
41 | mmake || die |
42 | } |