#Maintainer: George Vlahavas <vlahavas~at~gmail~dot~com>

pkgname=amrnb
pkgver=7.0.0.2
pkgrel=1gv
arch=x86_64
source=(http://ftp.penguin.cz/pub/users/utx/amr/amrnb-$pkgver.tar.bz2)
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo")
url=http://www.penguin.cz/~utx/amr

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"amrnb (3GPP AMR NarrowBand Speech Codecs)"
"This is the 3GPP released AMR reference implementation. Adaptive"
"Multi-Rate Floating-point (AMR) Speech Codec 3GPP. This distribution"
"is for non-commercial purpose only. Ask http://www.3gpp.org for a"
"commercial license."
)


build() {
	cd $startdir/src/$pkgname-$pkgver
	./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --disable-static
	make || return 1
	make install DESTDIR=$startdir/pkg
}