# Template file for 'systemtap'
pkgname=systemtap
version=3.3
revision=2
build_style=gnu-configure
hostmakedepends="python"
makedepends="elfutils-devel"
depends="python"
short_desc="Infrastructure to simplify the gathering of information"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-3.0-or-later"
homepage="https://sourceware.org/systemtap/"
distfiles="https://sourceware.org/systemtap/ftp/releases/systemtap-${version}.tar.gz"
checksum=1fcbe2e39b82f27a788d6060b47045ca24a476c149d20d925253ba2a382a64f9
only_for_archs="i686 x86_64 armv6l armv7l aarch64"

systemtap-devel_package() {
	depends="systemtap-${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/share/man/man3
	}
}
