public
Last active

systemtap pkgbuild

  • Download Gist
PKGBUILD
Shell
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
# Maintainer: Sebastien Binet <binet@farnsworth>
# Wu Xingbo <wuxb45@gmail.com>
 
pkgname=systemtap
pkgver=1.8
pkgrel=1
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')
license=('GPL')
depends=('elfutils' 'nss' 'python')
makedepends=('gcc')
optdepends=('sqlite3' 'linux-fedora')
source=(http://sourceware.org/systemtap/ftp/releases/$pkgname-$pkgver.tar.gz https://raw.github.com/gist/3260352/f2df2b42f5c3fa884e8560c54e180d1b5580ef6e/staprun.patch)
md5sums=('5b7ab0ae0efc520f0b19f9dbf11977c9' 'de9bc5fcb3326c3c154cee26ebd7adda')
 
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -p1 < ../staprun.patch
./configure --prefix=/usr --sysconfdir=/etc || return 1
make ${MAKEFLAGS} || return 1
make DESTDIR=${startdir}/pkg install || return 1
}
staprun.patch
Diff
1 2 3 4 5 6 7 8 9 10 11
diff -ru systemtap-1.8.orig/runtime/staprun/staprun.h systemtap-1.8/runtime/staprun/staprun.h
--- systemtap-1.8.orig/runtime/staprun/staprun.h 2012-06-17 20:27:54.000000000 +0400
+++ systemtap-1.8/runtime/staprun/staprun.h 2012-08-05 02:15:47.552004076 +0400
@@ -28,7 +28,6 @@
#include <sys/poll.h>
#include <pthread.h>
#include <sys/socket.h>
-#include <linux/types.h>
#include <linux/limits.h>
#include <sys/wait.h>
#include <sys/statfs.h>

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.