# Template build file for 'gperftools'
pkgname=gperftools
version=2.1
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="${homepage}/files/gperftools-${version}.tar.gz"
checksum=f3ade29924f89409d8279ab39e00af7420593baa4941c318db42e70ead7e494f
makedepends="libunwind-devel"

gperftools-devel_package() {
	depends="gperftools>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.a"
		vmove "usr/lib/*.so"
		vmove usr/share
	}
}
