23 lines
654 B
Bash
23 lines
654 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="http://tiptop.gforge.inria.fr/"
|
|
distfiles="http://tiptop.gforge.inria.fr/releases/${pkgname}-${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
|
|
}
|