added lib32-portaudio

This commit is contained in:
Giuseppe 2011-09-19 13:43:00 +00:00
parent f0bcdf07a3
commit 1a18a592ea

31
lib32-portaudio/PKGBUILD Normal file
View File

@ -0,0 +1,31 @@
# Lib32 Packages for Chakra, part of chakra-project.org
#
# maintainer (x86_64): Anke Boersma <abveritas[at]chakra-project[dot]org>
# maintainer (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
_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"
}