blob: 7077296b2952fafbbcfad30e243c8bfbed07b33d (
plain)
1 # Description: Wrapper library for 3GPP Adaptive Multi-Rate Narrowband Floating-point Speech Codec.
2 # URL: http://www.penguin.cz/~utx/amr
3 # Maintainer: Danny Rawlins, crux at romster dot me
4 # Packager: Danny Rawlins, crux at romster dot me
5 # Depends on: unzip
6
7 name=amrnb
8 version=7.0.0.2
9 release=2
10 source=(http://ftp.penguin.cz/pub/users/utx/amr/$name-$version.tar.bz2
11 http://www.3gpp.org/ftp/Specs/archive/26_series/26.104/26104-700.zip)
12
13 build() {
14 cd $name-$version
15 cp $SRC/26104-700_ANSI_C_source_code.zip .
16 sed -i -e 's| $(MAKE) $(top_srcdir)/26104-700_ANSI_C_source_code.zip||' Makefile.in
17
18 ./configure --prefix=/usr
19
20 make
21 make DESTDIR=$PKG install
22 }
|