# $Id$ # Maintainer : Christian Rebischke # Contributor: dront78 # Contributor: Algunenano pkgname=systemtap pkgver=3.1 pkgrel=5 pkgdesc="provides infrastructure to simplify the gathering of information about the running system." url="http://sourceware.org/systemtap/" arch=('i686' 'x86_64') license=('GPL') depends=('elfutils' 'nss' 'python' 'python2') makedepends=('python-setuptools' 'python2-setuptools' 'xmlto' 'git') optdepends=('sqlite3: for storing results in a database') source=("git://sourceware.org/git/systemtap.git#tag=release-$pkgver") install='systemtap.install' sha512sums=('SKIP') prepare() { cd "$pkgname" git cherry-pick a477a43122 62640f2ed0 9f1c7a872e c7029a89f5 } build() { cd "$pkgname" ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=/usr/lib/"${pkgname}" \ --libdir=/usr/lib/"${pkgname}" \ --mandir=/usr/share/man/ \ --localstatedir=/var \ --enable-pie \ --disable-docs \ --enable-htmldocs make } package() { cd "$pkgname" make DESTDIR="${pkgdir}" install rmdir "${pkgdir}/var/run/stap-server/" rmdir "${pkgdir}/var/run/" }