mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-26 07:37:14 +00:00
f28bbce096
refresh patches Signed-off-by: Jason Schonberg <schonm@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
34 lines
1.1 KiB
BlitzBasic
34 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] = "c0012cc2d925dee940c37ceae297abac64ba5a5c30e575e7418b04028613f5f2"
|
|
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 = "${UNPACKDIR}"
|
|
|
|
do_compile() {
|
|
${CC} ${CFLAGS} ${LDFLAGS} lmon${PV}.c -o nmon
|
|
}
|
|
|
|
do_install() {
|
|
install -d ${D}${bindir}
|
|
install -m 0755 nmon ${D}${bindir}
|
|
}
|