void-packages/srcpkgs/tiptop/template
2022-04-14 21:39:35 +02:00

22 lines
651 B
Bash

# Template file for 'tiptop'
pkgname=tiptop
version=2.3.1
revision=2
build_style=gnu-configure
hostmakedepends="flex"
makedepends="ncurses-devel libxml2-devel"
short_desc="Performance monitoring tool using hardware counters"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2.0-only"
homepage="https://gitlab.inria.fr/rohou/tiptop"
distfiles="https://files.inria.fr/pacap/tiptop/tiptop-$version.tar.gz"
checksum=51c4449c95bba34f16b429729c2f58431490665d8093efaa8643b2e1d1084182
CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/libxml2"
post_extract() {
vsed -i "s/\`uname -m\`/$XBPS_TARGET_MACHINE/" configure
}
post_install() {
vsconf tiptoprc
}