summaryrefslogtreecommitdiffstats
path: root/amrwb/Pkgfile
blob: 43de47ad9e107bb1ccd4b4967405c6acf3d360a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Description: Wrapper library for 3GPP Adaptive Multi-Rate Wideband 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:
# Run on:

name=amrwb
version=10.0.0.0
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.204/26204-a00.zip)

build() {
	cd $name-$version
	cp $PKGMK_SOURCE_DIR/26204-a00.zip .
#	sed -i -e 's|	$(MAKE) $(top_srcdir)/26204-700_ANSI-C_source_code.zip||' Makefile.in

	./configure --prefix=/usr \
		--mandir=/usr/share/man
	make
	make DESTDIR=$PKG install
}