blob: 29abfe1af5d37bbe29ad7a1c68952acfea4bc0f2 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001SUMMARY = "Application to verify operation of serial ports"
Andrew Geissler89770b02020-06-13 10:40:47 -05002HOMEPAGE = "https://github.com/nsekhar/serialcheck"
Andrew Geissler9aee5002022-03-30 16:27:02 +00003LICENSE = "GPL-2.0-only"
Patrick Williamsb48b7b42016-08-17 15:04:38 -05004LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
5
Andrew Geissler89770b02020-06-13 10:40:47 -05006SRC_URI = " \
Andrew Geissler595f6302022-01-24 19:11:47 +00007 git://github.com/nsekhar/serialcheck.git;branch=master;protocol=https \
Andrew Geissler89770b02020-06-13 10:40:47 -05008"
Patrick Williamsb48b7b42016-08-17 15:04:38 -05009
Andrew Geissler89770b02020-06-13 10:40:47 -050010SRCREV = "45eb2ffa5378396e85432872833890b0a1cba872"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050011
12S = "${WORKDIR}/git"
13
Andrew Geissler89770b02020-06-13 10:40:47 -050014inherit autotools
Patrick Williamsb48b7b42016-08-17 15:04:38 -050015
Patrick Williams213cb262021-08-07 19:21:33 -050016DEPENDS:append:libc-musl = " argp-standalone"
17EXTRA_OEMAKE:append:libc-musl = " LIBS='-largp'"
Andrew Geissler89770b02020-06-13 10:40:47 -050018
19PACKAGE_BEFORE_PN += "${PN}-stats"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050020
21do_install() {
22 install -d ${D}${bindir}
Andrew Geissler89770b02020-06-13 10:40:47 -050023 install ${B}/serialcheck ${D}${bindir}
24 install ${B}/serialstats ${D}${bindir}
Patrick Williamsb48b7b42016-08-17 15:04:38 -050025 install -d ${D}${docdir}/${BP}
Andrew Geissler89770b02020-06-13 10:40:47 -050026 install ${S}/README ${D}${docdir}/${BP}
Patrick Williamsb48b7b42016-08-17 15:04:38 -050027}
Andrew Geissler89770b02020-06-13 10:40:47 -050028
Patrick Williams213cb262021-08-07 19:21:33 -050029FILES:${PN}-stats = "${bindir}/serialstats"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050030
31BBCLASSEXTEND = "nativesdk"