2017-03-27 21:15:49 +02:00
|
|
|
# Maintainer : Christian Rebischke <Chris.Rebischke@archlinux.org>
|
|
|
|
# Contributor:dront78 <dront78@gmail.com>
|
2015-06-10 11:05:28 +02:00
|
|
|
pkgname=systemtap
|
2018-02-14 12:31:23 +01:00
|
|
|
pkgver=3.2
|
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="provides infrastructure to simplify the gathering of information about the running 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')
|
2017-04-07 01:56:20 +02:00
|
|
|
depends=('elfutils' 'nss' 'python2')
|
2018-02-14 12:31:23 +01:00
|
|
|
makedepends=('python2-setuptools' 'xmlto')
|
|
|
|
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"
|
|
|
|
'access_process_vm_h.patch')
|
|
|
|
sha512sums=('6036ed1b5189fd3fcfdeeaa526a3539ac632d0b687a063b5e3424e8f613bfc2c8d079742b0262b547128e97e30e4beb61898b23761657aee519e61346ac92e94'
|
|
|
|
'SKIP'
|
|
|
|
'f33d81d2e4d0892cb248e89eb11b76d390f78ef7e50dca8d15e0a868c1a42fb0fc40ea69d6d967ebd65dd7d7a910bf8b2faf31378dc744ef1e13aeb423a2572b')
|
2017-03-27 21:15:49 +02:00
|
|
|
install='systemtap.install'
|
2018-02-14 12:31:23 +01:00
|
|
|
validpgpkeys=('5D38116FA4D3A7CC77E378D37E83610126DCC2E8')
|
2015-06-10 11:05:28 +02:00
|
|
|
|
2018-02-14 12:31:23 +01:00
|
|
|
prepare() {
|
|
|
|
cd "${pkgname}-${pkgver}"
|
2018-02-24 20:28:27 +01:00
|
|
|
patch -Np1 -i "${srcdir}/stp_remove_install_hooks.patch"
|
|
|
|
autoreconf -i
|
2018-02-14 12:31:23 +01:00
|
|
|
}
|
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-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/"
|
2015-06-10 11:05:28 +02:00
|
|
|
}
|
|
|
|
|