blob: 7729207d277cb51da7d9fe6caa7bb52cf18331ba (
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 = "r2"
DEPENDS = "libftdi"
SRC_URI = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/libmpsse/libmpsse-1.3.tar.gz"
SRC_URI[md5sum] = "628eb9a7d7250070f5841ed44a248f84"
SRC_URI[sha256sum] = "08f2a0025074720d40e29430089b1ab78d764756cc5d2bcb3148d98131b4074b"
S = "${WORKDIR}/libmpsse-${PV}/src"
inherit autotools-brokensep
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 )
}
|