vp-build/srcpkgs/tiptop/template

23 lines
646 B
Bash

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