blob: dbba703b8a7d45e2e97fca0a57efa6f72f7d483a (
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
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/amrnb/amrnb-6.1.0.3.ebuild,v 1.7 2007/06/23 17:32:43 jer Exp $
WANT_AUTOCONF="latest"
WANT_AUTOMAKE="latest"
inherit eutils autotools
SPEC_VER="26104-610"
DESCRIPTION="Wrapper library for 3GPP Adaptive Multi-Rate Floating-point Speech Codec"
HOMEPAGE="http://www.penguin.cz/~utx/amr"
SRC_URI="http://ftp.penguin.cz/pub/users/utx/amr/${P}.tar.bz2
http://www.3gpp.org/ftp/Specs/archive/26_series/26.104/${SPEC_VER}.zip"
RESTRICT="mirror"
LICENSE="LGPL-2 as-is"
SLOT="0"
KEYWORDS="~amd64 hppa ~ppc ppc64 ~sparc ~x86"
IUSE=""
DEPEND="app-arch/unzip"
src_unpack() {
unpack ${P}.tar.bz2
cd ${S}
cp "${DISTDIR}/${SPEC_VER}.zip" .
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc AUTHORS ChangeLog NEWS README TODO
}
|