1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
6 pkgdesc="A set of C++ classes that provides a common API for realtime MIDI input/output."
8 url="http://www.music.mcgill.ca/~gary/rtmidi/"
11 source=("${url}release/$pkgname-$pkgver.tar.gz"
12 "$pkgname-$pkgver-shared.patch"
16 md5sums=('a500b0a80dbf0a0f4a9b69cd7af134e2'
17 'd5f52e293e1b9811259b30ee6dec3f1e'
18 'ee51427cb1d93d06a16cda7de4e59f80'
19 '03f64857639e4748b27bc3a393e59fcc'
20 'c803f67240480c63fe8d31e4d8ad890c')
23 cd "$srcdir/$pkgname-$pkgver"
25 # enable shared lib build
26 patch -p1 -i ../$pkgname-$pkgver-shared.patch
28 # add missing makefile and pkgconfig files
29 cp ../{Makefile,*.pc} .
32 ./configure --prefix=/usr \
40 ./configure --prefix=/usr
45 cd "$srcdir/$pkgname-$pkgver"
47 make DESTDIR="$pkgdir/" install
50 # vim:set ts=2 sw=2 et: