#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL)". You may
# only use this file in accordance with the terms of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source. A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#

#
# Copyright (c) 2016 Sergey Avseyev
# Copyright (c) 2019 Alexander Pyhalov
# Copyright (c) 2023 Friedrich Kink
#

set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.human-version value=$(HUMAN_VERSION)
set name=pkg.summary value="$(COMPONENT_SUMMARY)"
set name=info.classification value="$(COMPONENT_CLASSIFICATION)"
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)

license $(COMPONENT_LICENSE_FILE) license=$(COMPONENT_LICENSE)

<transform file path=usr/php/8.3/extensions/.*\.so -> \
    add pkg.linted.userland.action001.2 true>

file apcu.ini path=etc/php/8.3/conf.d/apcu.ini preserve=true mode=0644

file path=usr/php/8.3/extensions/apcu.so
file path=usr/php/8.3/include/php/ext/apcu/apc.h
file path=usr/php/8.3/include/php/ext/apcu/apc_api.h
file path=usr/php/8.3/include/php/ext/apcu/apc_arginfo.h
file path=usr/php/8.3/include/php/ext/apcu/apc_cache.h
file path=usr/php/8.3/include/php/ext/apcu/apc_globals.h
file path=usr/php/8.3/include/php/ext/apcu/apc_iterator.h
file path=usr/php/8.3/include/php/ext/apcu/apc_lock.h
file path=usr/php/8.3/include/php/ext/apcu/apc_mutex.h
file path=usr/php/8.3/include/php/ext/apcu/apc_serializer.h
file path=usr/php/8.3/include/php/ext/apcu/apc_sma.h
file path=usr/php/8.3/include/php/ext/apcu/apc_stack.h
file path=usr/php/8.3/include/php/ext/apcu/php_apc.h
file path=usr/php/8.3/include/php/ext/apcu/php_apc_legacy_arginfo.h