summaryrefslogtreecommitdiffstats
path: root/libusb-compat
diff options
context:
space:
mode:
Diffstat (limited to 'libusb-compat')
-rw-r--r--libusb-compat/.footprint14
-rw-r--r--libusb-compat/.md5sum1
-rw-r--r--libusb-compat/Pkgfile20
-rw-r--r--libusb-compat/Pkgfile.old21
4 files changed, 56 insertions, 0 deletions
diff --git a/libusb-compat/.footprint b/libusb-compat/.footprint
new file mode 100644
index 0000000..62be8cc
--- /dev/null
+++ b/libusb-compat/.footprint
@@ -0,0 +1,14 @@
+drwxr-xr-x root/root lib/
+lrwxrwxrwx root/root lib/libusb-0.1.so.4 -> libusb-0.1.so.4.4.4
+-rwxr-xr-x root/root lib/libusb-0.1.so.4.4.4
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/libusb-config
+drwxr-xr-x root/root usr/include/
+-rw-r--r-- root/root usr/include/usb.h
+drwxr-xr-x root/root usr/lib/
+-rw-r--r-- root/root usr/lib/libusb.a
+-rwxr-xr-x root/root usr/lib/libusb.la
+lrwxrwxrwx root/root usr/lib/libusb.so -> ../../lib/libusb-0.1.so.4.4.4
+drwxr-xr-x root/root usr/lib/pkgconfig/
+-rw-r--r-- root/root usr/lib/pkgconfig/libusb.pc
diff --git a/libusb-compat/.md5sum b/libusb-compat/.md5sum
new file mode 100644
index 0000000..59c34f6
--- /dev/null
+++ b/libusb-compat/.md5sum
@@ -0,0 +1 @@
+570ac2ea085b80d1f74ddc7c6a93c0eb libusb-compat-0.1.3.tar.bz2
diff --git a/libusb-compat/Pkgfile b/libusb-compat/Pkgfile
new file mode 100644
index 0000000..9c689a2
--- /dev/null
+++ b/libusb-compat/Pkgfile
@@ -0,0 +1,20 @@
+description="Compatibility library for libusb 1.0"
+packager=""
+maintainer="CRUX System Team, core-ports at crux dot nu"
+url="http://libusb.sourceforge.net/"
+depends=(libusb)
+
+name=libusb-compat
+version=0.1.3
+release=2
+source=(http://downloads.sourceforge.net/project/libusb/libusb-compat-0.1/libusb-compat-0.1.3/libusb-compat-0.1.3.tar.bz2)
+build ()
+{
+ cd $name-$version;
+ ./configure --prefix=/usr;
+ make;
+ make DESTDIR=$PKG install;
+ install -d $PKG/lib;
+ mv $PKG/usr/lib/libusb*.so.* $PKG/lib;
+ ln -sf ../../lib/libusb-0.1.so.4.4.4 $PKG/usr/lib/libusb.so
+}
diff --git a/libusb-compat/Pkgfile.old b/libusb-compat/Pkgfile.old
new file mode 100644
index 0000000..5c8c3a3
--- /dev/null
+++ b/libusb-compat/Pkgfile.old
@@ -0,0 +1,21 @@
+# Description: Compatibility library for libusb 1.0
+# URL: http://libusb.sourceforge.net/
+# Maintainer: CRUX System Team, core-ports at crux dot nu
+# Depends on: libusb
+
+name=libusb-compat
+version=0.1.3
+release=2
+source=(http://downloads.sourceforge.net/project/libusb/$name-0.1/$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*.so.* $PKG/lib
+ ln -sf ../../lib/libusb-0.1.so.4.4.4 $PKG/usr/lib/libusb.so
+}