# $Header: /magellan-cvs/smage/libfame/libfame-0.9.1-r7.smage2,v 1.1 2008/02/14 21:29:20 niro Exp $ PNAME="libfame" PVER="0.9.1" PBUILD="r7" 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 ) 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 }