From 89fb37db1d556774007b8123645fe70781ce8d01 Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Mon, 10 Jan 2011 12:21:14 -0700 Subject: procinfo-ng: new recipe, version 2.0.304 Signed-off-by: Chris Larson --- recipes/procinfo-ng/procinfo-ng/obey-ldflags.patch | 18 ++++++++++++++++++ recipes/procinfo-ng/procinfo-ng_2.0.304.bb | 17 +++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 recipes/procinfo-ng/procinfo-ng/obey-ldflags.patch create mode 100644 recipes/procinfo-ng/procinfo-ng_2.0.304.bb (limited to 'recipes/procinfo-ng') 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 0000000000..35ec6714ed --- /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 0000000000..9208c574f2 --- /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" -- cgit 1.2.3-korg