summaryrefslogtreecommitdiffstats
path: root/extra/amrnb/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-21 21:55:18 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-21 21:55:18 +0200
commitbb70b8bf2acd249a32417d438dde3643fdfce3f6 (patch)
tree8b703b453e461e931484745918ee0b394977e798 /extra/amrnb/Pkgfile
parent43dbb81fcdd8629b10e33d8229b644acc447ac25 (diff)
downloadnutyx-pakxe-bb70b8bf2acd249a32417d438dde3643fdfce3f6.tar.gz
nutyx-pakxe-bb70b8bf2acd249a32417d438dde3643fdfce3f6.tar.bz2
nutyx-pakxe-bb70b8bf2acd249a32417d438dde3643fdfce3f6.tar.xz
nutyx-pakxe-bb70b8bf2acd249a32417d438dde3643fdfce3f6.zip
Ajout de amrnb#7.0.0.2-1
Diffstat (limited to 'extra/amrnb/Pkgfile')
-rw-r--r--extra/amrnb/Pkgfile26
1 files changed, 26 insertions, 0 deletions
diff --git a/extra/amrnb/Pkgfile b/extra/amrnb/Pkgfile
new file mode 100644
index 000000000..94d68e7b6
--- /dev/null
+++ b/extra/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
+# Depends on:
+
+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
+}
+