ccache, revbump, move static library and create devel package (#10762)

This commit is contained in:
Schrijvers Luc
2024-07-29 15:57:56 +02:00
committed by GitHub
parent 6ae2dcba0f
commit 82dae067fb

View File

@@ -7,7 +7,7 @@ COPYRIGHT="2002-2007 Andrew Tridgell
2009-2022 Joel Rosdahl and other contributors"
LICENSE="GNU GPL v3
GNU LGPL v3"
REVISION="1"
REVISION="2"
SOURCE_URI="https://github.com/ccache/ccache/releases/download/v$portVersion/ccache-$portVersion.tar.xz"
CHECKSUM_SHA256="83630b5e922b998ab2538823e0cad962c0f956fad1fcf443dd5288269a069660"
PATCHES="ccache-$portVersion.patchset"
@@ -37,6 +37,14 @@ REQUIRES="
lib:libzstd$secondaryArchSuffix
"
PROVIDES_devel="
ccache${secondaryArchSuffix}_devel = $portVersion
devel:libfmt$secondaryArchSuffix
"
REQUIRES_devel="
ccache$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libhiredis$secondaryArchSuffix
@@ -73,9 +81,18 @@ INSTALL()
{
make -C build install
echo "# System-wide configuration for ccache" > $settingsDir/ccache.conf
prepareInstalledDevelLib \
libfmt
fixPkgconfig
packageEntries devel \
$developDir \
$libDir/cmake
}
TEST()
{
# 87% tests passed, 6 tests failed out of 46
make -C build check
}