blob: 6bea16582f8a50e2bbd5a3d44020de3b32e9ab58 [file] [log] [blame]
Brad Bishopd7bf8c12018-02-25 22:55:05 -05001DESCRIPTION = "libftdi is a library to talk to FTDI chips.\
2FT232BM/245BM, FT2232C/D and FT232/245R using libusb,\
3including the popular bitbang mode."
4HOMEPAGE = "http://www.intra2net.com/en/developer/libftdi/"
5SECTION = "libs"
6
7LICENSE = "LGPLv2.1 & GPLv2"
8LIC_FILES_CHKSUM= "\
9 file://COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe \
10 file://COPYING.LIB;md5=5f30f0716dfdd0d91eb439ebec522ec2 \
11"
12
13DEPENDS = "libusb1"
14
15SRC_URI = "http://www.intra2net.com/en/developer/${BPN}/download/${BPN}1-${PV}.tar.bz2"
16
17SRC_URI[md5sum] = "0c09fb2bb19a57c839fa6845c6c780a2"
18SRC_URI[sha256sum] = "ec36fb49080f834690c24008328a5ef42d3cf584ef4060f3a35aa4681cb31b74"
19
20S = "${WORKDIR}/${BPN}1-${PV}"
21
22PACKAGECONFIG ??= ""
23PACKAGECONFIG[cpp-wrapper] = "-DFTDI_BUILD_CPP=on -DFTDIPP=on,-DFTDI_BUILD_CPP=off -DFTDIPP=off,boost"
24
25inherit cmake binconfig pkgconfig
26
27EXTRA_OECMAKE = "-DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')}"
28
29FILES_${PN}-dev += "${libdir}/cmake"
30
31BBCLASSEXTEND = "native"