Commit | Line | Data |
---|---|---|
f48c682c VM |
1 | # Description: an interactive process viewer |
2 | # URL: http://htop.sourceforge.net/ | |
3 | # Packager: Simone Rota, sip at crux dot nu | |
4 | # Maintainer: Richard Poettler, richard dot poettler at gmail dot com | |
5 | # Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org | |
6 | # Depends on: ncurses | |
7 | ||
8 | name=htop | |
9 | version=0.8.1 | |
10 | release=1 | |
11 | source=(http://dl.sourceforge.net/sourceforge/${name}/${name}-${version}.tar.gz) | |
12 | ||
13 | build() { | |
14 | cd $name-$version | |
15 | echo "ac_cv_file__proc_stat=yes" > config.cache | |
16 | echo "ac_cv_file__proc_meminfo=yes" >> config.cache | |
17 | ./configure --build=$CHOST \ | |
18 | --host=$CTARGET \ | |
19 | --prefix=/usr \ | |
20 | --disable-nls \ | |
21 | --mandir=/usr/man \ | |
22 | --cache-file=config.cache | |
23 | sed -e '/#undef malloc/d' -e '/#undef realloc/d' -i config.h.in | |
24 | make | |
25 | make DESTDIR=$PKG install | |
26 | ||
27 | rm -rf $PKG/usr/{include,lib} | |
28 | rm -rf $PKG/usr/share/{applications,pixmaps,} | |
29 | } |