1 # Maintainer: Marco Maso <demind@gmail.com>
2 # Contributor: Marco Maso <demind@gmail.com>
4 pkgname=opencore-amr-git
7 pkgdesc="Implementation of Adaptive Multi Rate Narrowband and Wideband speech codec"
9 url="http://opencore-amr.sourceforge.net/"
12 provides=('amrwb' 'amrnb' 'opencore-amr')
13 conflicts=('opencore-amr')
16 _gitroot="git://opencore-amr.git.sourceforge.net/gitroot/opencore-amr/"
17 _gitname="opencore-amr"
21 if [ -d $_gitname ]; then
22 msg "Updating from git ..."
26 msg "Cloning git Tree ..."
27 git clone $_gitroot$_gitname
30 cd "$srcdir/$_gitname"
32 msg "Starting build ..."
35 libtoolize --automake --copy --force && \
36 automake --add-missing --copy && \
38 ./configure --prefix=/usr
42 make DESTDIR=$pkgdir install