summaryrefslogtreecommitdiff
path: root/usbutils/usbutils_0.11.oe
blob: d96634c4dcf1774c2682920a2f5a61d05d8aa30a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
DEPENDS = "virtual/libc"
DESCRIPTION = "USB console utilities."

SRC_URI = "http://wwwbode.cs.tum.edu/Par/arch/usb/download/usbutils/usbutils-${PV}.tar.gz \
	   file://configure.patch;patch=1"
S = "${WORKDIR}/usbutils-${PV}"

inherit autotools 

EXTRA_OECONF = "--program-prefix="
sbindir = "/sbin"
bindir = "/bin"

libusb_remove () {
	cd ${S}
	rm -rf libusb
}

python do_unpack () {
	oe.build.exec_func('base_do_unpack', d)
	oe.build.exec_func('libusb_remove', d)
}