termux-packages/packages/libusb/build.sh

15 lines
559 B
Bash
Raw Normal View History

2019-10-07 01:55:19 +02:00
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_MAINTAINER="@termux"
2020-12-18 21:06:29 +01:00
TERMUX_PKG_VERSION=1.0.24
2019-10-07 01:55:19 +02:00
TERMUX_PKG_SRCURL=https://github.com/libusb/libusb/archive/v${TERMUX_PKG_VERSION}.tar.gz
2020-12-18 21:06:29 +01:00
TERMUX_PKG_SHA256=b7724c272dfc5713dce88ff717efd60f021ca5b7c8e30f08ebb2c42d2eea08ae
2019-10-07 01:55:19 +02:00
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
}