arch-packages/PKGBUILD
2017-01-16 09:23:11 +03:00

27 lines
847 B
Bash

pkgname=systemtap
pkgver=3.0
pkgrel=3
pkgdesc="SystemTap provides free software (GPL) infrastructure to simplify the gathering of information about the running Linux system."
url="http://sourceware.org/systemtap/"
arch=('i686' 'x86_64' 'armv7h' 'armv6h')
license=('GPL')
depends=('elfutils' 'nss' 'python2' 'texlive-fontsextra' 'texlive-latexextra' 'latex2html')
makedepends=('gcc')
optdepends=('sqlite3')
source=(http://sourceware.org/systemtap/ftp/releases/$pkgname-$pkgver.tar.gz)
sha1sums=('5ef3a2d9945b0f6bae0061e33811e25e5138f5b7')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --sysconfdir=/etc || return 1
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
echo enable python2...
sed -i 's/python/python2/g' ${pkgdir}/usr/bin/dtrace
}
# vim:set ts=2 sw=2 et: