summaryrefslogtreecommitdiff
path: root/community/portaudio_cpp/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/portaudio_cpp/PKGBUILD')
-rw-r--r--community/portaudio_cpp/PKGBUILD32
1 files changed, 15 insertions, 17 deletions
diff --git a/community/portaudio_cpp/PKGBUILD b/community/portaudio_cpp/PKGBUILD
index 0c666ed5c..58b782570 100644
--- a/community/portaudio_cpp/PKGBUILD
+++ b/community/portaudio_cpp/PKGBUILD
@@ -1,28 +1,26 @@
-# Based on 'portaudio' package - Eric Belanger <belanger@astro.umontreal.ca>
+# $Id: PKGBUILD 55337 2011-09-10 02:09:27Z ebelanger $
# Maintainer: Bob Finch <w9ya@qrparci.net>
pkgname=portaudio_cpp
-pkgver=19_20071207
-pkgrel=2
+pkgver=19_20110326
+pkgrel=1
pkgdesc="PortAudio c++ bindings"
+arch=('i686' 'x86_64')
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')
+depends=("portaudio=${pkgver}" 'gcc-libs')
options=('!libtool')
-md5sums=('d2943e4469834b25afe62cc51adc025f')
+source=(http://www.portaudio.com/archives/pa_stable_v$pkgver.tgz)
+md5sums=('8f266ce03638419ef46e4efcb0fabde6')
build() {
- cd $srcdir/portaudio
- ./configure --prefix=/usr
- make || return 1
-
- install -D -m644 LICENSE.txt\
- $pkgdir/usr/share/licenses/$pkgname/LICENSE.txt
-
- cd $srcdir/portaudio/bindings/cpp
- ./configure --prefix=/usr
- make || return 1
+ cd "$srcdir/portaudio"
+ ./configure --prefix=/usr --enable-cxx
+ make
+}
+
+package() {
+ cd "$srcdir/portaudio/bindings/cpp"
make DESTDIR=$pkgdir install
+ install -D -m644 ../../LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
}