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