#Maintainer: George Vlahavas <vlahavas~at~gmail~dot~com>

pkgname=xfce4-netload-plugin
pkgver=1.2.4
pkgrel=1gv
source=("http://archive.xfce.org/src/panel-plugins/xfce4-netload-plugin/1.2/xfce4-netload-plugin-1.2.4.tar.bz2")
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo")
url=http://goodies.xfce.org/projects/panel-plugins/xfce4-netload-plugin

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"xfce4-netload-plugin (network interface monitor for the xfce panel)"
"This plugin displays the current load of the network interfaces of"
"your choice in the panel."
)


build() {
	cd $startdir/src/$pkgname-$pkgver
	./configure --prefix=/usr \
		--libdir=/usr/lib${LIBDIRSUFFIX} \
		--localstatedir=/var \
		--sysconfdir=/etc \
		--disable-debug \
		--build=$arch-slackware-linux
	make -j $numjobs || return 1
	make install DESTDIR=$startdir/pkg
}