Date: Saturday, September 22, 2012 @ 14:40:07
  Author: dreisner
Revision: 166934

Add new package, gperftools

Added:
  gperftools/
  gperftools/repos/
  gperftools/trunk/
  gperftools/trunk/PKGBUILD

----------+
 PKGBUILD |   40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

Added: gperftools/trunk/PKGBUILD
===================================================================
--- gperftools/trunk/PKGBUILD                           (rev 0)
+++ gperftools/trunk/PKGBUILD   2012-09-22 18:40:07 UTC (rev 166934)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Dave Reisner <dreis...@archlinux.org>
+# Contributor: Alexander Rødseth <rods...@gmail.com>
+# Contributor: Thomas Jost <schno...@schnouki.net>
+# Contributor: JaDa <j...@archlinux.us>
+# Contributor: Joaquim Pedro <osmano...@gmail.com>
+# Contributor: Jan Rüegg <rgg...@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:


Property changes on: gperftools/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property

Reply via email to