aboutsummaryrefslogtreecommitdiffstats
path: root/usbutils/usbutils_0.11+cvs20041108.oe
blob: 1a7bcde941c61c7ab6b374197cddb195aa66455b (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
26
LICENSE = GPL
DESCRIPTION = "USB console utilities."
SECTION = "base"
DEPENDS += "libusb"

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

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