xref: /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/picocom/picocom_git.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1SUMMARY = "Lightweight and minimal dumb-terminal emulation program"
2SECTION = "console/utils"
3LICENSE = "GPL-2.0-or-later"
4HOMEPAGE = "https://github.com/npat-efault/picocom"
5LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3000e4830620e310fe65c0eb69df9e8a"
6
7BASEPV = "3.1"
8PV = "${BASEPV}+git${SRCPV}"
9
10SRCREV = "90385aabe2b51f39fa130627d46b377569f82d4a"
11
12SRC_URI = "git://github.com/npat-efault/picocom;branch=master;protocol=https \
13           file://0001-Fix-building-with-musl.patch \
14           "
15
16S = "${WORKDIR}/git"
17
18EXTRA_OEMAKE = "'CC=${CC}' 'LD=${CC}' 'VERSION=${BASEPV}' \
19		'CFLAGS=${CFLAGS}' 'LDFLAGS=${LDFLAGS}' "
20
21do_install () {
22    install -d ${D}${bindir}
23    install -m 0755 ${BPN} pcasc pcxm pcym pczm ${D}${bindir}/
24}
25
26