# $Id$ PNAME="sip" PVER="4.16.5" PBUILD="r1" PCAT="dev-python" DESCRIPTION="SIP is a tool that makes it very easy to create Python bindings for C and C++ libraries." HOMEPAGE="http://www.riverbankcomputing.com/software/sip/" DEPEND=">= dev-lang/python-2.7" SRCFILE="${PNAME}-${PVER}.tar.gz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" # pull in mbuild to have a normal src_install() sminclude python mbuild msetfeature "!check" SRC_URI=( sourceforge://pyqt/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) UP2DATE="updatecmd ${HOMEPAGE}/download | firsttarball gz" src_compile() { cd ${SRCDIR} python configure.py \ -d $(mget-python-libdir) \ -e $(mget-python-includedir) \ -b /usr/bin \ -v /usr/share/sip \ "CFLAGS+=${CFLAGS}" \ "CXXFLAGS+=${CXXFLAGS}" \ || die mmake || die }