From 6cb25ceae8c09c9aedc8cb1a5dda1c976f61363a Mon Sep 17 00:00:00 2001 From: tnut Date: Sun, 6 Dec 2009 22:08:07 +0100 Subject: libusb, maj source --- base/libusb/Pkgfile | 2 +- base/libusb/Pkgfile.1 | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 base/libusb/Pkgfile.1 diff --git a/base/libusb/Pkgfile b/base/libusb/Pkgfile index 10ce2b835..33b511060 100755 --- a/base/libusb/Pkgfile +++ b/base/libusb/Pkgfile @@ -7,7 +7,7 @@ name=libusb version=0.1.12 release=1 -source=( http://switch.dl.sourceforge.net/sourceforge/$name/$name-$version.tar.gz) +source=( http://downloads.sourceforge.net/$name/$name-$version.tar.gz) diff --git a/base/libusb/Pkgfile.1 b/base/libusb/Pkgfile.1 new file mode 100644 index 000000000..bd6e72dcb --- /dev/null +++ b/base/libusb/Pkgfile.1 @@ -0,0 +1,20 @@ +# Description: Library giving userland programs access to USB devices +# URL: http://libusb.sourceforge.net/ +# Maintainer: CRUX System Team, core-ports at crux dot nu + +name=libusb +version=1.0.6 +release=1 +source=(http://dl.sourceforge.net/sourceforge/$name/$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-1.0.so.* $PKG/lib + ln -sf ../../lib/libusb-1.0.so.0.0.0 $PKG/usr/lib/libusb-1.0.so +} -- cgit v1.2.3-70-g09d2