#Packager: George Vlahavas pkgname=libgusb pkgver=0.2.8 _dashver=$( echo $pkgver | sed "s/\./_/g" ) pkgrel=1gv source=("https://github.com/hughsie/libgusb/archive/gusb_0_2_8.tar.gz") docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") url=https://github.com/hughsie/libgusb slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "libgusb (GUsb is a GObject wrapper for libusb1)" "libgusb is a GObject wrapper for libusb1 that makes it easy to do" "asynchronous control, bulk and interrupt transfers with proper" "cancellation and integration into a mainloop. This makes it easy to" "integrate low level USB transfers with your high-level application or" "system daemon." ) build() { cd $startdir/src/libgusb-gusb_${_dashver} ./autogen.sh ./configure --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --localstatedir=/var \ --sysconfdir=/etc \ --build=$arch-slackware-linux make -j $numjobs || return 1 make install DESTDIR=$startdir/pkg }