diff --git a/srcpkgs/tiptop/template b/srcpkgs/tiptop/template new file mode 100644 index 0000000000..1154c9436a --- /dev/null +++ b/srcpkgs/tiptop/template @@ -0,0 +1,21 @@ +# Template file for 'tiptop' +pkgname=tiptop +version=2.3 +revision=1 +build_style=gnu-configure +hostmakedepends="flex" +makedepends="ncurses-devel libxml2-devel" +short_desc="Performance monitoring tool using hardware counters" +maintainer="Christian Neukirchen " +license="GPL-2" +homepage="http://tiptop.gforge.inria.fr/" +distfiles="http://tiptop.gforge.inria.fr/releases/${pkgname}-${version}.tar.gz" +checksum=3f07e958b40acaeab98e9eb1326c9f91b0be0a782c1cc2bd7a9e18d31fab18ca + +post_extract() { + sed -i "s/\`uname -m\`/$XBPS_TARGET_MACHINE/" configure +} + +post_install() { + vsconf tiptoprc +}