2019-10-28 14:09:31 +01:00
|
|
|
# Maintainer: An Nguyen (stk) <an@linux.com>
|
|
|
|
# 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
|
2019-10-28 14:09:31 +01:00
|
|
|
pkgver=4.1
|
|
|
|
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')
|
2018-11-16 19:28:43 +01:00
|
|
|
depends=('elfutils' 'nss' 'python2' 'cpio')
|
2018-06-16 11:12:35 +02:00
|
|
|
makedepends=('python2-setuptools' 'xmlto')
|
2018-02-14 12:31:23 +01:00
|
|
|
optdepends=('sqlite3: for storing results in a database')
|
|
|
|
source=("${pkgname}-${pkgver}.tar.gz::https://sourceware.org/systemtap/ftp/releases/${pkgname}-${pkgver}.tar.gz"
|
|
|
|
"${pkgname}-${pkgver}.tar.gz.asc::https://sourceware.org/systemtap/ftp/releases/${pkgname}-${pkgver}.tar.gz.asc"
|
2018-06-03 19:06:43 +02:00
|
|
|
)
|
2019-10-28 14:09:31 +01:00
|
|
|
sha512sums=('fbd606d9842ac63af6e607613a112b08d7593da74ad0398716cdc46f74a977a8e6b9fae92e1f63779ccfc94cffa25f29dee2ae44f67ecc4cedae630e50a2e7b6'
|
|
|
|
'755a11b6024bb15c6415532352fd62a824266edeb5ab3e1ef6cfa31259f8bf7d9a92fcf7476c307cd7d4188ff20cefe86558b2a6e4c099987e1041bd1f98031e')
|
2017-03-27 21:15:49 +02:00
|
|
|
install='systemtap.install'
|
2019-10-28 14:09:31 +01:00
|
|
|
validpgpkeys=('F75E6545B9F8AA15AA932A444DE16D68FDBFFFB8') # "Serhei Makarov (for Red Hat 2018..onwards) <smakarov@redhat.com>"
|
2015-06-10 11:05:28 +02:00
|
|
|
|
|
|
|
build() {
|
2017-04-07 01:56:20 +02:00
|
|
|
cd "${pkgname}-${pkgver}"
|
|
|
|
./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 \
|
|
|
|
--enable-htmldocs
|
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
|
|
|
}
|