# $Header: /magellan-cvs/smage/speex/speex-1.1.12-r4.smage2,v 1.1 2008/08/10 10:09:03 niro Exp $ PNAME="speex" PVER="1.1.12" PBUILD="r4" PCATEGORIE="media-libs" STATE="unstable" DESCRIPTION="Speex is an Open Source/Free Software patent-free audio compression format designed for speech." HOMEPAGE="http://www.speex.org/" DEPEND=">= virtual/glibc >= media-libs/libogg-1.1.2" SRCFILE="${PNAME}-${PVER}.tar.gz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" sminclude mbuild multilib SRC_URI=( http://downloads.xiph.org/releases/${PNAME}/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) src_prepare() { munpack ${SRCFILE} || die # fix parallel make issues all-abis "sed -i 's:\$(top_builddir)/libspeex/libspeex.la:libspeex.la:' libspeex/Makefile.am" || die all-abis autoreconf || die } src_install() { mmake DESTDIR=${BINDIR} install || die # fix wrong doc location rm -rf ${BINDIR}/usr/share/doc/* || die minstalldocs AUTHORS COPYING ChangeLog NEWS README TODO doc/manual.pdf || die }