PKGBUILDs/community/portaudio_cpp/PKGBUILD

29 lines
768 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# Based on 'portaudio' package - Eric Belanger <belanger@astro.umontreal.ca>
# Maintainer: Bob Finch <w9ya@qrparci.net>
pkgname=portaudio_cpp
pkgver=19_20071207
pkgrel=1
pkgdesc="PortAudio c++ bindings"
url="http://www.portaudio.com/"
source=(http://www.portaudio.com/archives/pa_stable_v$pkgver.tar.gz)
depends=('portaudio=19_20071207' 'gcc-libs')
license=('custom')
arch=('i686' 'x86_64')
options=('!libtool')
md5sums=('d2943e4469834b25afe62cc51adc025f')
build() {
cd $startdir/src/portaudio
./configure --prefix=/usr
make || return 1
install -D -m644 LICENSE.txt\
$startdir/pkg/usr/share/licenses/$pkgname/LICENSE.txt
cd $startdir/src/portaudio/bindings/cpp
./configure --prefix=/usr
make || return 1
make DESTDIR=$startdir/pkg install
}