void-packages/srcpkgs/gperftools/template

30 lines
829 B
Text
Raw Normal View History

2014-03-08 12:43:09 +00:00
# Template build file for 'gperftools'
pkgname=gperftools
version=2.2
2014-03-08 12:43:09 +00:00
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-2.2.zip"
checksum=309cdffc7bea6355e79f9055c7b02f695e84010b91083fae52760122d96c6a72
hostmakedepends="unzip"
2014-03-08 12:43:09 +00:00
makedepends="libunwind-devel"
pre_configure() {
sed -i -e "s/^UNWIND_LIBS = .*/UNWIND_LIBS = -lunwind/" Makefile.in
}
2014-03-08 12:43:09 +00:00
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
}
}