手機 - Gemini PDA 4G - Android - Termux - Build libusb-1.0.0



參考資訊:
https://github.com/termux/termux-packages/issues/1714

步驟如下:

$ cd
$ wget https://github.com/libusb/libusb/releases/download/v1.0.21/libusb-1.0.21.tar.bz2
$ tar -xf libusb-1.0.21.tar.bz2
$ cd libusb-1.0.21
$ termux-fix-shebang configure
$ ./configure --prefix=$PREFIX --disable-udev
$ make
$ make install
$ pkg-config --cflags --libs libusb-1.0
    -I/data/data/com.termux/files/usr/include/libusb-1.0 -L/data/data/com.termux/files/usr/lib -lusb-1.0