summaryrefslogtreecommitdiff
path: root/community/portaudio_cpp/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
committerroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
commit7a65a910b77ad191d69881098c47f9b0c852d92e (patch)
tree9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/portaudio_cpp/PKGBUILD
parent60da6abff6c9577a783d72865f11de7a585e912e (diff)
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/portaudio_cpp/PKGBUILD')
-rw-r--r--community/portaudio_cpp/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/community/portaudio_cpp/PKGBUILD b/community/portaudio_cpp/PKGBUILD
new file mode 100644
index 000000000..be0d476ec
--- /dev/null
+++ b/community/portaudio_cpp/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 69618 2012-04-20 13:57:47Z lfleischer $
+# Maintainer: Bob Finch <w9ya@qrparci.net>
+
+pkgname=portaudio_cpp
+pkgver=19_20111121
+pkgrel=1
+pkgdesc='PortAudio C++ bindings'
+arch=('i686' 'x86_64')
+url='http://www.portaudio.com/'
+license=('custom')
+depends=("portaudio=${pkgver}" 'gcc-libs')
+options=('!libtool')
+source=("http://www.portaudio.com/archives/pa_stable_v$pkgver.tgz")
+md5sums=('25c85c1cc5e9e657486cbc299c6c035a')
+
+build() {
+ cd "$srcdir/portaudio"
+
+ ./configure --prefix=/usr --enable-cxx
+ make
+}
+
+package() {
+ cd "$srcdir/portaudio/bindings/cpp"
+
+ make DESTDIR="$pkgdir" install
+ install -Dm0644 ../../LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
+}