CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
libpcap: removed commented lines
[attic/ports/opt-cross.git] / htop / Pkgfile
CommitLineData
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
38b50d66 5# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
f48c682c
VM
6# Depends on: ncurses
7
8name=htop
9version=0.8.1
513493c8
JB
10release=2
11source=(http://dl.sourceforge.net/sourceforge/$name/$name-$version.tar.gz)
f48c682c
VM
12
13build() {
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}