arch-packages/PKGBUILD

28 lines
847 B
Text
Raw Normal View History

2015-06-10 12:05:28 +03:00
pkgname=systemtap
2017-02-18 15:51:28 +03:00
pkgver=3.1
pkgrel=1
2015-06-10 12:05:28 +03: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 19:04:53 +03:00
arch=('i686' 'x86_64' 'armv7h' 'armv6h')
2015-06-10 12:05:28 +03:00
license=('GPL')
2017-01-16 09:23:11 +03:00
depends=('elfutils' 'nss' 'python2' 'texlive-fontsextra' 'texlive-latexextra' 'latex2html')
2015-06-10 12:05:28 +03:00
makedepends=('gcc')
2017-01-16 09:23:11 +03:00
optdepends=('sqlite3')
2015-08-13 14:19:07 +03:00
source=(http://sourceware.org/systemtap/ftp/releases/$pkgname-$pkgver.tar.gz)
2017-02-18 15:51:28 +03:00
sha1sums=('2927ee7e780b45e47d770798f80dfd5be62e095d')
2015-06-10 12:05:28 +03: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: