description="Linux proc file system utilities." packager="CRUX System Team " maintainer="Lukc " url="http://procps.sourceforge.net/" depends=(ncurses) name=procps version=3.2.8 release=3 source=( http://procps.sourceforge.net/$name-$version.tar.gz $name-$version.patch $name-$version-linux-ver-init.patch sysctl.conf ) build () { cd $name-$version; patch -p1 -i $SRC/$name-$version.patch; patch -p0 -i $SRC/$name-$version-linux-ver-init.patch; make ${CTARGET:+CC=$CTARGET-gcc}; make DESTDIR=$PKG install; install -D -m644 $SRC/sysctl.conf $PKG/etc/sysctl.conf mkdir $PKG$prefix/share mv $PKG$prefix/man $PKG$prefix/share/man }