void-packages/srcpkgs/collectl/template

26 lines
813 B
Bash
Raw Normal View History

2014-08-25 00:52:22 +00:00
# Template file for 'collectl'
pkgname=collectl
2015-03-10 10:08:11 +00:00
version=4.0.0
2015-03-10 19:49:05 +00:00
revision=3
2014-08-25 00:52:22 +00:00
noarch=yes
conf_files="/etc/collectl.conf"
2015-03-10 10:08:11 +00:00
depends="perl perl-Term-ReadKey"
2014-08-25 00:52:22 +00:00
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/"
2015-03-10 10:08:11 +00:00
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.src.tar.gz"
2015-03-10 16:30:54 +00:00
checksum=44ae2b0553d1b91db7be53c4391efafe93d29792d7f3a72622f2f3e68f923db4
2014-08-25 00:52:22 +00:00
do_install() {
export DESTDIR
./INSTALL
2015-03-10 10:08:11 +00:00
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
2015-03-10 19:49:05 +00:00
sed -i 's/sbin/bin/g' $DESTDIR/usr/bin/colmux
2014-08-25 00:52:22 +00:00
vlicense COPYING
}