From 3f7fa8577232250fa57eb87c13872b41e808f34a Mon Sep 17 00:00:00 2001 From: tnut Date: Sat, 12 May 2012 13:08:13 +0200 Subject: amrnb, ajout --- amrnb/Pkgfile | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 amrnb/Pkgfile (limited to 'amrnb/Pkgfile') diff --git a/amrnb/Pkgfile b/amrnb/Pkgfile new file mode 100644 index 000000000..ff104ea73 --- /dev/null +++ b/amrnb/Pkgfile @@ -0,0 +1,26 @@ +# Description: Wrapper library for 3GPP Adaptive Multi-Rate Narrowband Floating-point Speech Codec. +# URL: http://www.penguin.cz/~utx/amr +# Maintainer: Danny Rawlins, monster dot romster at gmail dot com +# Packager: Danny Rawlins, monster dot romster at gmail dot com + +name=amrnb +version=7.0.0.2 +release=1 +source=(http://ftp.penguin.cz/pub/users/utx/amr/$name-$version.tar.bz2 + http://www.3gpp.org/ftp/Specs/archive/26_series/26.104/26104-700.zip) + +build() { + cd $name-$version + cp $SRC/26104-700_ANSI_C_source_code.zip . + sed -i -e 's| $(MAKE) $(top_srcdir)/26104-700_ANSI_C_source_code.zip||' Makefile.in + + ./configure \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --disable-static + + make + make DESTDIR=$PKG install +} + + -- cgit v1.2.3-70-g09d2