void-packages/srcpkgs/gperftools/template
2014-12-09 10:31:30 +01:00

29 lines
834 B
Text

# Template build file for 'gperftools'
pkgname=gperftools
version=2.3
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://googledrive.com/host/0B6NtGsLhIcf7MWxMMF9JdTN3UVk/gperftools-$version.zip"
checksum=1a8f994ac305a44cfab2f7d00bfd7a7e34b12906859e1b47e6af385aa729ea79
hostmakedepends="unzip"
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"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/share
}
}