summaryrefslogtreecommitdiffstats
path: root/libusb
diff options
context:
space:
mode:
Diffstat (limited to 'libusb')
-rw-r--r--libusb/.footprint13
-rw-r--r--libusb/.md5sum1
-rw-r--r--libusb/Pkgfile20
-rw-r--r--libusb/Pkgfile.old20
4 files changed, 54 insertions, 0 deletions
diff --git a/libusb/.footprint b/libusb/.footprint
new file mode 100644
index 0000000..70d4ae0
--- /dev/null
+++ b/libusb/.footprint
@@ -0,0 +1,13 @@
+drwxr-xr-x root/root lib/
+lrwxrwxrwx root/root lib/libusb-1.0.so.0 -> libusb-1.0.so.0.0.0
+-rwxr-xr-x root/root lib/libusb-1.0.so.0.0.0
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/include/
+drwxr-xr-x root/root usr/include/libusb-1.0/
+-rw-r--r-- root/root usr/include/libusb-1.0/libusb.h
+drwxr-xr-x root/root usr/lib/
+-rw-r--r-- root/root usr/lib/libusb-1.0.a
+-rwxr-xr-x root/root usr/lib/libusb-1.0.la
+lrwxrwxrwx root/root usr/lib/libusb-1.0.so -> ../../lib/libusb-1.0.so.0.0.0
+drwxr-xr-x root/root usr/lib/pkgconfig/
+-rw-r--r-- root/root usr/lib/pkgconfig/libusb-1.0.pc
diff --git a/libusb/.md5sum b/libusb/.md5sum
new file mode 100644
index 0000000..dacfd80
--- /dev/null
+++ b/libusb/.md5sum
@@ -0,0 +1 @@
+37d34e6eaa69a4b645a19ff4ca63ceef libusb-1.0.8.tar.bz2
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
+}
diff --git a/libusb/Pkgfile.old b/libusb/Pkgfile.old
new file mode 100644
index 0000000..e518ac6
--- /dev/null
+++ b/libusb/Pkgfile.old
@@ -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.8
+release=1
+source=(http://downloads.sourceforge.net/project/$name/$name-1.0/$name-$version/$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
+}