#Packager: George Vlahavas pkgname=wmSMPmon pkgver=3.1 pkgrel=1gv source=("http://dockapps.windowmaker.org/download.php/id/645/wmSMPmon-3.1.tar.gz") docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "lisez-moi" "greetings") url=http://lancre.ribbrock.org/binabit/wmSMPmon/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "wmsmpmon (a system monitor for WindowMaker)" "wmSMPmon displays the following information about the system:" "* Current CPU utilization of up to two CPUs" "* On dual CPU systems, three different styles for the utilization" " graph are available" "* Up to two minutes history of CPU utilization" "* Current memory usage" "* Current swap usage" ) build() { cd $startdir/src/wmSMPmon-$pkgver/wmSMPmon sed -i "s/-O2/$CFLAGS/" Makefile make -j $numjobs || return 1 mkdir -p $startdir/pkg/usr/bin mkdir -p $startdir/pkg/usr/man/man1 cp wmSMPmon $startdir/pkg/usr/bin/ cp wmSMPmon.1 $startdir/pkg/usr/man/man1/ }