# Description: Utilities for monitoring your system and its processes.
# URL: http://procps.sourceforge.net/
# Packager: pierre at nutyx dot org, tnut at nutyx dot org
name=procps-ng
version=3.3.11
release=1

source=(http://downloads.sourceforge.net/project/$name/Production/$name-$version.tar.xz )

#PKGMK_GROUPS=(devel man doc)

build()
{
cd $name-$version

./configure --prefix=/usr \
--exec-prefix= \
--libdir=/lib --bindir=/bin --sbindir=/sbin \
--docdir=/usr/share/doc/procps-ng-$version \
--disable-static \
--disable-skill \
--disable-kill
make
make DESTDIR=$PKG install

mkdir -p $PKG/usr/lib

mv $PKG/lib/pkgconfig \
$PKG/usr/lib/
rm -r $PKG/usr/share/doc

}
