diff options
author | Jesse Gilles <jgilles@multitech.com> | 2015-04-01 17:09:17 -0500 |
---|---|---|
committer | Jesse Gilles <jgilles@multitech.com> | 2015-04-01 17:09:17 -0500 |
commit | 721e7dea0ee283ccdb84d75647f0c97a4c22911f (patch) | |
tree | e0c5bbda5f3b73cf2d79a331a1cfa044f4094e53 /recipes-support/libmpsse/libmpsse_1.3.bb | |
parent | bb625077dad62fd11dd3a20c9b230c7efb8eaba4 (diff) | |
download | meta-mlinux-721e7dea0ee283ccdb84d75647f0c97a4c22911f.tar.gz meta-mlinux-721e7dea0ee283ccdb84d75647f0c97a4c22911f.tar.bz2 meta-mlinux-721e7dea0ee283ccdb84d75647f0c97a4c22911f.zip |
add libmpsse_1.3.bb
Diffstat (limited to 'recipes-support/libmpsse/libmpsse_1.3.bb')
-rw-r--r-- | recipes-support/libmpsse/libmpsse_1.3.bb | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/recipes-support/libmpsse/libmpsse_1.3.bb b/recipes-support/libmpsse/libmpsse_1.3.bb new file mode 100644 index 0000000..e534281 --- /dev/null +++ b/recipes-support/libmpsse/libmpsse_1.3.bb @@ -0,0 +1,27 @@ +DESCRIPTION = "FTDI Libmpsse Library" +HOMEPAGE = "http://googlecode.com/" +PRIORITY = "optional" +SECTION = "console/utils" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +PR = "r1" + +DEPENDS = "libftdi" + +SRC_URI = "http://libmpsse.googlecode.com/files/libmpsse-1.3.tar.gz" + +SRC_URI[md5sum] = "628eb9a7d7250070f5841ed44a248f84" +SRC_URI[sha256sum] = "08f2a0025074720d40e29430089b1ab78d764756cc5d2bcb3148d98131b4074b" + +S = "${WORKDIR}/libmpsse-${PV}/src" + +inherit autotools + +EXTRA_OECONF += "--disable-python" +CFLAGS += "-DLIBFTDI1=1" + +do_install_append() { + mv ${D}${libdir}/libmpsse.so ${D}${libdir}/libmpsse.so.1 + ( cd ${D}${libdir}; ln -s libmpsse.so.1 libmpsse.so ) +} |