# $Header: /magellan-cvs/smage/pyvorbis/pyvorbis-1.4-r2.smage2,v 1.1 2008/02/12 10:45:52 niro Exp $ PNAME="pyvorbis" PVER="1.4" PBUILD="r2" PCATEGORIE="dev-python" STATE="unstable" DESCRIPTION="Python bindings for the vorbis library." HOMEPAGE="http://ekyo.nerim.net/software/pyogg/" DEPEND=">= dev-lang/python-2.5 >= media-libs/libogg-1.1 >= media-libs/libvorbis-1.2 >= dev-python/pyogg-1.3" SRCFILE="${PNAME}-${PVER}.tar.gz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" sminclude python SRC_URI=( http://ekyo.nerim.net/software/pyogg/${SRCFILE} mirror://${PNAME}/${SRCFILE} mirror://${PNAME}/${PNAME}-${PVER}-python25.patch mirror://${PNAME}/${PNAME}-${PVER}-file-descriptor.patch ) src_prepare() { munpack ${SRCFILE} || die cd ${SRCDIR} # python-2.5 fixes mpatch ${PNAME}-${PVER}-python25.patch || die # do not close a previously closed file descriptor mpatch ${PNAME}-${PVER}-file-descriptor.patch || die } src_compile() { cd ${SRCDIR} python config_unix.py || die python_src_compile }