diff options
author | Juergen Daubert <jue@jue.li> | 2019-03-17 13:58:07 +0100 |
---|---|---|
committer | Juergen Daubert <jue@jue.li> | 2019-03-17 13:58:07 +0100 |
commit | eac618388beae9d8629ab27cbd273c000ac2ce31 (patch) | |
tree | a0a65e386e58236a778da7ec89a2e818bdffc350 /libusb-compat | |
parent | 25f9068b1e3fb514ffcf92c6ad23f97681461f73 (diff) | |
download | opt-eac618388beae9d8629ab27cbd273c000ac2ce31.tar.gz opt-eac618388beae9d8629ab27cbd273c000ac2ce31.tar.xz |
libusb-compat: moved from core
Diffstat (limited to 'libusb-compat')
-rw-r--r-- | libusb-compat/.footprint | 14 | ||||
-rw-r--r-- | libusb-compat/.signature | 5 | ||||
-rw-r--r-- | libusb-compat/Pkgfile | 21 |
3 files changed, 40 insertions, 0 deletions
diff --git a/libusb-compat/.footprint b/libusb-compat/.footprint new file mode 100644 index 000000000..62be8cc28 --- /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/.signature b/libusb-compat/.signature new file mode 100644 index 000000000..7308c82d6 --- /dev/null +++ b/libusb-compat/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/opt.pub +RWSE3ohX2g5d/eiSvoS7UEMLhzizH8HC5ovmdKJMZLh10gD/e3xGXIut+TSrA+gFbGDBYqUa1Diygti/+M5VozAcTCvhbJuRDwY= +SHA256 (Pkgfile) = 486d90b5f3ddef4be5176b251787e111203acc7de5979ba9b8de4e7a847c6119 +SHA256 (.footprint) = eabc6c62c3718d6d4132e153516aba5ba3deb8bf75a97ad5e8b0d786411fa095 +SHA256 (libusb-compat-0.1.5.tar.bz2) = 404ef4b6b324be79ac1bfb3d839eac860fbc929e6acb1ef88793a6ea328bc55a diff --git a/libusb-compat/Pkgfile b/libusb-compat/Pkgfile new file mode 100644 index 000000000..6ed0ea669 --- /dev/null +++ b/libusb-compat/Pkgfile @@ -0,0 +1,21 @@ +# Description: Compatibility library for libusb 1.0 +# URL: http://libusb.info +# Maintainer: CRUX System Team, core-ports at crux dot nu +# Depends on: libusb + +name=libusb-compat +version=0.1.5 +release=1 +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/$(readlink $PKG/lib/libusb-0.1.so.4) $PKG/usr/lib/libusb.so +} |