void-packages/srcpkgs/atop/template

32 lines
819 B
Plaintext
Raw Normal View History

2013-03-08 11:17:56 +01:00
# Template file for 'atop'
pkgname=atop
_distver=2.0
_patchver=1
version=${_distver}.${_patchver}
wrksrc=atop-${_distver}-${_patchver}
revision=1
build_style=gnu-makefile
makedepends="ncurses-devel zlib-devel"
short_desc="A system and process level monitor"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://www.atoptool.nl/"
distfiles="http://www.atoptool.nl/download/atop-${_distver}-${_patchver}.tar.gz"
checksum=b4679525f241d3c51fa9b827a40db21cc7df8a3d88e55ee3b7d01ec501acbee6
post_install() {
# Remove unused stuff.
rm -f ${DESTDIR}/usr/bin/atop{,sar}-2.0
rm -rf ${DESTDIR}/etc/{init,logrotate}.d ${DESTDIR}/var
# systemd service
vinstall atop.service 644 usr/lib/systemd/system
}
atop_package() {
systemd_services="atop.service true"
pkg_install() {
vmove etc
vmove usr
}
}