From ae88e6c8749cc987fbce83afa7a90d8a14ca1221 Mon Sep 17 00:00:00 2001 From: Boundary Effect Date: Mon, 7 Oct 2019 01:55:19 +0200 Subject: [PATCH] libusb: Move from termux-root-packages --- packages/libusb/build.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 packages/libusb/build.sh diff --git a/packages/libusb/build.sh b/packages/libusb/build.sh new file mode 100644 index 000000000..1fdd820c2 --- /dev/null +++ b/packages/libusb/build.sh @@ -0,0 +1,13 @@ +TERMUX_PKG_HOMEPAGE=https://libusb.info/ +TERMUX_PKG_DESCRIPTION="A C library that provides generic access to USB devices" +TERMUX_PKG_LICENSE="LGPL-2.1" +TERMUX_PKG_VERSION=1.0.23 +TERMUX_PKG_SRCURL=https://github.com/libusb/libusb/archive/v${TERMUX_PKG_VERSION}.tar.gz +TERMUX_PKG_SHA256=02620708c4eea7e736240a623b0b156650c39bfa93a14bcfa5f3e05270313eba +TERMUX_PKG_BREAKS="libusb-dev" +TERMUX_PKG_REPLACES="libusb-dev" +TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-udev" + +termux_step_pre_configure() { + NOCONFIGURE=true ./autogen.sh +}