extra/gperftools to 2.5-1

This commit is contained in:
Kevin Mihelich 2016-04-03 23:38:44 +00:00
parent 48dbe157e5
commit 0ed8f72203

View file

@ -11,11 +11,11 @@
# - depend on libunwind for AArch64
pkgname=gperftools
pkgver=2.4
pkgrel=2
pkgver=2.5
pkgrel=1
pkgdesc="Fast, multi-threaded malloc and nifty performance analysis tools"
arch=('i686' 'x86_64')
url="http://code.google.com/p/gperftools/"
url="https://github.com/gperftools/gperftools"
license=('BSD')
depends=('perl')
depends_aarch64=('libunwind')
@ -25,28 +25,31 @@ provides=('libtcmalloc.so'
'libtcmalloc_and_profiler.so'
'libtcmalloc_minimal.so'
'libtcmalloc_minimal_debug.so')
makedepends=('git')
optdepends=('graphviz: pprof graph generation'
'gv: pprof postscript generation')
options=('!libtool')
source=("https://googledrive.com/host/0B6NtGsLhIcf7MWxMMF9JdTN3UVk/$pkgname-$pkgver.tar.gz"
source=("git+https://github.com/gperftools/gperftools#tag=$pkgname-$pkgver"
"armv6.patch")
md5sums=('2171cea3bbe053036fb5d5d25176a160'
md5sums=('SKIP'
'68606edc5920e10930647b8f276fbe88')
prepare() {
cd "$pkgname-$pkgver"
cd "$pkgname"
./autogen.sh
patch -p1 -i ../armv6.patch
}
build() {
cd "$pkgname-$pkgver"
cd "$pkgname"
./configure --prefix=/usr --enable-frame-pointers
make
}
package() {
cd "$pkgname-$pkgver"
cd "$pkgname"
make DESTDIR="$pkgdir" install
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"