2014-03-08 12:43:09 +00:00
|
|
|
# Template build file for 'gperftools'
|
|
|
|
pkgname=gperftools
|
2015-01-12 23:35:20 +00:00
|
|
|
version=2.4
|
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"
|
2014-07-03 19:31:57 +00:00
|
|
|
distfiles="https://googledrive.com/host/0B6NtGsLhIcf7MWxMMF9JdTN3UVk/gperftools-$version.zip"
|
2015-01-12 23:35:20 +00:00
|
|
|
checksum=2d80f7b0126d73f5cda70f36d2a4ba88da93b1775e9fd2acf773bb2854e97a38
|
2014-05-04 09:29:22 +00:00
|
|
|
hostmakedepends="unzip"
|
2014-03-08 12:43:09 +00:00
|
|
|
makedepends="libunwind-devel"
|
|
|
|
|
2014-05-04 09:00:42 +00:00
|
|
|
pre_configure() {
|
2014-05-04 09:29:22 +00:00
|
|
|
sed -i -e "s/^UNWIND_LIBS = .*/UNWIND_LIBS = -lunwind/" Makefile.in
|
2014-05-04 09:00:42 +00:00
|
|
|
}
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|