blob: 5aefeb4705b10776d136278498e82fc0acc0e327 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/bin/bash
MAKEDEPS=(libusb wget)
DEPS=(libusb glibc hwdata coreutils python)
PKG_VER=014
SOURCE=https://www.kernel.org/pub/linux/utils/usb/usbutils/usbutils-$PKG_VER.tar.xz
DESC="A collection of USB tools to query connected USB devices"
build () {
./configure --prefix=/usr --datadir=/usr/share/hwdata &&
make
}
package () {
make DESTDIR=$PKG_DEST install
install -dm755 $PKG_DEST/usr/share/hwdata/ &&
wget http://www.linux-usb.org/usb.ids -O $PKG_DEST/usr/share/hwdata/usb.ids
}
|