summaryrefslogtreecommitdiff
path: root/usbutils/usbutils_0.11.oe
blob: f77908e8fd1103c5d1f9393a0504a34c9a2c3079 (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 

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