tiptop: fix license, layout, vsed

This commit is contained in:
Colin Booth 2021-05-28 15:57:36 -07:00 committed by Đoàn Trần Công Danh
parent ca54204379
commit 87727475c5

View file

@ -1,20 +1,20 @@
# Template file for 'tiptop'
pkgname=tiptop
version=2.3.1
revision=1
revision=2
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"
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() {
sed -i "s/\`uname -m\`/$XBPS_TARGET_MACHINE/" configure
vsed -i "s/\`uname -m\`/$XBPS_TARGET_MACHINE/" configure
}
post_install() {