summaryrefslogtreecommitdiff
path: root/community/portaudio_cpp/PKGBUILD
blob: 00ed1b3ac97bfefcfcaa44aa8f20a4e491222991 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $Id: PKGBUILD 55337 2011-09-10 02:09:27Z ebelanger $
# Maintainer: Bob Finch <w9ya@qrparci.net>

pkgname=portaudio_cpp
pkgver=19_20110326
pkgrel=1
pkgdesc="PortAudio c++ bindings"
arch=('i686' 'x86_64' 'mips64el')
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=('8f266ce03638419ef46e4efcb0fabde6')

build() {
  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"
}