void-packages/srcpkgs/collectl/template
2015-03-10 20:49:05 +01:00

25 lines
813 B
Bash

# Template file for 'collectl'
pkgname=collectl
version=4.0.0
revision=3
noarch=yes
conf_files="/etc/collectl.conf"
depends="perl perl-Term-ReadKey"
short_desc="Collects data that describes the current system status"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-2, Artistic"
homepage="http://collectl.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.src.tar.gz"
checksum=44ae2b0553d1b91db7be53c4391efafe93d29792d7f3a72622f2f3e68f923db4
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
}