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

pkgname=xfce4-wavelan-plugin
pkgver=0.6.3
_mainver=`echo $pkgver | cut -d'.' -f1,2`
pkgrel=1gv
source=("http://archive.xfce.org/src/panel-plugins/xfce4-wavelan-plugin/${_mainver}/xfce4-wavelan-plugin-${pkgver}.tar.bz2")
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo")
url=http://goodies.xfce.org/projects/panel-plugins/xfce4-wavelan-plugin

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"xfce4-wavelan-plugin (a wireless lan monitor for the xfce panel)"
"This plugin is used to display stats from a wireless lan interface"
"(signal state, signal quality, network name (SSID))."
)


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