# $Header: /magellan-cvs/smage/kdebindings/kdebindings-3.5.9-r1.smage2,v 1.2 2008/04/22 20:40:00 niro Exp $ PNAME="kdebindings" PVER="3.5.9" PBUILD="r1" PCATEGORIE="kde-base" STATE="unstable" DESCRIPTION="KDE bindings for various programming languages." HOMEPAGE="http://www.kde.org/" DEPEND=">= kde-base/kdebase-${PVER} >= x11-libs/gtk1+-1.2.10 >= dev-lang/python-2.5 >= dev-lang/perl-5.10 >= virtual/java-jdk" SRCFILE="${PNAME}-${PVER}.tar.bz2" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" # pull in perl as last to get perl's {pre,post}install {pre,post}remove sminclude kde3 python perl SRC_URI=( kde://${PVER}/src/${SRCFILE} mirror://${PNAME}/${SRCFILE} mirror://${PNAME}/${PNAME}-3.5.6-installdirs-vendor.patch ) src_prepare() { munpack ${SRCFILE} || die cd ${SRCDIR} # install perl modules into vendor dir mpatch ${PNAME}-3.5.6-installdirs-vendor.patch || die } src_compile() { cd ${SRCDIR} # sip/pyqt/pykde built separately, not here export DO_NOT_COMPILE="${DO_NOT_COMPILE} python" # requires somewhat unbelievable amounts of memory (1.5GB and more) # and is not parallel safe too kde3_configure --disable-final || die mmake -j1 || die } src_install() { kde3_src_install # move pods to /usr/share fixlocalpod || die }