Magellan Linux

Contents of /trunk/extras/sip/sip-4.8.1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2956 - (show annotations) (download)
Thu Jul 16 09:15:33 2009 UTC (14 years, 9 months ago) by niro
File size: 883 byte(s)
auto added: ver bump to 4.8.1-r1
1 # $Id$
2
3 PNAME="sip"
4 PVER="4.8.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.6"
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 | lasttarball 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 }

Properties

Name Value
svn:keywords Id