mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-22 17:17:03 +02:00
usbutils: update to 012.
Add autogen, automake, and libtool to hostmakedepends
This commit is contained in:
parent
30c71064b5
commit
0676f7dd8d
1 changed files with 14 additions and 3 deletions
|
@ -1,10 +1,10 @@
|
|||
# Template file for 'usbutils'
|
||||
pkgname=usbutils
|
||||
version=010
|
||||
version=012
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
configure_args="--datadir=/usr/share/hwdata --disable-zlib"
|
||||
hostmakedepends="pkg-config"
|
||||
hostmakedepends="autogen automake libtool pkg-config"
|
||||
makedepends="eudev-libudev-devel libusb-devel"
|
||||
depends="hwids"
|
||||
short_desc="Linux USB utilities"
|
||||
|
@ -13,7 +13,18 @@ license="GPL-2.0-only"
|
|||
homepage="http://linux-usb.sourceforge.net/"
|
||||
#changelog="https://raw.githubusercontent.com/gregkh/usbutils/master/NEWS"
|
||||
distfiles="${KERNEL_SITE}/utils/usb/usbutils/usbutils-${version}.tar.xz"
|
||||
checksum=61c7364bb4986fb05e5067e4ac5585b1299b664c57f761caecd2e9e724794a19
|
||||
checksum=88634625f91840bc1993d2731cc081ee8d3b13d56069a95bdd6ac6ef0e063e46
|
||||
|
||||
pre_configure() {
|
||||
local autogen_args
|
||||
autogen_args="--prefix=/usr"
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
autogen_args+="--build=${XBPS_CROSS_TRIPLET} --host=${XBPS_CROSS_TRIPLET}"
|
||||
fi
|
||||
|
||||
./autogen.sh ${autogen_args}
|
||||
}
|
||||
|
||||
post_install() {
|
||||
# Remove lsusb.py - avoid useless python scripts
|
||||
|
|
Loading…
Add table
Reference in a new issue