1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
6 pkgdesc="A system for representing input and output signals on a network and allowing arbitrary “mappings” to be dynamically created between them."
8 url="http://idmil.org/software/libmapper/"
10 depends=('alsa-lib' 'liblo' 'python2')
12 optdepends=('rtaudio: examples')
14 source=("http://idmil.org/pub/software/$pkgname/$pkgname-$pkgver.tar.gz")
15 md5sums=('82d689fcb89fa4e4843c29233adf9fe0')
18 cd "$srcdir/$pkgname-$pkgver"
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
32 cd "$srcdir/$pkgname-$pkgver"
34 make DESTDIR="$pkgdir/" install
37 # vim:set ts=2 sw=2 et: