milis/talimatname/genel/u/usbutils/talimat

23 lines
509 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: USB Aygıt Yardımcı Programları
2016-02-24 01:27:23 +01:00
# URL: http://downloads.sourceforge.net/linux-usb/
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: 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
}