From 6daf14e60a22092d74ce93889daeda980f903aa2 Mon Sep 17 00:00:00 2001 From: Jose V Beneyto Date: Thu, 10 Dec 2009 01:34:14 +0100 Subject: [PATCH] libusb: updated to 1.0.6 --- libusb/.footprint | 27 ++++++++------------------- libusb/.md5sum | 2 +- libusb/Pkgfile | 17 +++++++---------- 3 files changed, 16 insertions(+), 30 deletions(-) diff --git a/libusb/.footprint b/libusb/.footprint index d6f8810..70d4ae0 100644 --- a/libusb/.footprint +++ b/libusb/.footprint @@ -1,24 +1,13 @@ 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/libusbpp-0.1.so.4 -> libusbpp-0.1.so.4.4.4 --rwxr-xr-x root/root lib/libusbpp-0.1.so.4.4.4 +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/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 --rw-r--r-- root/root usr/include/usbpp.h +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/ -lrwxrwxrwx root/root usr/lib/libusb-0.1.so.4 -> libusb-0.1.so.4.4.4 -lrwxrwxrwx root/root usr/lib/libusb-0.1.so.4.4.4 -> ../../lib/libusb-0.1.so.4.4.4 --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 -> libusb-0.1.so.4.4.4 -lrwxrwxrwx root/root usr/lib/libusbpp-0.1.so.4 -> libusbpp-0.1.so.4.4.4 -lrwxrwxrwx root/root usr/lib/libusbpp-0.1.so.4.4.4 -> ../../lib/libusbpp-0.1.so.4.4.4 --rw-r--r-- root/root usr/lib/libusbpp.a --rwxr-xr-x root/root usr/lib/libusbpp.la -lrwxrwxrwx root/root usr/lib/libusbpp.so -> libusbpp-0.1.so.4.4.4 +-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.pc +-rw-r--r-- root/root usr/lib/pkgconfig/libusb-1.0.pc diff --git a/libusb/.md5sum b/libusb/.md5sum index b309b06..e3231b1 100644 --- a/libusb/.md5sum +++ b/libusb/.md5sum @@ -1 +1 @@ -caf182cbc7565dac0fd72155919672e6 libusb-0.1.12.tar.gz +818c7c02112a53e0c182666ee83f2057 libusb-1.0.6.tar.bz2 diff --git a/libusb/Pkgfile b/libusb/Pkgfile index 351ad78..32de341 100644 --- a/libusb/Pkgfile +++ b/libusb/Pkgfile @@ -4,23 +4,20 @@ # Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org name=libusb -version=0.1.12 +version=1.0.6 release=1 -source=(http://dl.sourceforge.net/sourceforge/$name/$name-$version.tar.gz) +source=(http://dl.sourceforge.net/sourceforge/$name/$name-$version.tar.bz2) build () { cd $name-$version + ./configure --build=$CHOST \ --host=$CTARGET \ --prefix=/usr make make DESTDIR=$PKG install - - mkdir $PKG/lib - local file libfiles=$PKG/usr/lib/lib*-*.so.*.*.* - for file in $libfiles; do - mv $file $PKG/lib/ - ln -sf ../../lib/${file##*/} $PKG/usr/lib/${file##*/} - done - /sbin/ldconfig -nN $PKG/lib + + 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 } -- 2.26.2