summaryrefslogtreecommitdiff
path: root/community/portaudio_cpp/PKGBUILD
blob: 664450a04d8785d46e0d0568f63e326f26aa1672 (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
27
28
# Based on 'portaudio' package - Eric Belanger <belanger@astro.umontreal.ca>
# Maintainer: Bob Finch <w9ya@qrparci.net>

pkgname=portaudio_cpp
pkgver=19_20071207
pkgrel=2
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' 'mips64el')
options=('!libtool')
md5sums=('d2943e4469834b25afe62cc51adc025f')

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
  make DESTDIR=$pkgdir install
}