1 # Contributor: Shinlun Hsieh <yngwiexx@yahoo.com.tw>
5 pkgdesc="A latency meter for JACK"
7 url="http://developer.berlios.de/projects/qjacklam/"
9 depends=('qt' 'jack-audio-connection-kit')
10 source=(http://download.berlios.de/${pkgname}/${pkgname}-${pkgver}.tar.gz)
11 md5sums=('975d453ffd52182ad9ce398b58387e2b')
15 export QMAKESPEC=$QTDIR/mkspecs/linux-g++
16 export PATH=$QTDIR/bin:$PATH
17 export PKG_CONFIG_PATH=/opt/qt/lib/pkgconfig:$PKG_CONFIG_PATH
19 cd ${startdir}/src/${pkgname}
20 sed -i -e 's|^TARGET=\.\./bin/qjacklam|TARGET=qjacklam|' src.pro
21 qmake -o Makefile src.pro || return 1
23 install -D -m755 ${pkgname} ${startdir}/pkg/usr/bin/${pkgname}