void-packages/srcpkgs/collectl/template
2017-05-14 19:02:18 +02:00

26 lines
858 B
Bash

# Template file for 'collectl'
pkgname=collectl
version=4.1.3
revision=1
noarch=yes
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="GPL-2, Artistic"
homepage="http://collectl.sourceforge.net/"
_changelog="http://collectl.sourceforge.net/Releases.html"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.src.tar.gz"
checksum=c9fa7e4a66fe333471bd485a8008b171fdf431faa79d9b43fa830ae7d6c85bb3
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
}