ccache: update to 4.0
This release changes from using autoconf to cmake.
This commit is contained in:
parent
375a75dc07
commit
e4308169ba
1 changed files with 10 additions and 5 deletions
|
@ -1,11 +1,11 @@
|
||||||
# Template file for 'ccache'
|
# Template file for 'ccache'
|
||||||
pkgname=ccache
|
pkgname=ccache
|
||||||
version=3.7.12
|
version=4.0
|
||||||
revision=1
|
revision=1
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
build_style=gnu-configure
|
build_style=cmake
|
||||||
make_check_args="CC=gcc"
|
hostmakedepends="cmake-bootstrap"
|
||||||
makedepends="zlib-devel"
|
makedepends="libzstd-devel zlib-devel"
|
||||||
checkdepends="perl"
|
checkdepends="perl"
|
||||||
short_desc="Fast C/C++ Compiler Cache"
|
short_desc="Fast C/C++ Compiler Cache"
|
||||||
maintainer="Enno Boland <gottox@voidlinux.org>"
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
||||||
|
@ -13,7 +13,12 @@ license="GPL-3.0-or-later"
|
||||||
homepage="https://ccache.samba.org/"
|
homepage="https://ccache.samba.org/"
|
||||||
changelog="https://ccache.dev/releasenotes.html"
|
changelog="https://ccache.dev/releasenotes.html"
|
||||||
distfiles="https://github.com/ccache/ccache/releases/download/v${version}/${pkgname}-${version}.tar.xz"
|
distfiles="https://github.com/ccache/ccache/releases/download/v${version}/${pkgname}-${version}.tar.xz"
|
||||||
checksum=a02f4e8360dc6618bc494ca35b0ae21cea080f804a4898eab1ad3fcd108eb400
|
checksum=ac1b82fe0a5e39905945c4d68fcb24bd0f32344869faf647a1b8d31e544dcb88
|
||||||
|
|
||||||
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||||
|
makedepends+=" libatomic-devel"
|
||||||
|
configure_args="-DCMAKE_CXX_STANDARD_LIBRARIES=-latomic"
|
||||||
|
fi
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vmkdir usr/lib/ccache/bin
|
vmkdir usr/lib/ccache/bin
|
||||||
|
|
Loading…
Reference in a new issue