milis/talimatname/genel/usbutils/talimat

24 lines
530 B
Plaintext

# Description: USB Device Utilities
# URL: http://downloads.sourceforge.net/linux-usb/
# Packager: pierre at nutyx dot org
# Depends on: libusb-compat
run=( wget )
name=usbutils
version=008
release=1
source=(http://www.kernel.org/pub/linux/utils/usb/usbutils/usbutils-$version.tar.xz)
build() {
cd $name-$version
sed -i '/^usbids/ s:usb.ids:hwdata/&:' lsusb.py
./configure --prefix=/usr \
--datadir=/usr/share/hwdata \
--disable-zlib \
--datadir=/usr/share/misc
mkdir -p $PKG/usr/share/hwdata
make
make DESTDIR=$PKG install
}