ccache: 4.7 -> 4.7.1

This commit is contained in:
Tim Biermann 2022-10-23 09:45:25 +02:00
parent fc845f3c36
commit a631970eaf
Signed by: tb
GPG Key ID: 42F8B4E30B673606
2 changed files with 9 additions and 9 deletions

View File

@ -1,6 +1,6 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/VsBODWK16hlY81eMKmggQsFiGbAKu7HLLbhH5n4WEUmEMQp/Dh9WppG4/xVN1zrCMTqgRIqMW4kjHKbAjqOnQk=
SHA256 (Pkgfile) = ffe09c9d0164b09fba0ef1c6826e7adc68c24966f4520a9c7727e586a33f522f
RWSE3ohX2g5d/Wq1TvLJCdUZmKCkvIP+Sxdori7Rqkb3XjasSHjDkU03eQHjPba0snnfGIiy65eCk6yjbg4SitkIcNVRIT4dSwI=
SHA256 (Pkgfile) = 955fc933d6d864fd2491923d6f430d110795a1cb6127a240ace7335d8e14d27c
SHA256 (.footprint) = aa85bfc686cf873efffd292c55eae8016e161bd8074d4f3490539f6089eead23
SHA256 (ccache-4.7.tar.xz) = d9283bbe22085268f52d309b91adb81a77a7abe10867eb6852057910ffac736a
SHA256 (ccache-4.7.1.tar.xz) = 04ccc746524cb7fb914ccdfc66e7c54504204afee0e270ac75e8f66196521b6d
SHA256 (ccache.1) = 5ea5fcc0a54fafe7404c1a9a4edd668fecd6649b64b7202dbe346e61086fc8c3

View File

@ -2,25 +2,25 @@
# URL: https://ccache.dev/
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: cmake
# Optional: asciidoctor clang-ccache-bindings
# Optional: asciidoctor hiredis clang-ccache-bindings gcc-fortran-ccache-bindings mingw-ccache-bindings
name=ccache
version=4.7
version=4.7.1
release=1
source=(https://github.com/$name/$name/releases/download/v$version/$name-$version.tar.xz
ccache.1)
build() {
prt-get isinst ninja && PKGMK_CCACHE+=' -G Ninja'
prt-get isinst hiredis && PKGMK_CCACHE+=' -D REDIS_STORAGE_BACKEND=ON' || PKGMK_CCACHE+=' -D REDIS_STORAGE_BACKEND=OFF'
cmake -S $name-$version -B build $PKGMK_CCACHE \
cmake -S $name-$version -B build -G Ninja $PKGMK_CCACHE \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_INSTALL_LIBDIR=lib \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
-D ZSTD_FROM_INTERNET=ON \
-D REDIS_STORAGE_BACKEND=OFF
-D HIREDIS_FROM_INTERNET=OFF \
-D ZSTD_FROM_INTERNET=OFF
cmake --build build
DESTDIR=$PKG cmake --install build