aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/picocom/picocom_git.bb
blob: cc0d88faca7323af9c6b391d679a5980655bf1ac (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
SUMMARY = "Lightweight and minimal dumb-terminal emulation program"
SECTION = "console/utils"
LICENSE = "GPL-2.0-or-later"
HOMEPAGE = "https://gitlab.com/wsakernel/picocom"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3000e4830620e310fe65c0eb69df9e8a"

BASEPV = "2023-04"
PV = "${BASEPV}+git"

SRCREV = "12537df0314767d5af35bddddbbca3694e6a0342"

SRC_URI = "git://gitlab.com/wsakernel/picocom;branch=master;protocol=https \
           "

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}/
}