summaryrefslogtreecommitdiff
blob: ea77d9c41c4c1a888f8e2fae09d3c4a2f77630d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Maintainer: Dominik Westner <gentoo@nikwest.de>
# $Header: /var/cvsroot/gentoo-x86/media-libs/faac/faac-26102001.ebuild,v 1.1 2002/06/18 21:24:37 rphillips 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/"
LICENSE="GPL"

DEPEND=">=media-libs/libsndfile-0.0.28
		>=sys-devel/libtool-1.3.5
        sys-devel/autoconf
        sys-devel/automake"

src_unpack() {
    unpack ${A}
    sh ${FILESDIR}/fix-linefeeds.sh $S
}

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

}