summaryrefslogtreecommitdiff
path: root/community/portaudio_cpp/PKGBUILD
blob: 0c666ed5c6c1e02e464ac96a6aed3d58acd23ccd (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')
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
}