Annotation of /branches/magellan-next/extras/sip/sip-4.11.2_pre_c93f5da3d4e4-r1.smage2
Parent Directory | Revision Log
Revision 7194 -
(hide annotations)
(download)
Thu Sep 30 17:58:53 2010 UTC (13 years, 7 months ago) by niro
File size: 988 byte(s)
Thu Sep 30 17:58:53 2010 UTC (13 years, 7 months ago) by niro
File size: 988 byte(s)
auto added: ver bump to 4.11.2_pre_c93f5da3d4e4-r1
1 | niro | 7193 | # $Id: sip-4.10-r1.smage2 4830 2010-02-11 22:21:17Z niro $ |
2 | |||
3 | PNAME="sip" | ||
4 | PVER="4.11.2_pre_c93f5da3d4e4" | ||
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 | niro | 7194 | SRCFILE="${PNAME}-${PVER/_pre_/-snapshot-}.tar.gz" |
16 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER/_pre_/-snapshot-}" | ||
17 | niro | 7193 | |
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 | } |