updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / libmapper / PKGBUILD
blob13771f1bc8c908c0e431778d494c1bb4e56ffcf4
1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
3 pkgname=libmapper
4 pkgver=0.2
5 pkgrel=1
6 pkgdesc="A system for representing input and output signals on a network and allowing arbitrary “mappings” to be dynamically created between them."
7 arch=(i686 x86_64)
8 url="http://idmil.org/software/libmapper/"
9 license=('GPL')
10 depends=('alsa-lib' 'liblo' 'python2')
11 makedepends=('swig')
12 optdepends=('rtaudio: examples')
13 options=('!libtool')
14 source=("http://idmil.org/pub/software/$pkgname/$pkgname-$pkgver.tar.gz")
15 md5sums=('82d689fcb89fa4e4843c29233adf9fe0')
17 build() {
18   cd "$srcdir/$pkgname-$pkgver"
20   # python fixes
21   export PYTHON=python2
22   sed -i "s|python setup.py|python2 setup.py|g" `grep -rl "python setup.py" .`
24   # add --root directive for python bindings
25   sed -i "s|prefix)$|& --root=\"$pkgdir\"|g" swig/Makefile.*
27   ./configure --prefix=/usr
28   make
31 package() {
32   cd "$srcdir/$pkgname-$pkgver"
34   make DESTDIR="$pkgdir/" install
37 # vim:set ts=2 sw=2 et: