# URL: http://htop.sourceforge.net/
# Packager: Simone Rota, sip at crux dot nu
# Maintainer: Richard Poettler, richard dot poettler at gmail dot com
# URL: http://htop.sourceforge.net/
# Packager: Simone Rota, sip at crux dot nu
# Maintainer: Richard Poettler, richard dot poettler at gmail dot com
- 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
+ cd $name-$version
+ echo "ac_cv_file__proc_stat=yes" > config.cache
+ echo "ac_cv_file__proc_meminfo=yes" >> config.cache
+ sed -i config.h.in -e '/#undef malloc/d' -e '/#undef realloc/d'
+
+ ./configure --build=$CHOST \
+ --host=$CTARGET \
+ --prefix=/usr \
+ --disable-nls \
+ --mandir=/usr/man \
+ --cache-file=config.cache
+
+ make
+ make DESTDIR=$PKG install
- rm -rf $PKG/usr/{include,lib}
- rm -rf $PKG/usr/share/{applications,pixmaps,}
+ rm -rf $PKG/usr/{include,lib}
+ rm -rf $PKG/usr/share/{applications,pixmaps,}