diff options
author | Juergen Daubert <jue@jue.li> | 2009-05-13 21:01:08 +0200 |
---|---|---|
committer | Juergen Daubert <jue@jue.li> | 2009-05-13 21:01:08 +0200 |
commit | d3b23de9c3491f6da689d841382c35642b9ad799 (patch) | |
tree | d65afa2a386c6c5e50671b7ace06e99e996125bc /libusb-compat | |
parent | 6d7c68fc2b9c7841f9c619156bd073f39b2ac641 (diff) | |
download | core-d3b23de9c3491f6da689d841382c35642b9ad799.tar.gz core-d3b23de9c3491f6da689d841382c35642b9ad799.tar.xz |
libusb-compat: initial release
Diffstat (limited to 'libusb-compat')
-rw-r--r-- | libusb-compat/.footprint | 15 | ||||
-rw-r--r-- | libusb-compat/.md5sum | 1 | ||||
-rw-r--r-- | libusb-compat/Pkgfile | 20 |
3 files changed, 36 insertions, 0 deletions
diff --git a/libusb-compat/.footprint b/libusb-compat/.footprint new file mode 100644 index 00000000..a0e69337 --- /dev/null +++ b/libusb-compat/.footprint @@ -0,0 +1,15 @@ +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 +lrwxrwxrwx root/root lib/libusb.so -> 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.so +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 00000000..9970f095 --- /dev/null +++ b/libusb-compat/.md5sum @@ -0,0 +1 @@ +652e1d9e6c6912fd924a5ad204f6d48b libusb-compat-0.1.0.tar.bz2 diff --git a/libusb-compat/Pkgfile b/libusb-compat/Pkgfile new file mode 100644 index 00000000..8a4f1ca9 --- /dev/null +++ b/libusb-compat/Pkgfile @@ -0,0 +1,20 @@ +# Description: Compatibility library for libusb 1.0 +# URL: http://libusb.sourceforge.net/ +# Maintainer: CRUX System Team, core-ports at crux dot nu + +name=libusb-compat +version=0.1.0 +release=1 +source=(http://dl.sourceforge.net/sourceforge/libusb/$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 -s /lib/libusb.so $PKG/usr/lib/libusb.so +} |