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

pkgname=xfce4-cpufreq-plugin
pkgver=0.0.1
pkgrel=1gv
arch=i486
source=(xfce4-cpufreq-plugin-$pkgver.tar.gz)
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo")
url=http://goodies.xfce.org/projects/panel-plugins/xfce4-cpufreq-plugin

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"xfce4-cpufreq-plugin - a CPU frequency plugin for xfce"
"The CpuFreq Plugin shows in the Xfce Panel the following, chooseable"
"informations:"
" * current CPU frequency,"
" * current used governor."
"In a seperate dialog it provides you following informations of all"
"available informations:"
" * all available CPU frequencies,"
" * all available governors,"
" * used driver for the cpu."


)


build() {
	cd $startdir/src/xfce4-cpu-freq-plugin-$pkgver
	./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --disable-debug --disable-static
	make || return 1
	make install DESTDIR=$startdir/pkg
}