mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-15 16:07:26 +00:00
8731b7c103
Adding UPSTREAM_CHECK_URI and UPSTREAM_CHECK_REGEX fix UNKNOWN_BROKEN status from running devtool check-upgrade-status. The next version of the package can be found from upstream sources. Signed-off-by: Alexandre Truong <alexandre.truong@smile.fr> Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
35 lines
1.1 KiB
BlitzBasic
35 lines
1.1 KiB
BlitzBasic
SUMMARY = "nmon performance monitor"
|
|
HOMEPAGE = "http://nmon.sf.net"
|
|
SECTION = "console/utils"
|
|
LICENSE = "GPL-3.0-only"
|
|
LIC_FILES_CHKSUM = "file://Documentation.txt;md5=dbb13658cf55d687c4f2ff771a696d4a"
|
|
DEPENDS = "ncurses"
|
|
DEPENDS:append:libc-musl = " bsd-headers"
|
|
|
|
SRC_URI = "${SOURCEFORGE_MIRROR}/nmon/lmon${PV}.c;name=lmon \
|
|
${SOURCEFORGE_MIRROR}/nmon/Documentation.txt;name=doc \
|
|
file://0001-lmon16g.c-Adjust-system-headers.patch \
|
|
file://0001-Fix-a-lot-of-Werror-format-security-errors-with-mvpr.patch \
|
|
"
|
|
SRC_URI[lmon.sha256sum] = "2bed4d45fdfdf1d1387ec91e139c04975d5f838e3e0d53c0fe2d803a707e5fc1"
|
|
SRC_URI[doc.sha256sum] = "1f7f83afe62a7210be5e83cd24157adb854c14599efe0b377a7ecca933869278"
|
|
|
|
UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/nmon/files/"
|
|
UPSTREAM_CHECK_REGEX = "lmon(?P<pver>.*).c"
|
|
|
|
CFLAGS += "-D JFS -D GETUSER -Wall -D LARGEMEM"
|
|
LDFLAGS += "-ltinfo -lncursesw -lm"
|
|
ASNEEDED:pn-nmon = ""
|
|
|
|
S = "${WORKDIR}/sources"
|
|
UNPACKDIR = "${S}"
|
|
|
|
do_compile() {
|
|
${CC} ${CFLAGS} ${LDFLAGS} lmon${PV}.c -o nmon
|
|
}
|
|
|
|
do_install() {
|
|
install -d ${D}${bindir}
|
|
install -m 0755 nmon ${D}${bindir}
|
|
}
|