summaryrefslogtreecommitdiff
path: root/recipes
diff options
context:
space:
mode:
authorMichael 'Mickey' Lauer <mickey@vanille-media.de>2010-05-16 12:38:22 +0200
committerMichael 'Mickey' Lauer <mickey@vanille-media.de>2010-05-16 12:38:22 +0200
commit8b933151ce997ab3d2e7d8e18a0d81fae5753f41 (patch)
tree2c7f55f12c4fad4f926799469b2d9278f784dba3 /recipes
parentf77e87c45f788d0e3b36a1420c23c0d77ba10868 (diff)
nmon: new recipe; flexible ncurses-based performance monitor
Diffstat (limited to 'recipes')
-rw-r--r--recipes/nmon/nmon_13g.bb22
1 files changed, 22 insertions, 0 deletions
diff --git a/recipes/nmon/nmon_13g.bb b/recipes/nmon/nmon_13g.bb
new file mode 100644
index 0000000000..0aa4095c75
--- /dev/null
+++ b/recipes/nmon/nmon_13g.bb
@@ -0,0 +1,22 @@
+DESCRIPTION = "nmon performance monitor"
+HOMEPAGE = "http://nmon.sf.net"
+SECTION = "console/utils"
+LICENSE = "GPL"
+DEPENDS = "ncurses"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/nmon/lmon13g.c"
+
+SRC_URI[md5sum] = "b1b8e6c0123ad232394991f2d4f40494"
+SRC_URI[sha256sum] = "456ab2a342b31d1a352d0d940af5962fa65a12ae8757ff73e6e73210832ae8b5"
+
+CFLAGS += "-D JFS -D GETUSER -Wall -D LARGEMEM"
+LDFLAGS += "-lncurses"
+
+do_compile() {
+ ${CC} ${CFLAGS} ${LDFLAGS} ${WORKDIR}/lmon13g.c -o nmon
+}
+
+do_install() {
+ install -d ${D}${bindir}
+ install -m 0755 nmon ${D}${bindir}
+}