summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/htop/.mtn2git_empty0
-rw-r--r--packages/htop/files/.mtn2git_empty0
-rw-r--r--packages/htop/files/remove-proc-test.patch13
-rw-r--r--packages/htop/htop_0.7.bb12
4 files changed, 25 insertions, 0 deletions
diff --git a/packages/htop/.mtn2git_empty b/packages/htop/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/htop/.mtn2git_empty
diff --git a/packages/htop/files/.mtn2git_empty b/packages/htop/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/htop/files/.mtn2git_empty
diff --git a/packages/htop/files/remove-proc-test.patch b/packages/htop/files/remove-proc-test.patch
new file mode 100644
index 0000000000..3185fdd1f4
--- /dev/null
+++ b/packages/htop/files/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/packages/htop/htop_0.7.bb b/packages/htop/htop_0.7.bb
new file mode 100644
index 0000000000..4a614bd8e0
--- /dev/null
+++ b/packages/htop/htop_0.7.bb
@@ -0,0 +1,12 @@
+DESCRIPTION = "htop process monitor"
+HOMEPAGE = "http://htop.sf.net"
+SECTION = "console/utils"
+PRIORITY = "optional"
+LICENSE = "GPLv2"
+
+RDEPENDS = "ncurses"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/htop/htop-${PV}.tar.gz \
+ file://remove-proc-test.patch;patch=1"
+
+inherit autotools