summaryrefslogtreecommitdiffstats
path: root/abs/extra/opencore-amr/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/opencore-amr/PKGBUILD')
-rw-r--r--abs/extra/opencore-amr/PKGBUILD21
1 files changed, 12 insertions, 9 deletions
diff --git a/abs/extra/opencore-amr/PKGBUILD b/abs/extra/opencore-amr/PKGBUILD
index 2c569d8..71d8eb5 100644
--- a/abs/extra/opencore-amr/PKGBUILD
+++ b/abs/extra/opencore-amr/PKGBUILD
@@ -1,24 +1,27 @@
-# $Id: PKGBUILD 62600 2010-01-10 14:06:30Z ibiru $
+# $Id: PKGBUILD 151248 2012-02-25 09:58:05Z ibiru $
# Maintainer: Ionut Biru <ionut@archlinux.ro>
# Contributor: WAntilles <wantilles@adslgr.com>
pkgname=opencore-amr
-pkgver=0.1.2
+pkgver=0.1.3
pkgrel=1
pkgdesc="Open source implementation of the Adaptive Multi Rate (AMR) speech codec"
arch=('i686' 'x86_64')
license=('APACHE')
url="http://opencore-amr.sourceforge.net/"
-depends=('gcc-libs')
-source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz)
+source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
+depends=(glibc)
options=('!libtool')
-md5sums=('8e8b8b253eb046340ff7b6bf7a6ccd3e')
+md5sums=('09d2c5dfb43a9f6e9fec8b1ae678e725')
build() {
- cd ${srcdir}/${pkgname}-${pkgver}
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr --disable-static
+ make
+}
- ./configure --prefix=/usr || return 1
- make || return 1
- make DESTDIR=${pkgdir}/ install || return 1
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
}