milis/talimatname/genel/usbutils/talimat

23 lines
521 B
Plaintext
Raw Normal View History

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
# Depends on: libusb-compat wget
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
}