summaryrefslogtreecommitdiff
path: root/multilib/lib32-speex
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /multilib/lib32-speex
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'multilib/lib32-speex')
-rw-r--r--multilib/lib32-speex/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/multilib/lib32-speex/PKGBUILD b/multilib/lib32-speex/PKGBUILD
new file mode 100644
index 000000000..d6f1ea20d
--- /dev/null
+++ b/multilib/lib32-speex/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 26746 2010-09-15 23:03:23Z bluewind $
+# Maintainer: Jan "heftig" Steffens <jan.steffens@gmail.com>
+
+_pkgbasename=speex
+pkgname=lib32-$_pkgbasename
+pkgver=1.2rc1
+pkgrel=3
+pkgdesc="A free codec for free speech (32-bit)"
+arch=(x86_64)
+license=('BSD')
+depends=('lib32-libogg' $_pkgbasename)
+makedepends=(gcc-multilib)
+options=('!libtool')
+source=(http://downloads.us.xiph.org/releases/$_pkgbasename/$_pkgbasename-$pkgver.tar.gz)
+md5sums=('c4438b22c08e5811ff10e2b06ee9b9ae')
+url="http://www.speex.org/"
+
+build() {
+ cd $srcdir/speex-$pkgver
+
+ export CC="gcc -m32"
+ export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ --libdir=/usr/lib32
+ make
+}
+
+package() {
+ cd $srcdir/speex-$pkgver
+ make DESTDIR=$pkgdir install
+ rm -rf "${pkgdir}"/usr/{include,share,bin}
+}