1
0
forked from ports/opt

libusb: moved libraries to /lib, as suggested by danm

This commit is contained in:
Juergen Daubert 2006-01-12 17:31:17 +00:00
parent 3c8b23ef0f
commit ebf90e9b19
2 changed files with 16 additions and 4 deletions

@ -1,3 +1,8 @@
drwxr-xr-x root/root lib/
lrwxrwxrwx root/root lib/libusb-0.1.so.4 -> libusb-0.1.so.4.4.2
-rwxr-xr-x root/root lib/libusb-0.1.so.4.4.2
lrwxrwxrwx root/root lib/libusbpp-0.1.so.4 -> libusbpp-0.1.so.4.4.2
-rwxr-xr-x root/root lib/libusbpp-0.1.so.4.4.2
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/libusb-config
@ -6,12 +11,12 @@ drwxr-xr-x root/root usr/include/
-rw-r--r-- root/root usr/include/usbpp.h
drwxr-xr-x root/root usr/lib/
lrwxrwxrwx root/root usr/lib/libusb-0.1.so.4 -> libusb-0.1.so.4.4.2
-rwxr-xr-x root/root usr/lib/libusb-0.1.so.4.4.2
lrwxrwxrwx root/root usr/lib/libusb-0.1.so.4.4.2 -> ../../lib/libusb-0.1.so.4.4.2
-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.2
lrwxrwxrwx root/root usr/lib/libusbpp-0.1.so.4 -> libusbpp-0.1.so.4.4.2
-rwxr-xr-x root/root usr/lib/libusbpp-0.1.so.4.4.2
lrwxrwxrwx root/root usr/lib/libusbpp-0.1.so.4.4.2 -> ../../lib/libusbpp-0.1.so.4.4.2
-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.2

@ -1,11 +1,10 @@
# Description: Library giving userland programs access to USB devices
# URL: http://libusb.sourceforge.net/
# Maintainer: Jürgen Daubert, juergen dot daubert at t-online dot de
# Packager: Arnaud Mazin, arnaud dot mazin at free dot fr
name=libusb
version=0.1.10a
release=1
release=2
source=(http://dl.sourceforge.net/sourceforge/$name/$name-$version.tar.gz)
build () {
@ -16,4 +15,12 @@ build () {
--disable-build-docs
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
ldconfig -nN $PKG/lib
}