diff options
author | root <root@rshg054.dnsready.net> | 2012-09-23 01:12:09 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-09-23 01:12:09 -0700 |
commit | a7f8166c8968d3414378051d28dcfcc3e377837b (patch) | |
tree | 1b1b5c4383fe5d1f8c98c8c417fd588e67877e13 /extra/gperftools/PKGBUILD | |
parent | 0297e16d6d46f426939811847e72539d15bbf12d (diff) |
Sun Sep 23 01:11:08 PDT 2012
Diffstat (limited to 'extra/gperftools/PKGBUILD')
-rw-r--r-- | extra/gperftools/PKGBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/extra/gperftools/PKGBUILD b/extra/gperftools/PKGBUILD new file mode 100644 index 000000000..c8ad827ae --- /dev/null +++ b/extra/gperftools/PKGBUILD @@ -0,0 +1,40 @@ +# $Id: PKGBUILD 166940 2012-09-22 20:23:08Z dreisner $ +# Maintainer: Dave Reisner <dreisner@archlinux.org> +# Contributor: Alexander Rødseth <rodseth@gmail.com> +# Contributor: Thomas Jost <schnouki@schnouki.net> +# Contributor: JaDa <jada@archlinux.us> +# Contributor: Joaquim Pedro <osmano807@gmail.com> +# Contributor: Jan Rüegg <rggjan@gmail.com> + +pkgname=gperftools +pkgver=2.0 +pkgrel=4 +pkgdesc="Fast, multi-threaded malloc() and nifty performance analysis tools" +arch=('i686' 'x86_64') +url="http://code.google.com/p/gperftools/" +license=('BSD') +depends=('perl') +optdepends=('graphviz: pprof graph generation' + 'gv: pprof postscript generation') +options=('!libtool') +source=("http://$pkgname.googlecode.com/files/$pkgname-$pkgver.tar.gz") +sha256sums=('7de3dd91f018825b1e7d332af1edace15c6211f430186febede1835069861080') + +build() { + cd "$pkgname-$pkgver" + + # fix for glibc 2.16 + sed -i 's:siginfo_t:siginfo:' src/base/linuxthreads.cc + + ./configure --prefix=/usr --enable-frame-pointers + make +} + +package() { + cd "$pkgname-$pkgver" + + make DESTDIR="$pkgdir" install + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" +} + +# vim:set ts=2 sw=2 et: |