/[gentoo-x86]/media-libs/libaacplus/libaacplus-2.0.2.ebuild
Gentoo

Contents of /media-libs/libaacplus/libaacplus-2.0.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.12 - (show annotations) (download)
Tue May 15 13:05:56 2012 UTC (2 years, 2 months ago) by aballier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.11: +2 -2 lines
keyword ~amd64-fbsd

(Portage version: 2.2.0_alpha105/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-libs/libaacplus/libaacplus-2.0.2.ebuild,v 1.11 2012/05/13 19:21:01 halcy0n Exp $
4
5 EAPI=4
6 inherit autotools
7
8 # This file cannot be mirrored.
9 # See the notes at http://tipok.org.ua/node/17
10 # The .tar.gz, ie the wrapper library, is lgpl though.
11 TGPPDIST=26410-800.zip
12
13 DESCRIPTION="HE-AAC+ v2 library, based on the reference implementation"
14 HOMEPAGE="http://tipok.org.ua/node/17"
15 SRC_URI="http://dev.gentoo.org/~aballier/${P}.tar.gz
16 http://tipok.ath.cx/downloads/media/aac+/libaacplus/${P}.tar.gz
17 http://217.20.164.161/~tipok/aacplus/${P}.tar.gz
18 http://www.3gpp.org/ftp/Specs/archive/26_series/26.410/${TGPPDIST}"
19
20 LICENSE="LGPL-2.1"
21 SLOT="0"
22 KEYWORDS="amd64 hppa ppc ppc64 x86 ~amd64-fbsd ~x86-fbsd"
23 IUSE="bindist fftw static-libs"
24
25 RESTRICT="mirror"
26 REQUIRED_USE="!bindist"
27
28 RDEPEND="!media-sound/aacplusenc
29 fftw? ( sci-libs/fftw:3.0 )"
30 DEPEND="${RDEPEND}
31 app-arch/unzip
32 virtual/pkgconfig"
33
34 src_unpack() {
35 unpack ${P}.tar.gz
36 }
37
38 src_prepare() {
39 eautoreconf
40 cp "${DISTDIR}/${TGPPDIST}" src/ || die
41 }
42
43 src_configure() {
44 econf \
45 $(use_with fftw fftw3) \
46 $(use_enable static-libs static)
47 }
48
49 src_compile() {
50 emake -j1
51 }
52
53 src_install() {
54 default
55 find "${D}" -name '*.la' -exec rm -f {} +
56 }

  ViewVC Help
Powered by ViewVC 1.1.20