CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
htop: Initial import (verified compilation).
authorVictor Martinez <pitillo@ono.com>
Sat, 23 Jan 2010 23:51:34 +0000 (23:51 +0000)
committerVictor Martinez <pitillo@ono.com>
Sat, 23 Jan 2010 23:51:34 +0000 (23:51 +0000)
htop/.footprint [new file with mode: 0644]
htop/.md5sum [new file with mode: 0644]
htop/Pkgfile [new file with mode: 0644]

diff --git a/htop/.footprint b/htop/.footprint
new file mode 100644 (file)
index 0000000..453b5a9
--- /dev/null
@@ -0,0 +1,6 @@
+drwxr-xr-x     root/root       usr/
+drwxr-xr-x     root/root       usr/bin/
+-rwxr-xr-x     root/root       usr/bin/htop
+drwxr-xr-x     root/root       usr/man/
+drwxr-xr-x     root/root       usr/man/man1/
+-rw-r--r--     root/root       usr/man/man1/htop.1.gz
diff --git a/htop/.md5sum b/htop/.md5sum
new file mode 100644 (file)
index 0000000..183beb1
--- /dev/null
@@ -0,0 +1 @@
+f0b259ca29175656de48bf0fa0a2e619  htop-0.8.1.tar.gz
diff --git a/htop/Pkgfile b/htop/Pkgfile
new file mode 100644 (file)
index 0000000..de94170
--- /dev/null
@@ -0,0 +1,29 @@
+# Description: an interactive process viewer
+# URL: http://htop.sourceforge.net/
+# Packager: Simone Rota, sip at crux dot nu
+# Maintainer: Richard Poettler, richard dot poettler at gmail dot com
+# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
+# Depends on: ncurses
+
+name=htop
+version=0.8.1
+release=1
+source=(http://dl.sourceforge.net/sourceforge/${name}/${name}-${version}.tar.gz)
+
+build() {
+    cd $name-$version
+    echo "ac_cv_file__proc_stat=yes" > config.cache
+    echo "ac_cv_file__proc_meminfo=yes" >> config.cache
+    ./configure --build=$CHOST \
+                --host=$CTARGET \
+                --prefix=/usr \
+                --disable-nls \
+                --mandir=/usr/man \
+                --cache-file=config.cache
+    sed -e '/#undef malloc/d' -e '/#undef realloc/d' -i config.h.in
+    make
+    make DESTDIR=$PKG install
+   
+    rm -rf $PKG/usr/{include,lib}
+    rm -rf $PKG/usr/share/{applications,pixmaps,}
+}