Magellan Linux

Annotation of /branches/R11-stable/extras/sip/sip-4.16.5-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 24423 - (hide annotations) (download)
Fri Feb 20 10:22:28 2015 UTC (9 years, 2 months ago) by niro
File size: 796 byte(s)
-release branches/R11-stable
1 niro 23696 # $Id$
2    
3     PNAME="sip"
4     PVER="4.16.5"
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 $(mget-python-libdir) \
34     -e $(mget-python-includedir) \
35     -b /usr/bin \
36     -v /usr/share/sip \
37     "CFLAGS+=${CFLAGS}" \
38     "CXXFLAGS+=${CXXFLAGS}" \
39     || die
40    
41     mmake || die
42     }