X-Git-Url: http://gitweb/?a=blobdiff_plain;f=procps%2FPkgfile;h=eebb9e8469e73f4adfdf0a7aaf288bd322f71eff;hb=cce243948693aa4f41e7904b81d683d45a232c85;hp=174e2b878676dcda6a65095383a0f4d652f99c1a;hpb=6dca1d213a39ee6af51632926e8b7c8914215cd9;p=crossrootfs.git diff --git a/procps/Pkgfile b/procps/Pkgfile index 174e2b8..eebb9e8 100644 --- a/procps/Pkgfile +++ b/procps/Pkgfile @@ -1,28 +1,42 @@ # Description: The /proc file system utilities # URL: http://procps.sourceforge.net/ # Maintainer: CRUX System Team, core-ports at crux dot nu -# Arch Maintainer: CRUX ARM System Team +# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu # Depends on: ncurses name=procps -version=3.2.7 +version=3.3.11 release=1 -source=(http://procps.sourceforge.net/$name-$version.tar.gz \ - sysctl.conf) +source=(http://downloads.sourceforge.net/project/procps-ng/Production/$name-ng-$version.tar.xz + sysctl.conf) build() { - cd $name-$version - make - make DESTDIR=$PKG \ - ldconfig=true \ - man1=$PKG/usr/man/man1/ \ - man5=$PKG/usr/man/man5/ \ - man8=$PKG/usr/man/man8/ \ - install - install -D -m644 ../sysctl.conf $PKG/etc/sysctl.conf - rm -f $PKG/bin/kill \ - $PKG/usr/man/man1/kill.1 - ln -sf pgrep $PKG/usr/bin/pkill - ln -sf skill $PKG/usr/bin/snice - chmod +w -R $PKG + cd $name-ng-$version + + cat > config.cache << EOF +ac_cv_func_malloc_0_nonnull=yes +ac_cv_func_realloc_0_nonnull=yes +EOF + + ./configure --build=$CHOST \ + --host=$CTARGET \ + --prefix=/usr \ + --sbindir=/sbin \ + --libdir=/usr/lib \ + --sysconfdir=/etc \ + --disable-nls \ + --disable-kill \ + --disable-modern-top \ + --cache-file=config.cache + + make + make DESTDIR=$PKG install + + install -d $PKG/{bin,lib,etc} + mv $PKG/usr/bin/{ps,pidof} $PKG/bin/ + mv $PKG/usr/lib/libprocps.so.* $PKG/lib + ln -sf ../../lib/$(readlink $PKG/lib/libprocps.so.5) $PKG/usr/lib/libprocps.so + install -m 0644 $SRC/sysctl.conf $PKG/etc/sysctl.conf + + rm -r $PKG/usr/share/doc }