summaryrefslogtreecommitdiff
path: root/multilib/lib32-alsa-oss
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-oss
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'multilib/lib32-alsa-oss')
-rw-r--r--multilib/lib32-alsa-oss/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/multilib/lib32-alsa-oss/PKGBUILD b/multilib/lib32-alsa-oss/PKGBUILD
new file mode 100644
index 000000000..bf8874c8e
--- /dev/null
+++ b/multilib/lib32-alsa-oss/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 26502 2010-09-15 22:26:51Z bluewind $
+# Maintainer: judd <jvinet@zeroflux.org>
+
+_pkgbasename=alsa-oss
+pkgname=lib32-${_pkgbasename}
+pkgver=1.0.17
+pkgrel=2
+pkgdesc="OSS compatibility library (32 bit)"
+arch=(x86_64)
+license=('GPL')
+url="http://www.alsa-project.org"
+options=(!libtool)
+depends=('lib32-glibc' 'lib32-alsa-lib' 'alsa-oss')
+source=(ftp://ftp.alsa-project.org/pub/oss-lib/${_pkgbasename}-$pkgver.tar.bz2)
+md5sums=('1b1850c2fc91476a73d50f537cbd402f')
+
+build() {
+ cd $srcdir/${_pkgbasename}-$pkgver
+
+ export CC='gcc -m32'
+ export PKG_CONFIG_PATH=/usr/lib32/pkgconfig
+ ./configure --prefix=/usr --libdir=/usr/lib32
+ make
+}
+
+package() {
+ cd $srcdir/${_pkgbasename}-$pkgver
+
+ make DESTDIR="$pkgdir" install
+
+ # Clean up lib32 package
+ rm -rf "${pkgdir}"/usr/{bin,include,share}
+}