summaryrefslogtreecommitdiff
path: root/recipes-support/libmpsse/libmpsse_1.3.bb
blob: e5342812e8241cbad2af417865c07edaf0540527 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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 )
}