arch-packages/PKGBUILD

28 lines
820 B
Text
Raw Normal View History

2015-06-10 11:05:28 +02:00
pkgname=systemtap
2016-03-30 18:04:53 +02:00
pkgver=3.0
pkgrel=1
2015-06-10 11:05:28 +02:00
pkgdesc="SystemTap provides free software (GPL) infrastructure to simplify the gathering of information about the running Linux system."
url="http://sourceware.org/systemtap/"
2016-03-30 18:04:53 +02:00
arch=('i686' 'x86_64' 'armv7h' 'armv6h')
2015-06-10 11:05:28 +02:00
license=('GPL')
2016-03-30 18:04:53 +02:00
depends=('elfutils' 'nss' 'python2' 'latex2html')
2015-06-10 11:05:28 +02:00
makedepends=('gcc')
optdepends=('sqlite3' 'linux-fedora')
2015-08-13 13:19:07 +02:00
source=(http://sourceware.org/systemtap/ftp/releases/$pkgname-$pkgver.tar.gz)
2016-03-30 18:04:53 +02:00
sha1sums=('5ef3a2d9945b0f6bae0061e33811e25e5138f5b7')
2015-06-10 11:05:28 +02:00
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: