From 1a18a592eac471d26b1f74531b6f5b406d20af4f Mon Sep 17 00:00:00 2001 From: Giuseppe Date: Mon, 19 Sep 2011 13:43:00 +0000 Subject: [PATCH] added lib32-portaudio --- lib32-portaudio/PKGBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 lib32-portaudio/PKGBUILD diff --git a/lib32-portaudio/PKGBUILD b/lib32-portaudio/PKGBUILD new file mode 100644 index 0000000..aba2265 --- /dev/null +++ b/lib32-portaudio/PKGBUILD @@ -0,0 +1,31 @@ +# Lib32 Packages for Chakra, part of chakra-project.org +# +# maintainer (x86_64): Anke Boersma +# maintainer (x86_64): Giuseppe CalĂ  + +_pkgbasename=portaudio +pkgname=lib32-$_pkgbasename +pkgver=19_20110326 +pkgrel=1 +pkgdesc="A free, cross-platform, open source, audio I/O library (32 bit)" +arch=('x86_64') +url="http://www.portaudio.com/" +license=('custom') +depends=('lib32-jack' $_pkgbasename) +makedepends=('gcc-multilib') +options=('!libtool') +source=(http://www.portaudio.com/archives/pa_stable_v$pkgver.tgz) +md5sums=('8f266ce03638419ef46e4efcb0fabde6') + +build() { + cd "$srcdir/$_pkgbasename" + ./configure --prefix=/usr --libdir=/usr/lib32 CC="gcc -m32" + make +} + +package () { + cd "$srcdir/$_pkgbasename" + make DESTDIR="$pkgdir" install + install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt" + rm -rf "$pkgdir/usr/include" +}