From 1219bf8a90a7bf8cd3a5363551ef635d51e8fc8e Mon Sep 17 00:00:00 2001 From: Tudor Florea Date: Thu, 8 Oct 2015 22:51:41 +0200 Subject: initial commit for Enea Linux 5.0 arm Signed-off-by: Tudor Florea --- .../htop/htop/remove-proc-test.patch | 13 +++++++++++++ meta-oe/recipes-support/htop/htop_1.0.3.bb | 22 ++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 meta-oe/recipes-support/htop/htop/remove-proc-test.patch create mode 100644 meta-oe/recipes-support/htop/htop_1.0.3.bb (limited to 'meta-oe/recipes-support/htop') diff --git a/meta-oe/recipes-support/htop/htop/remove-proc-test.patch b/meta-oe/recipes-support/htop/htop/remove-proc-test.patch new file mode 100644 index 000000000..3185fdd1f --- /dev/null +++ b/meta-oe/recipes-support/htop/htop/remove-proc-test.patch @@ -0,0 +1,13 @@ +--- htop-0.6.6/configure.ac 2007-05-21 13:06:15.000000000 -0500 ++++ htop-0.6.6-cross/configure.ac 2007-11-16 14:12:16.000000000 -0600 +@@ -58,8 +58,8 @@ + fi, + AC_DEFINE(PROCDIR, "/proc", [Path of proc filesystem])) + +-AC_CHECK_FILE($PROCDIR/stat,,AC_MSG_ERROR(Cannot find /proc/stat. Make sure you have a Linux-compatible /proc filesystem mounted. See the file README for help.)) +-AC_CHECK_FILE($PROCDIR/meminfo,,AC_MSG_ERROR(Cannot find /proc/meminfo. Make sure you have a Linux-compatible /proc filesystem mounted. See the file README for help.)) ++#AC_CHECK_FILE($PROCDIR/stat,,AC_MSG_ERROR(Cannot find /proc/stat. Make sure you have a Linux-compatible /proc filesystem mounted. See the file README for help.)) ++#AC_CHECK_FILE($PROCDIR/meminfo,,AC_MSG_ERROR(Cannot find /proc/meminfo. Make sure you have a Linux-compatible /proc filesystem mounted. See the file README for help.)) + + AC_CONFIG_FILES([Makefile]) + AC_OUTPUT diff --git a/meta-oe/recipes-support/htop/htop_1.0.3.bb b/meta-oe/recipes-support/htop/htop_1.0.3.bb new file mode 100644 index 000000000..4e445c8b3 --- /dev/null +++ b/meta-oe/recipes-support/htop/htop_1.0.3.bb @@ -0,0 +1,22 @@ +SUMMARY = "htop process monitor" +HOMEPAGE = "http://htop.sf.net" +SECTION = "console/utils" +LICENSE = "GPLv2" + +LIC_FILES_CHKSUM = "file://COPYING;md5=c312653532e8e669f30e5ec8bdc23be3" + +DEPENDS = "ncurses" +RDEPENDS_${PN} = "ncurses-terminfo" + +SRC_URI = "http://hisham.hm/htop/releases/${PV}/htop-${PV}.tar.gz" + +SRC_URI[md5sum] = "e768b9b55c033d9c1dffda72db3a6ac7" +SRC_URI[sha256sum] = "055c57927f75847fdc222b5258b079a9542811a9dcf5421c615c7e17f55d1829" + +LDFLAGS_append_libc-uclibc = " -lubacktrace" + +do_configure_prepend () { + rm -rf ${S}/config.h +} + +inherit autotools -- cgit v1.2.3-54-g00ecf