From 753a50ce214b3f4dd833952e4769255a969ace8b Mon Sep 17 00:00:00 2001 From: Lukc Date: Sun, 12 Dec 2010 16:10:07 +0100 Subject: Recette de libusb mise à jour. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libusb/.sha256sum | 1 + libusb/Pkgfile | 22 +++++++++++----------- 2 files changed, 12 insertions(+), 11 deletions(-) create mode 100644 libusb/.sha256sum (limited to 'libusb') diff --git a/libusb/.sha256sum b/libusb/.sha256sum new file mode 100644 index 0000000..931ca95 --- /dev/null +++ b/libusb/.sha256sum @@ -0,0 +1 @@ +21d0d3a5710f7f4211c595102c6b9eccb42435a17a4f5bd2c3f4166ab1badba9 libusb-1.0.8.tar.bz2 diff --git a/libusb/Pkgfile b/libusb/Pkgfile index 0783ea9..4510fe6 100644 --- a/libusb/Pkgfile +++ b/libusb/Pkgfile @@ -1,20 +1,20 @@ -description="Library giving userland programs access to USB devices" -packager="" -maintainer="CRUX System Team, core-ports at crux dot nu" +description="Library giving userland programs access to USB devices." +packager="CRUX System Team " +maintainer="Lukc " url="http://libusb.sourceforge.net/" depends=() name=libusb version=1.0.8 release=1 -source=(http://downloads.sourceforge.net/project/libusb/libusb-1.0/libusb-1.0.8/libusb-1.0.8.tar.bz2) +source=(http://downloads.sourceforge.net/project/$name/$name-${version%\.*}/$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-1.0.so.* $PKG/lib; - ln -sf ../../lib/libusb-1.0.so.0.0.0 $PKG/usr/lib/libusb-1.0.so + cd $name-$version; + ./configure --prefix=$prefix --mandir=$mandir; + make; + make DESTDIR=$PKG install; + install -d $PKG/lib; + mv $PKG$prefix/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