Magellan Linux

Annotation of /branches/R11-unstable/extras/sip/sip-4.16.9-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 26901 - (hide annotations) (download)
Wed Aug 12 07:57:04 2015 UTC (8 years, 9 months ago) by niro
Original Path: trunk/extras/sip/sip-4.16.9-r1.smage2
File size: 796 byte(s)
auto added: ver bump to 4.16.9-r1
1 niro 26901 # $Id$
2    
3     PNAME="sip"
4     PVER="4.16.9"
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     }