aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/serialcheck/serialcheck_1.0.0.bb
blob: 797ec0e7b2aa6745eb85c9b9692dc31f61e88b7c (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
28
29
30
31
SUMMARY = "Application to verify operation of serial ports"
HOMEPAGE = "https://github.com/nsekhar/serialcheck"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"

SRC_URI = " \
    git://github.com/nsekhar/serialcheck.git;branch=master;protocol=https \
"

SRCREV = "45eb2ffa5378396e85432872833890b0a1cba872"

S = "${WORKDIR}/git"

inherit autotools

DEPENDS:append:libc-musl = " argp-standalone"
EXTRA_OEMAKE:append:libc-musl = " LIBS='-largp'"

PACKAGE_BEFORE_PN += "${PN}-stats"

do_install() {
    install -d ${D}${bindir}
    install ${B}/serialcheck ${D}${bindir}
    install ${B}/serialstats ${D}${bindir}
    install -d ${D}${docdir}/${BP}
    install ${S}/README ${D}${docdir}/${BP}
}

FILES:${PN}-stats = "${bindir}/serialstats"

BBCLASSEXTEND = "nativesdk"