diff options
| author | Saul Wold <sgw@linux.intel.com> | 2012-11-30 10:31:31 -0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-12-06 12:31:00 +0000 |
| commit | 30ce005e3fca7ff33ba99a6e0dded256ca85e6eb (patch) | |
| tree | b16b9475fbe32c32c2386ed41beb63e7afa7c3a1 /meta/recipes-support/libusb/libusb-compat_0.1.4.bb | |
| parent | 381c4b69c7e8b452f4d3de2f8214e6e5f6a9abe7 (diff) | |
| download | poky-30ce005e3fca7ff33ba99a6e0dded256ca85e6eb.tar.gz | |
libusb-compat: Update to 0.1.4
(From OE-Core rev: d7fd4b457ee5b5fedd9cf9d739854c2a8cbb480e)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/libusb/libusb-compat_0.1.4.bb')
| -rw-r--r-- | meta/recipes-support/libusb/libusb-compat_0.1.4.bb | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/meta/recipes-support/libusb/libusb-compat_0.1.4.bb b/meta/recipes-support/libusb/libusb-compat_0.1.4.bb new file mode 100644 index 0000000000..24df017d21 --- /dev/null +++ b/meta/recipes-support/libusb/libusb-compat_0.1.4.bb | |||
| @@ -0,0 +1,37 @@ | |||
| 1 | DESCRIPTION = "libusb-0.1 compatible layer for libusb1, a drop-in replacement \ | ||
| 2 | that aims to look, feel and behave exactly like libusb-0.1" | ||
| 3 | HOMEPAGE = "http://www.libusb.org/" | ||
| 4 | BUGTRACKER = "http://www.libusb.org/report" | ||
| 5 | SECTION = "libs" | ||
| 6 | |||
| 7 | LICENSE = "LGPLv2.1+" | ||
| 8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=f2ac5f3ac4835e8f91324a26a590a423" | ||
| 9 | DEPENDS = "libusb1" | ||
| 10 | |||
| 11 | # Few packages are known not to work with libusb-compat (e.g. libmtp-1.0.0), | ||
| 12 | # so here libusb-0.1 is removed completely instead of adding virtual/libusb0. | ||
| 13 | # Besides, libusb-0.1 uses a per 1ms polling that hurts a lot to power | ||
| 14 | # consumption. | ||
| 15 | PROVIDES = "libusb virtual/libusb0" | ||
| 16 | BBCLASSEXTEND = "native nativesdk" | ||
| 17 | |||
| 18 | PE = "1" | ||
| 19 | PR = "r0" | ||
| 20 | |||
| 21 | SRC_URI = "${SOURCEFORGE_MIRROR}/libusb/libusb-compat-${PV}.tar.bz2 \ | ||
| 22 | " | ||
| 23 | # file://0.1.0-beta1-gcc3.4-fix.patch" | ||
| 24 | |||
| 25 | SRC_URI[md5sum] = "2ca521fffadd0c28fdf174e6ec73865b" | ||
| 26 | SRC_URI[sha256sum] = "ed5bdd160c7b01ef767fb931a81b454f46226d1e2cf58502ced758d3e5a9fdc4" | ||
| 27 | |||
| 28 | inherit autotools pkgconfig binconfig lib_package | ||
| 29 | |||
| 30 | EXTRA_OECONF = "--libdir=${base_libdir}" | ||
| 31 | |||
| 32 | do_install_append() { | ||
| 33 | install -d ${D}${libdir} | ||
| 34 | if [ ! ${D}${libdir} -ef ${D}${base_libdir} ]; then | ||
| 35 | mv ${D}${base_libdir}/pkgconfig ${D}${libdir} | ||
| 36 | fi | ||
| 37 | } | ||
