procinfo-ng: new recipe, version 2.0.304
authorChris Larson <chris_larson@mentor.com>
Mon, 10 Jan 2011 19:21:14 +0000 (12:21 -0700)
committerChris Larson <chris_larson@mentor.com>
Mon, 10 Jan 2011 19:22:12 +0000 (12:22 -0700)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
MAINTAINERS
recipes/procinfo-ng/procinfo-ng/obey-ldflags.patch [new file with mode: 0644]
recipes/procinfo-ng/procinfo-ng_2.0.304.bb [new file with mode: 0644]

index 184c226..f1e20dd 100644 (file)
@@ -38,7 +38,7 @@ Person:     Christopher Larson
 Mail:       clarson@kergoth.com
 Recipes:    autoconf, automake, libtool, gnu-config
 Recipes:    gzip, lzip, ed, genromfs, which, cwautomacros
-Recipes:    unifdef, termcap, editline
+Recipes:    unifdef, termcap, editline, procinfo-ng
 Classes:    autotools.bbclass
 
 Person:     Cliff Brake
diff --git a/recipes/procinfo-ng/procinfo-ng/obey-ldflags.patch b/recipes/procinfo-ng/procinfo-ng/obey-ldflags.patch
new file mode 100644 (file)
index 0000000..35ec671
--- /dev/null
@@ -0,0 +1,18 @@
+---
+ configure.in |    5 ++++-
+ 1 file changed, 4 insertions(+), 1 deletion(-)
+
+--- procinfo-ng-2.0.304.orig/configure.in
++++ procinfo-ng-2.0.304/configure.in
+@@ -42,7 +42,10 @@ if test "$enable_maintainer_mode" = "yes
+       LDFLAGS="-lncurses"
+ else
+       CFLAGS="$CFLAGS -pipe -Wall"
+-      LDFLAGS="-s -lncurses"
++      if test "X$LDFLAGS" = X; then
++          LDFLAGS="-s"
++      fi
++      LDFLAGS="$LDFLAGS -lncurses"
+ fi
+ AC_OUTPUT(Makefile)
diff --git a/recipes/procinfo-ng/procinfo-ng_2.0.304.bb b/recipes/procinfo-ng/procinfo-ng_2.0.304.bb
new file mode 100644 (file)
index 0000000..9208c57
--- /dev/null
@@ -0,0 +1,17 @@
+inherit autotools
+
+DESCRIPTION = "Procinfo displays various system statistics including: memory \
+used, free, swapped out; CPU time used for user applications, kernel \
+(system), nice applications, idle; IRQs per second; page-in/out and \
+swap-in/out per second, and disc activity."
+HOMEPAGE = "http://sourceforge.net/projects/procinfo-ng/"
+LICENSE = "LGPLv2.1 GPLv2"
+DEPENDS = "ncurses"
+PROVIDES += "procinfo"
+RPROVIDES_${PN} += "procinfo"
+PR = "r0"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/procinfo-ng/procinfo-ng-${PV}.tar.bz2 \
+           file://obey-ldflags.patch"
+SRC_URI[md5sum] = "ed018fe37becc36ceb1ebe3ed909c4d2"
+SRC_URI[sha256sum] = "0cd944df90c1ea55b489ea64ec4863fe7f1a158f16660c58f94067e4f96786b0"