# Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-libs/faac/faac-26102001-r1.ebuild,v 1.2 2002/12/09 04:26:10 manson Exp $ S=${WORKDIR}/faac DESCRIPTION="Free MPEG-4 audio codecs by AudioCoding.com" SRC_URI="http://faac.sourceforge.net/files/faac_src_26102001.zip" HOMEPAGE="http://faac.sourceforge.net/" SLOT="0" LICENSE="LGPL-2" KEYWORDS="x86 sparc " DEPEND=">=media-libs/libsndfile-1.0.0 >=sys-devel/libtool-1.3.5 sys-devel/autoconf sys-devel/automake" src_unpack() { unpack ${A} sh ${FILESDIR}/fix-linefeeds.sh $S cd ${S} patch -p1 < ${FILESDIR}/libsndfile-1.0.diff || die "patch failed" } src_compile() { aclocal -I . autoheader libtoolize --automake automake --add-missing autoconf econf || die emake || die } src_install() { make DESTDIR=${D} install || die dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README TODO docs/libfaac.pdf }