From 34e3c3f19af2ce74ef4361b691abae2c34df8398 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Sat, 16 Jan 2016 23:00:23 +0000 Subject: gperftools: initial inclusion. dep of leveldb --- abs/extra/gperftools/PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 abs/extra/gperftools/PKGBUILD diff --git a/abs/extra/gperftools/PKGBUILD b/abs/extra/gperftools/PKGBUILD new file mode 100644 index 0000000..fbdb440 --- /dev/null +++ b/abs/extra/gperftools/PKGBUILD @@ -0,0 +1,42 @@ +# $Id$ +# Maintainer: Dave Reisner +# Contributor: Alexander Rødseth +# Contributor: Thomas Jost +# Contributor: JaDa +# Contributor: Joaquim Pedro +# Contributor: Jan Rüegg + +pkgname=gperftools +pkgver=2.4 +pkgrel=2 +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') +provides=('libtcmalloc.so' + 'libprofiler.so' + 'libtcmalloc_debug.so' + 'libtcmalloc_and_profiler.so' + 'libtcmalloc_minimal.so' + 'libtcmalloc_minimal_debug.so') +optdepends=('graphviz: pprof graph generation' + 'gv: pprof postscript generation') +source=("https://googledrive.com/host/0B6NtGsLhIcf7MWxMMF9JdTN3UVk/$pkgname-$pkgver.tar.gz") +md5sums=('2171cea3bbe053036fb5d5d25176a160') + +build() { + cd "$pkgname-$pkgver" + + ./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: -- cgit v0.12