summaryrefslogtreecommitdiffstats
path: root/opencore-amr/PKGBUILD
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xssn.at>2009-08-20 00:51:51 +0200
committerFlorian Pritz <bluewind@xssn.at>2009-08-20 00:51:51 +0200
commit168118db7c4b1fd03547440cc5359a6d1a2f4fd4 (patch)
tree6f2521b0d50d70a396dc969e803d0d11f8d33eeb /opencore-amr/PKGBUILD
parent702a3d5b092feb07625958a31dc225863319a10e (diff)
downloadaur-packages-168118db7c4b1fd03547440cc5359a6d1a2f4fd4.tar.gz
aur-packages-168118db7c4b1fd03547440cc5359a6d1a2f4fd4.tar.xz
mass update
Diffstat (limited to 'opencore-amr/PKGBUILD')
-rw-r--r--opencore-amr/PKGBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/opencore-amr/PKGBUILD b/opencore-amr/PKGBUILD
new file mode 100644
index 0000000..da36ced
--- /dev/null
+++ b/opencore-amr/PKGBUILD
@@ -0,0 +1,37 @@
+# Contributor: WAntilles <wantilles@adslgr.com>
+# Many thanks to the Gentoo guys.
+
+pkgname=opencore-amr
+pkgver=0.1.1
+pkgrel=2
+pkgdesc="Open source implementation of the Adaptive Multi Rate (AMR) speech codec"
+arch=('i686' 'x86_64')
+license=('GPL')
+url="http://opencore-amr.sourceforge.net/"
+depends=('glibc')
+source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz
+ opencore-amr-0.1.1-gentoo-pic.patch
+ opencore-amr-0.1.1-arch-paths.patch)
+md5sums=('d2e18436202fc14e03e5a254f8eb1df4'
+ '8bf96678aaec5a6173185dd9608799d1'
+ 'd253da6c39b3c7455ed01afa1e1d300a')
+
+build() {
+ cd ${srcdir}/${pkgname}
+
+ #Patch for -fPIC problem (graciously taken from Gentoo's e-build)
+ patch -Np2 -i "${srcdir}/opencore-amr-0.1.1-gentoo-pic.patch" || return 1
+
+ #Patch for correct Arch paths
+ patch -Np1 -i "${srcdir}/opencore-amr-0.1.1-arch-paths.patch" || return 1
+
+ make || return 1
+ make DESTDIR=${pkgdir}/ install || return 1
+}
+
+md5sums=('dcdc1b3a7f32668b196e861b0fa0e602'
+ '8bf96678aaec5a6173185dd9608799d1'
+ 'd253da6c39b3c7455ed01afa1e1d300a')
+sha256sums=('eb17e4b99a37b66b85798551fb2036664e34f61fa06b2a9b5516d6216f5f007d'
+ '83cce71c7bac50781cca800fbd0a81f7fd1f52714b9bd7cad46b242cc79000fa'
+ '25f30aa53d3cc6a4fef2b3695c89cd399586eb5c741174bb371cb2084bfe55b5')