mirror of
https://gitdl.cn/https://github.com/chakralinux/lib32.git
synced 2025-01-24 01:42:15 +08:00
32 lines
908 B
Bash
32 lines
908 B
Bash
|
# 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"
|
||
|
}
|