# $Header: /magellan-cvs/smage/libsoundtouch/libsoundtouch-1.3.1-r5.smage2,v 1.1 2008/04/03 18:03:57 niro Exp $ PNAME="libsoundtouch" PVER="1.3.1" PBUILD="r5" PCATEGORIE="media-libs" STATE="unstable" DESCRIPTION="SoundTouch is a audio processing library for modifing audio streams." HOMEPAGE="http://www.surina.net/soundtouch/" DEPEND=">= virtual/glibc" SRCFILE="${PNAME/lib/}-${PVER}.tar.gz" SRCDIR="${BUILDDIR}/${PNAME/lib/}-${PVER}" sminclude mbuild SRC_URI=( http://www.surina.net/${PNAME/lib/}/${SRCFILE} mirror://${PNAME}/${SRCFILE} mirror://${PNAME}/${PNAME}-${PVER}-cflags.patch mirror://${PNAME}/${PNAME}-${PVER}-doc-3.patch mirror://${PNAME}/${PNAME}-${PVER}-am-fixes.patch ) src_prepare() { munpack ${SRCFILE} || die cd ${SRCDIR} # fix CFLAGS mpatch ${PNAME}-${PVER}-cflags.patch || die # fix doc dir mpatch ${PNAME}-${PVER}-doc-3.patch || die # autotools fixes mpatch ${PNAME}-${PVER}-am-fixes.patch || die autoreconf --install --force || die }