1
0
forked from ports/opt

libusb-compat: moved from core

This commit is contained in:
Juergen Daubert 2019-03-17 13:58:07 +01:00
parent 25f9068b1e
commit eac618388b
3 changed files with 40 additions and 0 deletions

14
libusb-compat/.footprint Normal file
View File

@ -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

5
libusb-compat/.signature Normal file
View File

@ -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

21
libusb-compat/Pkgfile Normal file
View File

@ -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
}