aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-connectivity/gensio/gensio_2.5.2.bb
blob: d6b5f1987e6755b7d2cb52264f30284f9cdee75d (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
SUMMARY = "A library to abstract stream I/O like serial port, TCP, telnet, etc"
HOMEPAGE = "https://github.com/cminyard/gensio"
LICENSE = "GPL-2.0-only & LGPL-2.1-only"
LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=a0fd36908af843bcee10cb6dfc47fa67 \
                    file://COPYING;md5=bae3019b4c6dc4138c217864bd04331f \
                    "

SRCREV = "b6cd354afe6d5f63bc859c94fd3a455a3cdf0449"

SRC_URI = "git://github.com/cminyard/gensio;protocol=https;branch=master \
           file://0001-tools-gensiot-Fix-build-with-musl.patch \
           file://0001-configure-Check-for-request_init-API-when-probing-fo.patch \
"

S = "${WORKDIR}/git"

inherit autotools

PACKAGECONFIG ??= "openssl tcp-wrappers"

PACKAGECONFIG[openssl] = "--with-openssl=${STAGING_DIR_HOST}${prefix},--without-openssl, openssl"
PACKAGECONFIG[tcp-wrappers] = "--with-tcp-wrappers,--without-tcp-wrappers, tcp-wrappers"
PACKAGECONFIG[swig] = "--with-swig,--without-swig, swig"

EXTRA_OECONF = "--without-python"

RDEPENDS:${PN} += "bash"