diff options
author | Lukc <lukc@upyum.com> | 2010-12-12 16:10:07 +0100 |
---|---|---|
committer | Lukc <lukc@upyum.com> | 2010-12-12 16:10:07 +0100 |
commit | 753a50ce214b3f4dd833952e4769255a969ace8b (patch) | |
tree | 9d82c2551d27b49dcf82b2322ef7199eaf5ee7e5 /libusb/Pkgfile | |
parent | dcad4d2d31424ea828af2b4ecaff1d743c020579 (diff) | |
download | base-753a50ce214b3f4dd833952e4769255a969ace8b.tar.gz base-753a50ce214b3f4dd833952e4769255a969ace8b.tar.bz2 base-753a50ce214b3f4dd833952e4769255a969ace8b.tar.xz base-753a50ce214b3f4dd833952e4769255a969ace8b.zip |
Recette de libusb mise à jour.
Diffstat (limited to 'libusb/Pkgfile')
-rw-r--r-- | libusb/Pkgfile | 22 |
1 files changed, 11 insertions, 11 deletions
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 <core-ports AT crux DOT nu>" +maintainer="Lukc <lukc AT upyum DOT com>" 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 } |