Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (show annotations) (download)
Fri Oct 10 13:29:42 2008 UTC (15 years, 7 months ago) by niro
File size: 922 byte(s)
import repo
1 # $Header: /magellan-cvs/smage/sip/sip-4.7.4-r1.smage2,v 1.2 2008/04/20 22:49:25 niro Exp $
2
3 PNAME="sip"
4 PVER="4.7.4"
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.co.uk/sip/"
12
13 DEPEND=">= dev-lang/python-2.5
14 >= x11-libs/qt-3.3"
15
16 SRCFILE="${PNAME}-${PVER}.tar.gz"
17 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
18
19 # pull in mbuild to have a normal src_install()
20 sminclude python mbuild
21
22 SRC_URI=(
23 http://www.riverbankcomputing.com/static/Downloads/sip4/${SRCFILE}
24 mirror://${PNAME}/${SRCFILE}
25 )
26
27 src_compile()
28 {
29 cd ${SRCDIR}
30
31 python configure.py \
32 -d /usr/$(mlibdir)/python$(get_python_version)/site-packages \
33 -e /usr/include/python$(get_python_version) \
34 -b /usr/bin \
35 -v /usr/share/sip \
36 "CFLAGS+=${CFLAGS}" \
37 "CXXFLAGS+=${CXXFLAGS}" \
38 || die
39
40 mmake || die
41 }

Properties

Name Value
svn:keywords Id