updated on Thu Jan 19 12:17:07 UTC 2012
[aur-mirror.git] / clam / PKGBUILD
blob113cfd55774491e80f407c263fec85df53bbdec6
1 # Maintainer: Santiago Piccinini <gringotumadre at gmail dot com>
2 pkgname=clam
3 pkgver=1.4.0
4 pkgrel=3
5 pkgdesc="C++ Library for Audio and Music"
6 arch=('i686' 'x86_64')
7 url="http://clam-project.org"
8 license=('GPL')
9 depends=('fftw' 'libxml++' 'id3lib' 'ladspa' 'libmad' 'libogg' 'libvorbis' 'libxi' 'libsndfile' 'portaudio' 'jack')
10 makedepends=('scons' )
11 optdepends=('aurvote: vote for favorite packages from AUR for inclusion in [community]')
12 source=(http://clam-project.org/download/src/CLAM-$pkgver.tar.gz
13         Connection_gcc-4.6.patch
14         MIDISongPlayer_gcc-4.6.patch)
15 md5sums=('614bb957a7aeecc667e144a46a1b87d2'
16          '339266b95a000d14db5d523f76e061f6'
17          'ca5aa273915039fe7a4106a60c72507b')
19 build() {
20   install -d $pkgdir/usr
21   cd "$srcdir/CLAM-$pkgver"
22   
23   patch -p1 < $startdir/Connection_gcc-4.6.patch
24   patch -p1 < $startdir/MIDISongPlayer_gcc-4.6.patch
25   
26   scons configure verbose=1 release=1 xmlbackend='xmlpp' prefix=/usr prefix_for_packaging=$pkgdir/usr
27   scons
30 package() {
31   cd "$srcdir/CLAM-$pkgver"
32   scons install