1 # Description: The /proc file system utilities
2 # URL: http://procps.sourceforge.net/
3 # Maintainer: CRUX System Team, core-ports at crux dot nu
4 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
10 source=(http://downloads.sourceforge.net/project/procps-ng/Production/$name-ng-$version.tar.xz
16 cat > config.cache << EOF
17 ac_cv_func_malloc_0_nonnull=yes
18 ac_cv_func_realloc_0_nonnull=yes
21 ./configure --build=$CHOST \
29 --disable-modern-top \
30 --cache-file=config.cache
33 make DESTDIR=$PKG install
35 install -d $PKG/{bin,lib,etc}
36 mv $PKG/usr/bin/{ps,pidof} $PKG/bin/
37 mv $PKG/usr/lib/libprocps.so.* $PKG/lib
38 ln -sf ../../lib/$(readlink $PKG/lib/libprocps.so.5) $PKG/usr/lib/libprocps.so
39 install -m 0644 $SRC/sysctl.conf $PKG/etc/sysctl.conf
41 rm -r $PKG/usr/share/doc