From 94e2d3b79bcca0258c8e3d999e9fbedeb1c04612 Mon Sep 17 00:00:00 2001 From: Wetitpig Date: Wed, 21 Feb 2018 22:27:16 +0800 Subject: [PATCH] Add libusb as root only package --- root-packages/libusb/build.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 root-packages/libusb/build.sh diff --git a/root-packages/libusb/build.sh b/root-packages/libusb/build.sh new file mode 100644 index 000000000..791e05a26 --- /dev/null +++ b/root-packages/libusb/build.sh @@ -0,0 +1,11 @@ +TERMUX_PKG_HOMEPAGE=http://libusb.info/ +TERMUX_PKG_DESCRIPTION="A cross-platform user library to access USB devices" +TERMUX_PKG_VERSION=1.0.21 +TERMUX_PKG_SRCURL=https://github.com/libusb/libusb/archive/v${TERMUX_PKG_VERSION}.zip +TERMUX_PKG_SHA256=83895453d7b6e8149ba3c2aaac796615a80a6a599a94458e73029fef12d1721c +TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-udev" + +termux_step_pre_configure() { + cd ${TERMUX_PKG_SRCDIR} + NOCONFIGURE=true ./autogen.sh +}