sigrok-cross-mingw: Drop libusb-1.0 build, now in MXE.
authorUwe Hermann <uwe@hermann-uwe.de>
Wed, 21 Aug 2013 10:22:16 +0000 (12:22 +0200)
committerUwe Hermann <uwe@hermann-uwe.de>
Wed, 21 Aug 2013 10:22:16 +0000 (12:22 +0200)
libusb-1.0 is now available from MXE (www.mxe.cc) like all of the other
dependencies, so we don't have to build it manually anymore.

cross-compile/mingw/sigrok-cross-mingw

index e09be7d29cac8bc997e8911f5322c45b7930597b..767870992b454dc0dcc552602e27809becee7f60 100755 (executable)
@@ -32,12 +32,6 @@ BUILDDIR=./sr_mingw_build
 
 # -----------------------------------------------------------------------------
 
-VER_LIBUSB_1_0=1.0.9
-
-SF_MIRROR=switch.dl.sourceforge.net
-
-# -----------------------------------------------------------------------------
-
 # We need to find tools in the toolchain and in the install directory.
 export PATH=$PREFIX/bin:$MXE/usr/bin:$PATH
 
@@ -54,13 +48,6 @@ cd $BUILDDIR
 
 # -----------------------------------------------------------------------------
 
-# libusb-1.0
-wget http://$SF_MIRROR/project/libusb/libusb-1.0/libusb-$VER_LIBUSB_1_0/libusb-$VER_LIBUSB_1_0.tar.bz2
-tar xfj libusb-$VER_LIBUSB_1_0.tar.bz2
-cd libusb-$VER_LIBUSB_1_0
-./configure $C $L && make install
-cd ..
-
 # Python3
 # Cross-compiling Python is highly non-trivial, so we avoid it for now.
 # The download below is a repackaged tarball of the official Python 3.2.3 MSI