summaryrefslogtreecommitdiff
path: root/multilib/lib32-alsa-lib/PKGBUILD
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-alsa-lib/PKGBUILD
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'multilib/lib32-alsa-lib/PKGBUILD')
-rw-r--r--multilib/lib32-alsa-lib/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/multilib/lib32-alsa-lib/PKGBUILD b/multilib/lib32-alsa-lib/PKGBUILD
new file mode 100644
index 000000000..8dff0f1d3
--- /dev/null
+++ b/multilib/lib32-alsa-lib/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 40235 2011-02-22 08:22:12Z heftig $
+# Maintainer: Jan "heftig" Steffens <jan.steffens@gmail.com>
+
+_pkgbasename=alsa-lib
+pkgname=lib32-${_pkgbasename}
+pkgver=1.0.24.1
+pkgrel=1
+pkgdesc="An alternative implementation of Linux sound support (32 bit)"
+arch=('x86_64')
+url="http://www.alsa-project.org"
+depends=('lib32-glibc' $_pkgbasename)
+makedepends=('gcc-multilib')
+license=('GPL')
+options=(!libtool)
+source=(ftp://ftp.alsa-project.org/pub/lib/${_pkgbasename}-$pkgver.tar.bz2)
+
+build() {
+ cd $srcdir/${_pkgbasename}-$pkgver
+ export CC='gcc -m32'
+ export PKG_CONFIG_PATH=/usr/lib32/pkgconfig
+ ./configure --prefix=/usr --libdir=/usr/lib32 --disable-python
+ make
+}
+
+package() {
+ cd $srcdir/${_pkgbasename}-$pkgver
+ make DESTDIR=$pkgdir install
+
+ # Clean up lib32 package
+ rm -rf "${pkgdir}"/usr/{bin,include,share}
+}
+md5sums=('7cc05f25e1d5b65da8fb3fdcd540f226')