summaryrefslogtreecommitdiffstats
path: root/libusb
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2010-12-21 10:30:36 +0100
committerLukc <lukc@upyum.com>2010-12-21 10:30:36 +0100
commit1cb69d051f414ee16571acadd798f70632481047 (patch)
tree77d578915535d46262eec66682f9156e095acaa8 /libusb
parent9294af3c809a86da52929e957409aace8dfe791d (diff)
downloadbase-1cb69d051f414ee16571acadd798f70632481047.tar.gz
base-1cb69d051f414ee16571acadd798f70632481047.tar.bz2
base-1cb69d051f414ee16571acadd798f70632481047.tar.xz
base-1cb69d051f414ee16571acadd798f70632481047.zip
Recette de libusb mise à jour.
Diffstat (limited to 'libusb')
-rw-r--r--libusb/Pkgfile8
1 files changed, 6 insertions, 2 deletions
diff --git a/libusb/Pkgfile b/libusb/Pkgfile
index 4510fe6..11b2a23 100644
--- a/libusb/Pkgfile
+++ b/libusb/Pkgfile
@@ -11,10 +11,14 @@ source=(http://downloads.sourceforge.net/project/$name/$name-${version%\.*}/$nam
build ()
{
cd $name-$version;
- ./configure --prefix=$prefix --mandir=$mandir;
+ ./configure \
+ ${CHOST:+--build=${CHOST}} \
+ ${CTARGET:+--host=${CTARGET}} \
+ --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
+ ln -sf ../../lib/libusb-1.0.so.0.0.0 $PKG$prefix/lib/libusb-1.0.so
}