1 # Contributor: Jason Yellick < jkyellic AT ncsu DOT edu>
5 pkgdesc="A library for accessing Phidget brand hardware interface controllers and sensors"
7 url="http://www.phidgets.com/"
9 depends=('glibc' 'libusb-compat' 'libusb');
10 makedepends=('make' 'gcc' 'jdk')
11 source=("http://www.phidgets.com/downloads/libraries/${pkgname}_${pkgver}.tar.gz")
12 md5sums=('24e975379e20134c8f12aacda5a8dac8')
15 cd "$srcdir/$pkgname-$pkgver"
16 ./configure --prefix=/usr || return 1
18 mkdir -p "$pkgdir/etc/udev/rules.d"
19 mkdir -p "$pkgdir/usr/lib"
20 mkdir -p "$pkgdir/usr/include"
21 make DESTDIR="$pkgdir" install || return 1
22 install -m 644 udev/99-phidgets.rules "$pkgdir/etc/udev/rules.d/"