diff options
author | Lukc <lukc@upyum.com> | 2010-12-11 19:15:23 +0100 |
---|---|---|
committer | Lukc <lukc@upyum.com> | 2010-12-11 19:15:35 +0100 |
commit | 6d908a38e05b9d4135c65d23114a5874215b5bb8 (patch) | |
tree | b5e6da6d95b9a1235d82032b509b80483a886ff5 /libusb/Pkgfile | |
download | base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.gz base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.bz2 base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.xz base-6d908a38e05b9d4135c65d23114a5874215b5bb8.zip |
Engagement initial.
Diffstat (limited to 'libusb/Pkgfile')
-rw-r--r-- | libusb/Pkgfile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/libusb/Pkgfile b/libusb/Pkgfile new file mode 100644 index 0000000..0783ea9 --- /dev/null +++ b/libusb/Pkgfile @@ -0,0 +1,20 @@ +description="Library giving userland programs access to USB devices" +packager="" +maintainer="CRUX System Team, core-ports at crux dot nu" +url="http://libusb.sourceforge.net/" +depends=() + +name=libusb +version=1.0.8 +release=1 +source=(http://downloads.sourceforge.net/project/libusb/libusb-1.0/libusb-1.0.8/libusb-1.0.8.tar.bz2) +build () +{ + cd $name-$version; + ./configure --prefix=/usr; + make; + make DESTDIR=$PKG install; + install -d $PKG/lib; + mv $PKG/usr/lib/libusb-1.0.so.* $PKG/lib; + ln -sf ../../lib/libusb-1.0.so.0.0.0 $PKG/usr/lib/libusb-1.0.so +} |