summaryrefslogtreecommitdiff
path: root/usbutils/usbutils_0.11.oe
blob: c66962852baae7614602ff644b7aed6c75e7236c (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://${FILESDIR}/configure.patch;patch=1"
S = "${WORKDIR}/usbutils-${PV}"

inherit autotools libtool

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)
}