# $Header: /magellan-cvs/smage/audiofile/audiofile-0.2.6-r9.smage2,v 1.1 2008/02/12 08:00:04 niro Exp $ PNAME="audiofile" PVER="0.2.6" PBUILD="r10" PCATEGORIE="media-libs" STATE="unstable" DESCRIPTION="The Audio File Library provides a uniform API for accessing a variety of audio file formats." HOMEPAGE="http://www.68k.org/~michael/audiofile/" DEPEND=">= virtual/glibc" SRCFILE="${PNAME}-${PVER}.tar.gz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" sminclude multilib SRC_URI=( mirror://${PNAME}/${SRCFILE} mirror://${PNAME}/${PNAME}-${PVER}-sfconvert-eradicator-2.patch mirror://${PNAME}/${PNAME}-${PVER}-m4-underquoted.patch ) UP2DATE="updatecmd ${HOMEPAGE} | grep Download | sed 's/.*version\ \(.*\)\ o.*/\1/'" src_prepare() { munpack ${SRCFILE} || die # fixes m4 warnings mpatch ${PNAME}-${PVER}-m4-underquoted.patch || die mpatch ${PNAME}-${PVER}-sfconvert-eradicator-2.patch || die } src_compile() { mconfigure --enable-largefile || die mmake || die } src_install() { mmake DESTDIR=${BINDIR} install || die minstalldocs ACKNOWLEDGEMENTS AUTHORS ChangeLog \ COPYING* NEWS NOTES README TODO || die }