ccache: remove from bootstrap

This commit is contained in:
Đoàn Trần Công Danh 2021-06-06 09:03:17 +07:00 committed by Đoàn Trần Công Danh
parent f6fecb9c14
commit 28f39bab0e

View file

@ -2,9 +2,9 @@
pkgname=ccache
version=4.2.1
revision=1
bootstrap=yes
build_style=cmake
configure_args="-DENABLE_TESTING=OFF"
hostmakedepends="asciidoc perl"
makedepends="libzstd-devel zlib-devel"
short_desc="Fast C/C++ Compiler Cache"
maintainer="Enno Boland <gottox@voidlinux.org>"
@ -14,15 +14,7 @@ changelog="https://ccache.dev/releasenotes.html"
distfiles="https://github.com/ccache/ccache/releases/download/v${version}/${pkgname}-${version}.tar.xz"
checksum=9d6ba1cdefdc690401f404b747d81a9a1802b17af4235815866b7620d980477e
if [ -z "$CHROOT_READY" ]; then
hostmakedepends="cmake-bootstrap"
export CMAKE_GENERATOR="Unix Makefiles"
make_cmd="make"
else
hostmakedepends="asciidoc perl"
fi
if [ -n "$CHROOT_READY" ] && [ -n "$XBPS_CHECK_PKGS" ]; then
if [ -n "$XBPS_CHECK_PKGS" ]; then
configure_args+=" -DENABLE_TESTING=ON"
fi