gperftools: update to 2.2; fixing cross build

This commit is contained in:
Enno Boland 2014-05-04 11:00:42 +02:00
parent 8b50282af1
commit 8086162a0e

View file

@ -1,16 +1,22 @@
# Template build file for 'gperftools'
pkgname=gperftools
version=2.1.90
version=2.2
revision=1
build_style=gnu-configure
short_desc="multi-threaded malloc() and performance analysis tools"
maintainer="Enno Boland <eb@s01.de>"
license="BSD-3-Clause"
homepage="http://gperftools.googlecode.com"
distfiles="https://docs.google.com/uc?export=download&id=0B6NtGsLhIcf7b1E3RlVMelc3dW8>${pkgname}-${pkgversion}.tar.gz"
checksum=364e30872d57f1ad79be7ada10653c86278644db4eb69d5a885214a1fed6bb75
distfiles="https://googledrive.com/host/0B6NtGsLhIcf7MWxMMF9JdTN3UVk/gperftools-2.2.tar.gz"
checksum=2407799467db2753a4a70c00dbb1b8429e23998427df31ee96361d2115cd63a4
makedepends="libunwind-devel"
pre_configure() {
sed -i \
-e "s/^UNWIND_LIBS = .*/UNWIND_LIBS = -lunwind/" \
Makefile.in
}
gperftools-devel_package() {
depends="gperftools>=${version}_${revision}"
short_desc+=" - development files"