summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--recipes-support/libmpsse/libmpsse_1.3.bb27
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 )
+}