# Template file for 'collectl'
pkgname=collectl
version=4.3.3
revision=1
wrksrc="${pkgname}"
conf_files="/etc/collectl.conf"
depends="perl perl-Term-ReadKey"
short_desc="Collects data that describes the current system status"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="Artistic-1.0-Perl, GPL-2.0-only"
homepage="http://collectl.sourceforge.net/"
changelog="http://collectl.sourceforge.net/Releases.html"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.src.tar.gz"
checksum=3e87f9aa6cf1b585ce7cec6ee0e2cde652397fdf871b03b9609c56678f8b4dba

do_install() {
	export DESTDIR
	./INSTALL
	rm -f $DESTDIR/usr/share/collectl/UNINSTALL \
		$DESTDIR/usr/share/doc/collectl/GPL \
		$DESTDIR/usr/share/doc/collectl/ARTISTIC \
		$DESTDIR/usr/share/doc/collectl/COPYING \
		$DESTDIR/etc/init.d/collectl
	sed -i 's/sbin/bin/g' $DESTDIR/usr/bin/colmux
	vlicense COPYING
}
