# $Id$ PNAME="installer-cairomm" PVER="1.8.0" PBUILD="r2" PCATEGORIE="app-mage" STATE="unstable" DESCRIPTION="Internal cairomm library for the installer. Not intended for main use." HOMEPAGE="http://cairographics.org/cairomm/" DEPEND=">= app-mage/installer-cairo-1.8" SRCFILE="cairomm-${PVER}.tar.gz" SRCDIR="${BUILDDIR}/cairomm-${PVER}" sminclude mbuild cleanutils SRC_URI=( http://cairographics.org/releases/${SRCFILE} mirror://cairomm/${SRCFILE} ) # check stable version UP2TAG=releases # check dev version #UP2TAG=snapshots UP2DATE="updatecmd http://cairographics.org/${UP2TAG}/ | grep ]LA.*-${PNAME/installer-/}- | sed 's/.*ST-${PNAME/installer-/}-\([0-9\.]*\).*/\1/'" src_compile() { cd ${SRCDIR} ./configure --prefix=/usr/installer || die mmake || die } src_install() { cd ${SRCDIR} mmake DESTDIR=${BINDIR} install || die # cleanup zapmost ${BINDIR} usr/installer/lib || die #rm -rf ${BINDIR}/usr/installer/lib/pkgconfig || die }