[oe-commits] Chris Larson : procinfo-ng: new recipe, version 2.0.304

git version control git at git.openembedded.org
Mon Jan 10 19:24:51 UTC 2011


Module: openembedded.git
Branch: master
Commit: 89fb37db1d556774007b8123645fe70781ce8d01
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=89fb37db1d556774007b8123645fe70781ce8d01

Author: Chris Larson <chris_larson at mentor.com>
Date:   Mon Jan 10 12:21:14 2011 -0700

procinfo-ng: new recipe, version 2.0.304

Signed-off-by: Chris Larson <chris_larson at mentor.com>

---

 MAINTAINERS                                        |    2 +-
 recipes/procinfo-ng/procinfo-ng/obey-ldflags.patch |   18 ++++++++++++++++++
 recipes/procinfo-ng/procinfo-ng_2.0.304.bb         |   17 +++++++++++++++++
 3 files changed, 36 insertions(+), 1 deletions(-)

diff --git a/MAINTAINERS b/MAINTAINERS
index 184c226..f1e20dd 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -38,7 +38,7 @@ Person:     Christopher Larson
 Mail:       clarson at 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
index 0000000..35ec671
--- /dev/null
+++ b/recipes/procinfo-ng/procinfo-ng/obey-ldflags.patch
@@ -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
index 0000000..9208c57
--- /dev/null
+++ b/recipes/procinfo-ng/procinfo-ng_2.0.304.bb
@@ -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"





More information about the Openembedded-commits mailing list