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 | |
513493c8 JB |
10 | release=2 |
11 | source=(http://dl.sourceforge.net/sourceforge/$name/$name-$version.tar.gz) | |
f48c682c VM |
12 | |
13 | build() { | |
513493c8 JB |
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 | sed -i config.h.in -e '/#undef malloc/d' -e '/#undef realloc/d' | |
18 | ||
19 | ./configure --build=$CHOST \ | |
20 | --host=$CTARGET \ | |
21 | --prefix=/usr \ | |
22 | --disable-nls \ | |
23 | --mandir=/usr/man \ | |
24 | --cache-file=config.cache | |
25 | ||
26 | make | |
27 | make DESTDIR=$PKG install | |
f48c682c | 28 | |
513493c8 JB |
29 | rm -rf $PKG/usr/{include,lib} |
30 | rm -rf $PKG/usr/share/{applications,pixmaps,} | |
f48c682c | 31 | } |