2009-03-23 05:03:09 +00:00
|
|
|
# Template file for 'usbutils'
|
|
|
|
pkgname=usbutils
|
2012-07-08 15:32:20 +00:00
|
|
|
version=006
|
2012-05-24 06:08:24 +00:00
|
|
|
revision=1
|
2013-04-14 13:20:19 +00:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--datadir=/usr/share/hwdata --disable-zlib"
|
|
|
|
hostmakedepends="pkg-config which hwids"
|
|
|
|
makedepends="libusb-devel"
|
2012-03-13 06:26:49 +00:00
|
|
|
homepage="http://linux-usb.sourceforge.net/"
|
2009-03-23 05:03:09 +00:00
|
|
|
short_desc="Linux USB utilities"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-03-13 06:26:49 +00:00
|
|
|
license="GPL-2"
|
2012-07-08 15:32:20 +00:00
|
|
|
distfiles="${KERNEL_SITE}/utils/usb/$pkgname/${pkgname}-${version}.tar.xz"
|
|
|
|
checksum=d9b5b5e7e5f797896e42efaa0a1f83089210bfed79312c1f04dd30b4f729ed0e
|
2009-03-23 05:03:09 +00:00
|
|
|
long_desc="
|
|
|
|
This package contains utilities for inspecting devices connected to a
|
|
|
|
USB bus."
|
|
|
|
|
2012-05-24 06:08:24 +00:00
|
|
|
post_install() {
|
|
|
|
# Remove lsusb.py - avoid useless python scripts
|
|
|
|
rm -f ${DESTDIR}/usr/bin/lsusb.py
|
|
|
|
# Remove usb ids - provided by hwids
|
|
|
|
rm -rf ${DESTDIR}/usr/share/hwdata
|
|
|
|
# Remove update-usbids.sh - handled by hwids
|
|
|
|
rm -f ${DESTDIR}/usr/sbin/update-usbids.sh
|
2009-09-30 11:45:43 +00:00
|
|
|
}
|
2013-04-14 13:20:19 +00:00
|
|
|
|
|
|
|
usbutils_package() {
|
|
|
|
depends="hwids"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|