# $Id$ PNAME="libfame" PVER="0.9.1" PBUILD="r9" PCATEGORIE="media-libs" STATE="unstable" DESCRIPTION="libfame is a MPEG-1 and MPEG-4 video encoding library." HOMEPAGE="http://fame.sourceforge.net/" DEPEND=">= virtual/glibc" SRCFILE="${PNAME}-${PVER}.tar.gz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" sminclude mbuild gnuconfig mtools SRC_URI=( sourceforge://fame/${SRCFILE} mirror://${PNAME}/${SRCFILE} mirror://${PNAME}/${PNAME}-${PVER}-gcc34.patch mirror://${PNAME}/${PNAME}-${PVER}-m4-underquoted-2.patch mirror://${PNAME}/${PNAME}-${PVER}-pic.patch ) UP2DATE="updatecmd_sourceforge fame ${PNAME}" src_prepare() { munpack ${SRCFILE} || die cd ${SRCDIR} # fixes gcc34 compilation mpatch ${PNAME}-${PVER}-gcc34.patch || die # fixes m4 warnings mpatch ${PNAME}-${PVER}-m4-underquoted-2.patch || die # fixes pic issues mpatch ${PNAME}-${PVER}-pic.patch || die # support more targets gnuconfig-update || die }