diff options
Diffstat (limited to 'meta-oe/recipes-support/libftdi/libftdi_1.3.bb')
| -rw-r--r-- | meta-oe/recipes-support/libftdi/libftdi_1.3.bb | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/libftdi/libftdi_1.3.bb b/meta-oe/recipes-support/libftdi/libftdi_1.3.bb new file mode 100644 index 0000000000..5eee0dbf3f --- /dev/null +++ b/meta-oe/recipes-support/libftdi/libftdi_1.3.bb | |||
| @@ -0,0 +1,31 @@ | |||
| 1 | DESCRIPTION = "libftdi is a library to talk to FTDI chips.\ | ||
| 2 | FT232BM/245BM, FT2232C/D and FT232/245R using libusb,\ | ||
| 3 | including the popular bitbang mode." | ||
| 4 | HOMEPAGE = "http://www.intra2net.com/en/developer/libftdi/" | ||
| 5 | SECTION = "libs" | ||
| 6 | |||
| 7 | LICENSE = "LGPLv2.1 & GPLv2" | ||
| 8 | LIC_FILES_CHKSUM= "\ | ||
| 9 | file://COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe \ | ||
| 10 | file://COPYING.LIB;md5=5f30f0716dfdd0d91eb439ebec522ec2 \ | ||
| 11 | " | ||
| 12 | |||
| 13 | DEPENDS = "libusb1" | ||
| 14 | |||
| 15 | SRC_URI = "http://www.intra2net.com/en/developer/${BPN}/download/${BPN}1-${PV}.tar.bz2" | ||
| 16 | |||
| 17 | SRC_URI[md5sum] = "156cdf40cece9f8a3ce1582db59a502a" | ||
| 18 | SRC_URI[sha256sum] = "9a8c95c94bfbcf36584a0a58a6e2003d9b133213d9202b76aec76302ffaa81f4" | ||
| 19 | |||
| 20 | S = "${WORKDIR}/${BPN}1-${PV}" | ||
| 21 | |||
| 22 | PACKAGECONFIG ??= "" | ||
| 23 | PACKAGECONFIG[cpp-wrapper] = "-DFTDI_BUILD_CPP=on -DFTDIPP=on,-DFTDI_BUILD_CPP=off -DFTDIPP=off,boost" | ||
| 24 | |||
| 25 | inherit cmake binconfig pkgconfig | ||
| 26 | |||
| 27 | EXTRA_OECMAKE = "-DLIB_SUFFIX=${@d.getVar('baselib', True).replace('lib', '')}" | ||
| 28 | |||
| 29 | FILES_${PN}-dev += "${libdir}/cmake" | ||
| 30 | |||
| 31 | BBCLASSEXTEND = "native" | ||
