# $Id$ PNAME="pycairo" PVER="1.8.6" PBUILD="r1" PCATEGORIE="dev-python" STATE="unstable" DESCRIPTION="Python cairo bindings." HOMEPAGE="http://cairographics.org/pycairo/" DEPEND=">= dev-lang/python-2.6 == x11-libs/cairo-1.8" SDEPEND=">= dev-util/pkgconfig-0.23" SRCFILE="${PNAME}-${PVER}.tar.gz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" sminclude mbuild SRC_URI=( http://cairographics.org/releases/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) # check stable version UP2TAG=releases # check dev version #UP2TAG=snapshots UP2DATE="updatecmd http://cairographics.org/${UP2TAG}/ | grep ]LA.*-${PNAME}- | sed 's/.*ST-${PNAME}-\([0-9\.]*\).*/\1/'" src_install() { cd ${SRCDIR} minstall || die minstalldocs AUTHORS ChangeLog COPYING NEWS README || die }