X-Git-Url: http://gitweb/?a=blobdiff_plain;f=htop%2FPkgfile;h=0631f5065215c2775032534272d38863d8e86bdf;hb=587c2aecb3fd97b621cd98db07a19d5a07320ca3;hp=de94170fc030e663ad1f8c255d2bd569c24d9b1b;hpb=f48c682cbb7f7145f782116cf16527de9ac75bc7;p=attic%2Fports%2Fopt-cross.git diff --git a/htop/Pkgfile b/htop/Pkgfile index de94170..0631f50 100644 --- a/htop/Pkgfile +++ b/htop/Pkgfile @@ -2,28 +2,30 @@ # 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 +# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu # Depends on: ncurses name=htop -version=0.8.1 +version=0.8.3 release=1 -source=(http://dl.sourceforge.net/sourceforge/${name}/${name}-${version}.tar.gz) +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 + 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,} }