mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-14 02:53:50 +02:00
Added usbutils-0.73 template.
--HG-- extra : convert_revision : 2e436812dad21702348de77e9cac201da6a54a3a
This commit is contained in:
parent
835b9b5c17
commit
d59879890b
1 changed files with 31 additions and 0 deletions
31
templates/usbutils/template
Normal file
31
templates/usbutils/template
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
# Template file for 'usbutils'
|
||||||
|
pkgname=usbutils
|
||||||
|
version=0.73
|
||||||
|
distfiles="${SOURCEFORGE_SITE}/linux-usb/$pkgname-$version.tar.gz"
|
||||||
|
build_style=gnu_configure
|
||||||
|
configure_args="--datadir=/usr/share/hwdata --enable-usbmodules
|
||||||
|
--disable-zlib"
|
||||||
|
short_desc="Linux USB utilities"
|
||||||
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
checksum=2edc7cc98fd217f6980d8ba0b3792beed4695d4e8429a11c7237faab04ab47f4
|
||||||
|
long_desc="
|
||||||
|
This package contains utilities for inspecting devices connected to a
|
||||||
|
USB bus."
|
||||||
|
|
||||||
|
Add_dependency full glibc
|
||||||
|
Add_dependency full libusb-compat
|
||||||
|
Add_dependency build which
|
||||||
|
Add_dependency build wget
|
||||||
|
|
||||||
|
pre_configure()
|
||||||
|
{
|
||||||
|
cd $wrksrc
|
||||||
|
./update-usbids.sh
|
||||||
|
sed -i 's|DEST=|&/usr/share/hwdata/|' update-usbids.sh
|
||||||
|
}
|
||||||
|
|
||||||
|
post_install()
|
||||||
|
{
|
||||||
|
install -D -m755 $wrksrc/update-usbids.sh \
|
||||||
|
${DESTDIR}/usr/sbin/update-usbids
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue