milis/talimatname/genel/u/usbutils/talimat

23 lines
501 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
2017-10-28 14:10:23 +02:00
isim=usbutils
surum=008
devir=1
2016-02-24 01:27:23 +01:00
2017-10-28 14:10:23 +02:00
kaynak=(http://www.kernel.org/pub/linux/utils/usb/usbutils/usbutils-$surum.tar.xz)
2016-02-24 01:27:23 +01:00
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd $isim-$surum
2016-02-24 01:27:23 +01:00
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
}