DOCS="README INSTALL.*" IGNOREPATH=/boot:/dev:/home:/mnt:/proc:/root:/tmp:/var STRIPLIB=y STRIPBIN=y SETATTR=y # pkginfo VERSION=0.1.3b PROGNAME="libusb 0.1.3b" DESC="\ This is libusb version 0.1.3b. libusb is a library which allows userspace access to USB devices. " # maintainer BUILD=1 MAINTAINER="TG " SOURCE=http://libusb.sourceforge.net/ LOCATION=ftp://ftp.linuxmafia.org/pub/Slackware-8/libusb-0.1.3b # package name PKGNAME=libusb compile() { tar xvzf $CWD/$PKGNAME-$VERSION.tar.gz cd $PKGNAME-$VERSION ./configure \ --prefix=/usr make -j2 } install() { make install mkdir -p /usr/doc/$PKGNAME-$VERSION cp -a $DOCS /usr/doc/$PKGNAME-$VERSION } attributes() { echo "No special attributes..." } special() { } subpacks() { echo "No subpacks..." }