summaryrefslogtreecommitdiff
path: root/usbutils/usbutils_0.11.oe
blob: e8e8478a2969ceba8cb8e1438e681eabee7ea62f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
DESCRIPTION = "USB console utilities."
SECTION = "base"
PR = "r1"

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"

FILES_${PN} += "${datadir}"

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