diff options
author | Tudor Florea <tudor.florea@enea.com> | 2015-10-08 22:51:41 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2015-10-08 22:51:41 +0200 |
commit | 1219bf8a90a7bf8cd3a5363551ef635d51e8fc8e (patch) | |
tree | a21a5fc103bb3bd65ecd85ed22be5228fc54e447 /meta-oe/recipes-support/nmon | |
download | meta-openembedded-1219bf8a90a7bf8cd3a5363551ef635d51e8fc8e.tar.gz |
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.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 000000000..1f7518972 --- /dev/null +++ b/meta-oe/recipes-support/nmon/nmon_13g.bb | |||
@@ -0,0 +1,29 @@ | |||
1 | SUMMARY = "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 = "r2" | ||
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 += "-ltinfo -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 | } | ||