extra/gperftools to 2.2.1-1

This commit is contained in:
Kevin Mihelich 2014-08-08 02:15:47 +00:00
parent 8353fe5f15
commit 0a7caf93fa

View file

@ -10,7 +10,7 @@
# - hack to skip using v7 assembly on v6
pkgname=gperftools
pkgver=2.2
pkgver=2.2.1
pkgrel=1
pkgdesc="Fast, multi-threaded malloc() and nifty performance analysis tools"
arch=('i686' 'x86_64')
@ -27,27 +27,25 @@ makedepends=('git')
optdepends=('graphviz: pprof graph generation'
'gv: pprof postscript generation')
options=('!libtool')
source=("git+https://code.google.com/p/gperftools#tag=gperftools-$pkgver"
source=("https://googledrive.com/host/0B6NtGsLhIcf7MWxMMF9JdTN3UVk/$pkgname-$pkgver.tar.gz")
"armv6.patch")
sha256sums=('SKIP'
'879a6e92947a5538885b9e63c2675a93d57870f58c2d61260fec91ce56823df8')
md5sums=('47cbede9442764f9e8fbc403af6cacfd'
'68606edc5920e10930647b8f276fbe88')
prepare() {
cd "$pkgname"
cd "$pkgname-$pkgver"
patch -p1 -i ../armv6.patch
./autogen.sh
}
build() {
cd "$pkgname"
cd "$pkgname-$pkgver"
./configure --prefix=/usr --enable-frame-pointers
make
}
package() {
cd "$pkgname"
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"