mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 19:02:57 +02:00
gperftools: not useful without -devel, merge it into one package.
Drop messy docs too.
This commit is contained in:
parent
977c64f3cc
commit
7c78013238
1 changed files with 4 additions and 14 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template build file for 'gperftools'
|
# Template build file for 'gperftools'
|
||||||
pkgname=gperftools
|
pkgname=gperftools
|
||||||
version=2.6.3
|
version=2.6.3
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
checkdepends="perl"
|
checkdepends="perl"
|
||||||
short_desc="Multi-threaded malloc() and performance analysis tools"
|
short_desc="Multi-threaded malloc() and performance analysis tools"
|
||||||
|
@ -11,6 +11,8 @@ 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=314b2ff6ed95cc0763704efb4fb72d0139e1c381069b9e17a619006bee8eee9f
|
||||||
makedepends="libunwind-devel"
|
makedepends="libunwind-devel"
|
||||||
|
provides="gperftools-devel-${version}_${revision}"
|
||||||
|
replaces="gperftools-devel>=0"
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
arm*-musl|aarch64-musl)
|
arm*-musl|aarch64-musl)
|
||||||
|
@ -24,19 +26,7 @@ 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
|
||||||
|
|
||||||
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
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue