mirror of
https://gitdl.cn/https://github.com/chakralinux/lib32.git
synced 2025-01-23 17:33:34 +08:00
added lib32-portaudio
This commit is contained in:
parent
f0bcdf07a3
commit
1a18a592ea
31
lib32-portaudio/PKGBUILD
Normal file
31
lib32-portaudio/PKGBUILD
Normal 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"
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user