diff options
-rw-r--r-- | MAINTAINERS | 2 | ||||
-rw-r--r-- | recipes/procinfo-ng/procinfo-ng/obey-ldflags.patch | 18 | ||||
-rw-r--r-- | recipes/procinfo-ng/procinfo-ng_2.0.304.bb | 17 |
3 files changed, 36 insertions, 1 deletions
diff --git a/MAINTAINERS b/MAINTAINERS index 184c226944..f1e20dd776 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -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 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" |