#Maintainer: Dimitris Tzemos <djemos@slackel.gr>

pkgname=libg15
pkgver=1.2.7
pkgrel=1dj
source=("http://mesh.dl.sourceforge.net/project/g15tools/libg15/1.2.7/libg15-1.2.7.tar.bz2")
docs=("AUTHORS" "COPYING" "ChangeLog" "INSTALL" "NEWS" "README")
url=http://www.g15tools.com

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"Libg15 (G11 and G15 keyboard/ Z10 speaker library)"
"The libg15 library gives applications low-level access to the "
"G15 and G11 keyboards and the Z10 speakers. G15Daemon requires"
"it to be installed.  It uses libusb for access to the usb bus."
""
"HomePage http://www.g15tools.com"

)


build() {
	cd $startdir/src/$pkgname-$pkgver
	./configure --prefix=/usr  --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --disable-static
	make -j $numjobs || return 1
	make install DESTDIR=$startdir/pkg
	chown -R root:root $startdir/pkg
}