blob: 4fc6eb0907d06fc13d16bef16058ec48b14bd908 [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"
Brad Bishopd7bf8c12018-02-25 22:55:05 -05006LICENSE = "LGPLv2.1 & GPLv2"
7LIC_FILES_CHKSUM= "\
8 file://COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe \
9 file://COPYING.LIB;md5=5f30f0716dfdd0d91eb439ebec522ec2 \
10"
11
12DEPENDS = "libusb1"
13
14SRC_URI = "http://www.intra2net.com/en/developer/${BPN}/download/${BPN}1-${PV}.tar.bz2"
Brad Bishopd7bf8c12018-02-25 22:55:05 -050015SRC_URI[md5sum] = "0c09fb2bb19a57c839fa6845c6c780a2"
16SRC_URI[sha256sum] = "ec36fb49080f834690c24008328a5ef42d3cf584ef4060f3a35aa4681cb31b74"
17
18S = "${WORKDIR}/${BPN}1-${PV}"
19
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080020inherit cmake binconfig pkgconfig
21
Brad Bishopd7bf8c12018-02-25 22:55:05 -050022PACKAGECONFIG ??= ""
23PACKAGECONFIG[cpp-wrapper] = "-DFTDI_BUILD_CPP=on -DFTDIPP=on,-DFTDI_BUILD_CPP=off -DFTDIPP=off,boost"
24
Brad Bishopd7bf8c12018-02-25 22:55:05 -050025EXTRA_OECMAKE = "-DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')}"
26
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080027BBCLASSEXTEND = "native nativesdk"