2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright (c) 2015-2021 Jim Klimov
14 # Copyright (c) 2023 Niklas Poslovski
18 USE_DEFAULT_TEST_TRANSFORMS
= yes
19 include ..
/..
/..
/make-rules
/shared-macros.mk
21 COMPONENT_NAME
= ccache
22 COMPONENT_VERSION
= 4.8.3
23 COMPONENT_SUMMARY
= ccache
- cacher of GCC-compiled files to avoid doing the same job twice
24 COMPONENT_PROJECT_URL
= https
://ccache.dev
25 COMPONENT_DOCUMENTATION_URL
= https
://ccache.dev
/documentation.html
26 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
27 COMPONENT_ARCHIVE
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
).
tar.xz
28 COMPONENT_ARCHIVE_HASH
= sha256
:e47374c810b248cfca3665ee1d86c7c763ffd68d9944bc422d9c1872611f2b11
29 COMPONENT_ARCHIVE_URL
= https
://github.com
/ccache
/$(COMPONENT_NAME
)/releases
/download
/v
$(COMPONENT_VERSION
)/$(COMPONENT_ARCHIVE
)
30 COMPONENT_FMRI
= developer
/ccache
31 COMPONENT_CLASSIFICATION
= Development
/C
32 COMPONENT_LICENSE
= GPLv3
, murmurhash
, papowell
/jhweiss
, PostgreSQL
, Python
, zlib
33 COMPONENT_LICENSE_FILE
= LICENSE.adoc
35 include $(WS_MAKE_RULES
)/common.mk
39 #COMPONENT_TEST_TRANSFORMS += '-e "s/ [0-9].[0-9][0-9] sec//" '
40 #COMPONENT_TEST_TRANSFORMS += '-e "s/ [0-9][0-9].[0-9][0-9] sec//" '
41 #COMPONENT_TEST_TRANSFORMS += '-e "s/ [0-9][0-9][0-9].[0-9][0-9] sec//" '
43 # Auto-generated dependencies
44 REQUIRED_PACKAGES
+= $(GCC_RUNTIME_PKG
)
45 REQUIRED_PACKAGES
+= $(GXX_RUNTIME_PKG
)
46 REQUIRED_PACKAGES
+= SUNWcs
47 REQUIRED_PACKAGES
+= compress
/zstd
48 REQUIRED_PACKAGES
+= database
/hiredis
49 REQUIRED_PACKAGES
+= shell/ksh93
50 REQUIRED_PACKAGES
+= system
/library
51 REQUIRED_PACKAGES
+= system
/library
/math