-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
template
35 lines (32 loc) · 1 KB
/
template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Template file for 'systemtap'
pkgname=systemtap
version=4.9
revision=1
build_style=gnu-configure
hostmakedepends="python3"
makedepends="elfutils-devel"
depends="python3"
short_desc="Infrastructure to simplify the gathering of information"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://sourceware.org/systemtap/"
distfiles="https://sourceware.org/pub/systemtap/releases/systemtap-${version}.tar.gz"
checksum=d01033baea9d0af52a65e70167816931f4b856427a53ff2ab30e4b45f6ad3a98
python_version=3
CFLAGS=-Wno-error
if [ "$XBPS_TARGET_LIBC" = musl ]; then
makedepends+=" musl-obstack-devel"
CFLAGS+=" -DFNM_EXTMATCH=0"
CFLAGS+=" -DFTW_ACTIONRETVAL=16 -DFTW_CONTINUE=0 -DFTW_SKIP_SUBTREE=2"
CFLAGS+=" -D__off_t=off_t -D__uint32_t=uint32_t -D__uint64_t=uint64_t"
CXXFLAGS=-fpermissive
fi
CXXFLAGS+=" $CFLAGS"
systemtap-devel_package() {
depends="systemtap-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/share/man/man3
}
}