mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
gperftools: update to 2.7.
This commit is contained in:
parent
3139cf3efa
commit
c50a31ad09
2 changed files with 23 additions and 10 deletions
1
srcpkgs/gperftools-devel
Symbolic link
1
srcpkgs/gperftools-devel
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
gperftools
|
|
@ -1,32 +1,44 @@
|
||||||
# Template build file for 'gperftools'
|
# Template build file for 'gperftools'
|
||||||
pkgname=gperftools
|
pkgname=gperftools
|
||||||
version=2.6.3
|
version=2.7
|
||||||
revision=2
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
|
makedepends="libunwind-devel"
|
||||||
checkdepends="perl"
|
checkdepends="perl"
|
||||||
short_desc="Multi-threaded malloc() and performance analysis tools"
|
short_desc="Multi-threaded malloc() and performance analysis tools"
|
||||||
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
||||||
license="3-clause-BSD"
|
license="BSD-3-Clause"
|
||||||
homepage="https://github.com/gperftools/gperftools"
|
homepage="https://github.com/gperftools/gperftools"
|
||||||
distfiles="https://github.com/${pkgname}/${pkgname}/releases/download/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
|
distfiles="https://github.com/${pkgname}/${pkgname}/releases/download/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
|
||||||
checksum=314b2ff6ed95cc0763704efb4fb72d0139e1c381069b9e17a619006bee8eee9f
|
checksum=1ee8c8699a0eff6b6a203e59b43330536b22bbcbe6448f54c7091e5efb0763c9
|
||||||
makedepends="libunwind-devel"
|
|
||||||
provides="gperftools-devel-${version}_${revision}"
|
provides="gperftools-devel-${version}_${revision}"
|
||||||
replaces="gperftools-devel>=0"
|
replaces="gperftools-devel>=0"
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
arm*-musl|aarch64-musl)
|
arm*-musl|aarch64-musl)
|
||||||
makedepends=
|
makedepends=
|
||||||
configure_args="--disable-libunwind"
|
configure_args="--disable-libunwind"
|
||||||
# benchmark/getcontext_light.cc:57: undefined reference to 'getcontext'
|
# benchmark/getcontext_light.cc:57: undefined reference to 'getcontext'
|
||||||
broken=https://build.voidlinux.eu/builders/armv6l-musl_builder/builds/3743/steps/shell_3/logs/stdio
|
broken=https://build.voidlinux.eu/builders/armv6l-musl_builder/builds/3743/steps/shell_3/logs/stdio ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
sed -i -e 's/__off64_t/off64_t/' \
|
sed -i -e 's/__off64_t/off64_t/' \
|
||||||
src/base/linux_syscall_support.h src/malloc_hook_mmap_linux.h
|
src/base/linux_syscall_support.h src/malloc_hook_mmap_linux.h
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense COPYING
|
vlicense COPYING
|
||||||
rm -rf ${DESTDIR}/usr/share/doc
|
rm -rf ${DESTDIR}/usr/share/doc
|
||||||
}
|
}
|
||||||
|
|
||||||
|
gperftools-devel_package() {
|
||||||
|
depends="gperftools-${version}_${revision}"
|
||||||
|
short_desc+=" - development files"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/include
|
||||||
|
vmove usr/lib/pkgconfig
|
||||||
|
vmove "usr/lib/*.so"
|
||||||
|
vmove "usr/lib/*.a"
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue