2009-03-23 06:03:09 +01:00
|
|
|
# Template file for 'usbutils'
|
|
|
|
pkgname=usbutils
|
2012-03-13 07:26:49 +01:00
|
|
|
version=005
|
2012-05-24 08:08:24 +02:00
|
|
|
revision=1
|
2012-03-13 07:26:49 +01:00
|
|
|
homepage="http://linux-usb.sourceforge.net/"
|
2009-03-23 06:03:09 +01:00
|
|
|
short_desc="Linux USB utilities"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-03-13 07:26:49 +01:00
|
|
|
license="GPL-2"
|
2012-05-24 08:08:24 +02:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--datadir=/usr/share/hwdata --disable-zlib"
|
|
|
|
makedepends="pkg-config which libusb-devel"
|
|
|
|
fulldepends="hwids"
|
|
|
|
distfiles="ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${version}.tar.bz2"
|
2012-03-13 07:26:49 +01:00
|
|
|
checksum=a29e924cb726765e1b8d16e79d08aa142480606b46aa8467720b46f5767c1855
|
2009-03-23 06:03:09 +01:00
|
|
|
long_desc="
|
|
|
|
This package contains utilities for inspecting devices connected to a
|
|
|
|
USB bus."
|
|
|
|
|
2012-05-24 08:08:24 +02: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 13:45:43 +02:00
|
|
|
}
|