void-packages/srcpkgs/collectl/template

26 lines
860 B
Bash

# Template file for 'collectl'
pkgname=collectl
version=4.3.8
revision=1
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="https://collectl.sourceforge.net/"
changelog="https://collectl.sourceforge.net/Releases.html"
distfiles="${SOURCEFORGE_SITE}/collectl/collectl-${version}.src.tar.gz"
checksum=6831de65a0af377b7dc92bd6439253f4f5d06cd77752d7ec5b8d92bfaa28240a
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
}