diff options
author | Qing He <qing.he@intel.com> | 2010-07-30 13:18:49 +0800 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-06 18:28:27 +0100 |
commit | 0bb1016de129f3d3cb02b4ae67554ecdcd368df4 (patch) | |
tree | d5746fb39be1bb963c9c181a248c5e33464fad26 /meta/packages/usbutils | |
parent | 680f8bf8ae8a850327d68fb24c7ee0c8631d2e45 (diff) | |
download | poky-0bb1016de129f3d3cb02b4ae67554ecdcd368df4.tar.gz |
usbutils: upgrade to version 0.86
from 0.72
changes:
- package new usbutils.pc
- move binaries into /usr/{bin,sbin} as default. udev uses only
usb.ids instead of binaries
- remove DEFAULT_PREFERENCE
- symbolic link /usr/sbin/lsusb to /usr/bin, lsusb can be used by
non-root, inspired by Debian
- separate usb.ids to a new package usbutils-ids, for finer grained
control, inspired by pciutils, also usbutils RDEPENDS on
usbutils-ids
- don't rm ${S}/libusb any more, since usbutils now doesn't bundle
an included libusb
Signed-off-by: Qing He <qing.he@intel.com>
Diffstat (limited to 'meta/packages/usbutils')
-rw-r--r-- | meta/packages/usbutils/usbutils_0.72.bb | 21 | ||||
-rw-r--r-- | meta/packages/usbutils/usbutils_0.86.bb | 24 |
2 files changed, 24 insertions, 21 deletions
diff --git a/meta/packages/usbutils/usbutils_0.72.bb b/meta/packages/usbutils/usbutils_0.72.bb deleted file mode 100644 index 0dbd799993..0000000000 --- a/meta/packages/usbutils/usbutils_0.72.bb +++ /dev/null | |||
@@ -1,21 +0,0 @@ | |||
1 | DESCRIPTION = "Host side USB console utilities." | ||
2 | SECTION = "base" | ||
3 | DEPENDS += "libusb" | ||
4 | LICENSE = "GPL" | ||
5 | PRIORITY = "optional" | ||
6 | DEFAULT_PREFERENCE = "1" | ||
7 | |||
8 | SRC_URI = "${SOURCEFORGE_MIRROR}/linux-usb/usbutils-${PV}.tar.gz" | ||
9 | S = "${WORKDIR}/usbutils-${PV}" | ||
10 | |||
11 | inherit autotools | ||
12 | |||
13 | EXTRA_OECONF = "--program-prefix=" | ||
14 | sbindir = "/sbin" | ||
15 | bindir = "/bin" | ||
16 | |||
17 | FILES_${PN} += "${datadir}/usb*" | ||
18 | |||
19 | do_configure_prepend() { | ||
20 | rm -rf ${S}/libusb | ||
21 | } | ||
diff --git a/meta/packages/usbutils/usbutils_0.86.bb b/meta/packages/usbutils/usbutils_0.86.bb new file mode 100644 index 0000000000..8e4a3da453 --- /dev/null +++ b/meta/packages/usbutils/usbutils_0.86.bb | |||
@@ -0,0 +1,24 @@ | |||
1 | DESCRIPTION = "Host side USB console utilities." | ||
2 | HOMEPAGE = "http://www.linux-usb.org" | ||
3 | SECTION = "base" | ||
4 | PRIORITY = "optional" | ||
5 | |||
6 | LICENSE = "GPLv2+" | ||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" | ||
8 | |||
9 | DEPENDS = "libusb zlib" | ||
10 | RDEPENDS_${PN} = "${PN}-ids" | ||
11 | PR = "r0" | ||
12 | |||
13 | SRC_URI = "${SOURCEFORGE_MIRROR}/linux-usb/usbutils-${PV}.tar.gz" | ||
14 | |||
15 | inherit autotools | ||
16 | |||
17 | do_install_append() { | ||
18 | ln -s ../sbin/lsusb ${D}${bindir}/lsusb | ||
19 | } | ||
20 | |||
21 | PACKAGES += "${PN}-ids" | ||
22 | |||
23 | FILES_${PN} += "${datadir}/pkgconfig" | ||
24 | FILES_${PN}-ids = "${datadir}/usb*" | ||