2017-04-20 10:33:03 +02:00
|
|
|
|
# Description: USB Aygıt Yardımcı Programları
|
2016-02-24 01:27:23 +01:00
|
|
|
|
# URL: http://downloads.sourceforge.net/linux-usb/
|
2017-04-20 10:33:03 +02:00
|
|
|
|
# Packager: milisarge
|
2017-04-20 16:46:01 +02:00
|
|
|
|
# Depends on: libusb-compat
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
}
|