2013-03-08 11:17:56 +01:00
|
|
|
# Template file for 'atop'
|
|
|
|
pkgname=atop
|
2015-01-28 17:53:19 +01:00
|
|
|
version=2.1
|
2016-02-26 23:23:03 +01:00
|
|
|
revision=4
|
2013-03-08 11:17:56 +01:00
|
|
|
build_style=gnu-makefile
|
|
|
|
makedepends="ncurses-devel zlib-devel"
|
|
|
|
short_desc="A system and process level monitor"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2013-03-08 11:17:56 +01:00
|
|
|
license="GPL-2"
|
|
|
|
homepage="http://www.atoptool.nl/"
|
2015-01-28 17:53:19 +01:00
|
|
|
distfiles="http://www.atoptool.nl/download/atop-${version}-1.tar.gz"
|
|
|
|
checksum=39a2d4febc338dd4147904b1496d1aa9513da0d22ad0602b66023452bdc7989f
|
2013-03-08 11:17:56 +01:00
|
|
|
|
2014-10-13 12:43:53 +02:00
|
|
|
pre_install() {
|
|
|
|
sed -i '/chown/d' Makefile
|
2015-06-03 10:05:00 +02:00
|
|
|
sed -i 's,sbin,bin,g' Makefile
|
2014-10-13 12:43:53 +02:00
|
|
|
}
|
2015-06-03 10:05:00 +02:00
|
|
|
do_install() {
|
|
|
|
make PREFIX=/usr SBINDIR=/usr/bin DESTDIR=${DESTDIR} install
|
|
|
|
vsv atop
|
2013-03-08 11:17:56 +01:00
|
|
|
# Remove unused stuff.
|
2015-01-28 17:53:19 +01:00
|
|
|
rm -f ${DESTDIR}/usr/bin/atop{,sar}-${version}
|
|
|
|
rm -rf ${DESTDIR}/etc/init.d ${DESTDIR}/var
|
2013-03-08 11:17:56 +01:00
|
|
|
}
|