diff options
| author | Martin Jansa <Martin.Jansa@gmail.com> | 2011-05-29 22:10:00 +0200 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2011-05-30 11:28:58 +0200 |
| commit | 71565bbff3f693546ee32537cf05762d08131edc (patch) | |
| tree | 4c31e837e08be46eb4eb7d01b609bfcc65d740fe /meta-oe/recipes-support/nmon | |
| parent | 6c521508198f0ac9b7632822f848d3bf49aa3c8d (diff) | |
| download | meta-openembedded-71565bbff3f693546ee32537cf05762d08131edc.tar.gz | |
nmon: import from OE rev d4f0211e2078d5033ae0dee74664de5520d8392d
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/nmon')
| -rw-r--r-- | meta-oe/recipes-support/nmon/nmon_13g.bb | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/nmon/nmon_13g.bb b/meta-oe/recipes-support/nmon/nmon_13g.bb new file mode 100644 index 0000000000..ffe5d06309 --- /dev/null +++ b/meta-oe/recipes-support/nmon/nmon_13g.bb | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | DESCRIPTION = "nmon performance monitor" | ||
| 2 | HOMEPAGE = "http://nmon.sf.net" | ||
| 3 | SECTION = "console/utils" | ||
| 4 | LICENSE = "GPLv3" | ||
| 5 | LIC_FILES_CHKSUM = "file://${WORKDIR}/Documentation.txt;md5=dbb13658cf55d687c4f2ff771a696d4a" | ||
| 6 | DEPENDS = "ncurses" | ||
| 7 | PR = "r1" | ||
| 8 | |||
| 9 | SRC_URI = "${SOURCEFORGE_MIRROR}/nmon/lmon13g.c;name=lmon \ | ||
| 10 | ${SOURCEFORGE_MIRROR}/nmon/Documentation.txt;name=doc \ | ||
| 11 | " | ||
| 12 | |||
| 13 | SRC_URI[lmon.md5sum] = "b1b8e6c0123ad232394991f2d4f40494" | ||
| 14 | SRC_URI[lmon.sha256sum] = "456ab2a342b31d1a352d0d940af5962fa65a12ae8757ff73e6e73210832ae8b5" | ||
| 15 | SRC_URI[doc.md5sum] = "dbb13658cf55d687c4f2ff771a696d4a" | ||
| 16 | SRC_URI[doc.sha256sum] = "1f7f83afe62a7210be5e83cd24157adb854c14599efe0b377a7ecca933869278" | ||
| 17 | |||
| 18 | CFLAGS += "-D JFS -D GETUSER -Wall -D LARGEMEM" | ||
| 19 | LDFLAGS += "-lncursesw" | ||
| 20 | ASNEEDED_pn-nmon = "" | ||
| 21 | |||
| 22 | do_compile() { | ||
| 23 | ${CC} ${CFLAGS} ${LDFLAGS} ${WORKDIR}/lmon13g.c -o nmon | ||
| 24 | } | ||
| 25 | |||
| 26 | do_install() { | ||
| 27 | install -d ${D}${bindir} | ||
| 28 | install -m 0755 nmon ${D}${bindir} | ||
| 29 | } | ||
