summaryrefslogtreecommitdiffstats
path: root/base/libusb/Pkgfile.1
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2009-12-06 22:08:07 +0100
committertnut <thierryn1 at hispeed dot ch>2009-12-06 22:08:07 +0100
commit6cb25ceae8c09c9aedc8cb1a5dda1c976f61363a (patch)
tree46a304930eec32813233d07cf1a8427340b92c48 /base/libusb/Pkgfile.1
parent7cc870d725c1b211b72dab869b497f3d1c173e02 (diff)
downloadnutyx-extra-6cb25ceae8c09c9aedc8cb1a5dda1c976f61363a.tar.gz
nutyx-extra-6cb25ceae8c09c9aedc8cb1a5dda1c976f61363a.tar.bz2
nutyx-extra-6cb25ceae8c09c9aedc8cb1a5dda1c976f61363a.tar.xz
nutyx-extra-6cb25ceae8c09c9aedc8cb1a5dda1c976f61363a.zip
libusb, maj source
Diffstat (limited to 'base/libusb/Pkgfile.1')
-rw-r--r--base/libusb/Pkgfile.120
1 files changed, 20 insertions, 0 deletions
diff --git a/base/libusb/Pkgfile.1 b/base/libusb/Pkgfile.1
new file mode 100644
index 000000000..bd6e72dcb
--- /dev/null
+++ b/base/libusb/Pkgfile.1
@@ -0,0 +1,20 @@
+# Description: Library giving userland programs access to USB devices
+# URL: http://libusb.sourceforge.net/
+# Maintainer: CRUX System Team, core-ports at crux dot nu
+
+name=libusb
+version=1.0.6
+release=1
+source=(http://dl.sourceforge.net/sourceforge/$name/$name-$version.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
+}