summaryrefslogtreecommitdiffstats
path: root/meta/packages/libusb/libusb_0.1.12.bb
blob: f40d32fe944dcc5432353f89e948aa6ea47d6bcc (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
27
28
29
DESCRIPTION = "libusb is a library to provide userspace \
access to USB devices. This is 0.1 legacy version"
HOMEPAGE = "http://www.libusb.org"
SECTION = "libs"

# usb.h.in and usb.h.in are under dual license of LGPL|BSD
# COPYING is presented as LGPLv2.1+ but not used

LICENSE = "LGPLv2+ & ( LGPLv2+ | BSD )"
LICENSE_libusb = "LGPLv2+"
LICENSE_libusb-dev = "LGPLv2+ | BSD"
LIC_FILES_CHKSUM = "file://LICENSE;md5=f2ac5f3ac4835e8f91324a26a590a423"
PR = "r5"

SRC_URI = "${SOURCEFORGE_MIRROR}/libusb/libusb-${PV}.tar.gz \
           file://configure_fix.patch;apply=yes"

inherit autotools pkgconfig binconfig lib_package

PARALLEL_MAKE = ""
EXTRA_OECONF = "--disable-build-docs"

export CXXFLAGS += "-lstdc++"

PACKAGES =+ "libusbpp"

FILES_libusbpp = "${libdir}/libusbpp*.so.*"

BBCLASSEXTEND = "native"