diff options
author | Lukc <lukc@upyum.com> | 2010-12-12 16:13:42 +0100 |
---|---|---|
committer | Lukc <lukc@upyum.com> | 2010-12-12 16:13:42 +0100 |
commit | 3dda8c9497dcd03e9e394cb420411f3fd847ce41 (patch) | |
tree | 9fc62ac69ebb7d987d7cf2ce7571a6f3cfb3ab24 /libusb-compat | |
parent | 753a50ce214b3f4dd833952e4769255a969ace8b (diff) | |
download | base-3dda8c9497dcd03e9e394cb420411f3fd847ce41.tar.gz base-3dda8c9497dcd03e9e394cb420411f3fd847ce41.tar.bz2 base-3dda8c9497dcd03e9e394cb420411f3fd847ce41.tar.xz base-3dda8c9497dcd03e9e394cb420411f3fd847ce41.zip |
Recette de libusb-compat mise à jour.
Diffstat (limited to 'libusb-compat')
-rw-r--r-- | libusb-compat/.sha256sum | 1 | ||||
-rw-r--r-- | libusb-compat/Pkgfile | 22 |
2 files changed, 12 insertions, 11 deletions
diff --git a/libusb-compat/.sha256sum b/libusb-compat/.sha256sum new file mode 100644 index 0000000..85c42ce --- /dev/null +++ b/libusb-compat/.sha256sum @@ -0,0 +1 @@ +a590a03b6188030ee1ca1a0af55685fcde005ca807b963970f839be776031d94 libusb-compat-0.1.3.tar.bz2 diff --git a/libusb-compat/Pkgfile b/libusb-compat/Pkgfile index 9c689a2..dbccd60 100644 --- a/libusb-compat/Pkgfile +++ b/libusb-compat/Pkgfile @@ -1,20 +1,20 @@ -description="Compatibility library for libusb 1.0" -packager="" -maintainer="CRUX System Team, core-ports at crux dot nu" +description="Compatibility library for libusb 1.0." +packager="CRUX System Team <core-ports AT crux DOT nu>" +maintainer="Lukc <lukc AT upyum DOT com>" url="http://libusb.sourceforge.net/" depends=(libusb) name=libusb-compat version=0.1.3 release=2 -source=(http://downloads.sourceforge.net/project/libusb/libusb-compat-0.1/libusb-compat-0.1.3/libusb-compat-0.1.3.tar.bz2) +source=(http://downloads.sourceforge.net/project/libusb/$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*.so.* $PKG/lib; - ln -sf ../../lib/libusb-0.1.so.4.4.4 $PKG/usr/lib/libusb.so + cd $name-$version; + ./configure --prefix=$prefix --mandir=$mandir; + make; + make DESTDIR=$PKG install; + install -d $PKG/lib; + mv $PKG$prefix/lib/libusb*.so.* $PKG/lib; + ln -sf ../../lib/libusb-0.1.so.4.4.4 $PKG$prefix/lib/libusb.so } |