2021-07-06 09:15:18 +02:00
|
|
|
# Maintainer: Christian Pellegrin (chripell) <chripell@fsfe.org>
|
|
|
|
# Original Maintainer: An Nguyen (stk) <an@linux.com>
|
2019-10-28 14:09:31 +01:00
|
|
|
# Original Maintainer: George Angelopoulos <george@usermod.net>
|
|
|
|
# Original Maintainer: Christian Rebischke <Chris.Rebischke@archlinux.org>
|
|
|
|
# Original Maintainer: dront78 <dront78@gmail.com>
|
2015-06-10 11:05:28 +02:00
|
|
|
pkgname=systemtap
|
2022-11-12 21:32:48 +01:00
|
|
|
pkgver=4.8
|
2019-10-28 14:09:31 +01:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="Infrastructure to simplify the gathering of information about the running Linux system"
|
2015-06-10 11:05:28 +02:00
|
|
|
url="http://sourceware.org/systemtap/"
|
2018-02-14 12:31:23 +01:00
|
|
|
arch=('x86_64' 'i686')
|
2015-06-10 11:05:28 +02:00
|
|
|
license=('GPL')
|
2021-07-06 09:15:18 +02:00
|
|
|
depends=('elfutils' 'nss' 'python' 'cpio')
|
2021-11-21 22:14:49 +01:00
|
|
|
makedepends=('python-setuptools' 'python2-setuptools' 'xmlto')
|
2018-02-14 12:31:23 +01:00
|
|
|
optdepends=('sqlite3: for storing results in a database')
|
2023-01-29 15:08:17 +01:00
|
|
|
source=("${pkgname}-${pkgver}.tar.gz::https://sourceware.org/ftp/systemtap/releases/${pkgname}-${pkgver}.tar.gz"
|
|
|
|
"${pkgname}-${pkgver}.tar.gz.asc::https://sourceware.org/ftp/systemtap/releases/${pkgname}-${pkgver}.tar.gz.sig"
|
2018-06-03 19:06:43 +02:00
|
|
|
)
|
2022-11-12 21:32:48 +01:00
|
|
|
sha512sums=('fdcbc48ba17b2155c1419d99147a4cfbee2e69db945bfd0e6881b71ab11165bd23ea7ce9456856ae36807fb18f9934880a6b7c44456b63833ea260038744d9f2'
|
2022-07-11 21:25:36 +02:00
|
|
|
'SKIP')
|
2017-03-27 21:15:49 +02:00
|
|
|
install='systemtap.install'
|
2021-07-06 09:15:18 +02:00
|
|
|
# Note, you need to run:
|
|
|
|
# gpg --recv-keys --keyserver hkps://keys.openpgp.org/ 0xD7C256443CC637CA
|
|
|
|
# unless /etc/pacman.d/gnupg/gpg.conf is updated.
|
2019-12-03 10:24:41 +01:00
|
|
|
validpgpkeys=('F75E6545B9F8AA15AA932A444DE16D68FDBFFFB8' # "Serhei Makarov (for Red Hat 2018..onwards) <smakarov@redhat.com>"
|
2021-07-06 09:15:18 +02:00
|
|
|
'5D38116FA4D3A7CC77E378D37E83610126DCC2E8'
|
|
|
|
'159B0DF71150B8A8539A8802D7C256443CC637CA')
|
2021-11-21 22:14:49 +01:00
|
|
|
|
|
|
|
prepare() {
|
2017-04-07 01:56:20 +02:00
|
|
|
cd "${pkgname}-${pkgver}"
|
2021-11-21 22:14:49 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "${pkgname}-${pkgver}"
|
2017-04-07 01:56:20 +02:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--sysconfdir=/etc \
|
|
|
|
--libexecdir=/usr/lib/"${pkgname}" \
|
|
|
|
--libdir=/usr/lib/"${pkgname}" \
|
|
|
|
--mandir=/usr/share/man/ \
|
2018-11-05 16:08:53 +01:00
|
|
|
--sbindir=/usr/bin \
|
2018-02-14 12:31:23 +01:00
|
|
|
--localstatedir=/var \
|
2017-04-07 01:56:20 +02:00
|
|
|
--enable-pie \
|
2018-02-14 12:31:23 +01:00
|
|
|
--disable-docs \
|
2021-11-21 22:14:49 +01:00
|
|
|
--enable-htmldocs \
|
|
|
|
--with-python3
|
2015-06-10 11:05:28 +02:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
make DESTDIR="${pkgdir}" install
|
2018-02-14 12:31:23 +01:00
|
|
|
rmdir "${pkgdir}/var/run/stap-server/"
|
|
|
|
rmdir "${pkgdir}/var/run/"
|
2019-10-28 14:09:31 +01:00
|
|
|
rm -r "${pkgdir}/usr/include"
|
2015-06-10 11:05:28 +02:00
|
|
|
}
|