From 1cb69d051f414ee16571acadd798f70632481047 Mon Sep 17 00:00:00 2001 From: Lukc Date: Tue, 21 Dec 2010 10:30:36 +0100 Subject: Recette de libusb mise à jour. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libusb/Pkgfile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'libusb/Pkgfile') 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 } -- cgit v1.2.3-70-g09d2