904N/A#
904N/A# CDDL HEADER START
904N/A#
904N/A# The contents of this file are subject to the terms of the
904N/A# Common Development and Distribution License (the "License").
904N/A# You may not use this file except in compliance with the License.
904N/A#
904N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
904N/A# or http://www.opensolaris.org/os/licensing.
904N/A# See the License for the specific language governing permissions
904N/A# and limitations under the License.
904N/A#
904N/A# When distributing Covered Code, include this CDDL HEADER in each
904N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
904N/A# If applicable, add the following below this CDDL HEADER, with the
904N/A# fields enclosed by brackets "[]" replaced with your own identifying
904N/A# information: Portions Copyright [yyyy] [name of copyright owner]
904N/A#
904N/A# CDDL HEADER END
904N/A#
3469N/A# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
904N/A#
904N/Ainclude ../../../make-rules/shared-macros.mk
904N/A
904N/ACOMPONENT_NAME= memcache
904N/ACOMPONENT_VERSION= 3.0.6
904N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
904N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tgz
904N/ACOMPONENT_ARCHIVE_HASH= \
904N/A sha256:cf6871f0944ee38022c5f84910f306d83b0f51564bbc08624a215e06d8486618
904N/ACOMPONENT_ARCHIVE_URL= http://pecl.php.net/get/$(COMPONENT_ARCHIVE)
904N/ACOMPONENT_PROJECT_URL= http://pecl.php.net/package/memcache/
904N/A
904N/Ainclude ../extensions.mk
904N/A
904N/ACONFIGURE_OPTIONS += \
904N/A --disable-debug \
904N/A --enable-memcache \
904N/A --with-zlib-dir=/usr
904N/A
904N/ACOMPONENT_POST_INSTALL_ACTION = ( \
3469N/A set -e; \
904N/A $(MKDIR) $(PROTO_DIR)/$(APACHE2_SAMPLES_CONFDIR); \
904N/A $(MKDIR) $(COMPONENT_DIR)/tmp; \
904N/A $(INSTALL) -m 0644 $(COMPONENT_DIR)/../Solaris/php-memcache-stats.conf \
904N/A $(PROTO_DIR)/$(APACHE2_SAMPLES_CONFDIR)/php$(PHP_REL)-memcache-stats.conf; \
904N/A $(GSED) -i -e "s@<<VERSION>>@$(PHP_REL)@g" \
904N/A $(PROTO_DIR)/$(APACHE2_SAMPLES_CONFDIR)/php$(PHP_REL)-memcache-stats.conf; \
904N/A $(MKDIR) $(PROTO_DIR)/usr/php/$(PHP_REL)/samples/memcache; \
904N/A $(INSTALL) -m 0555 $(SOURCE_DIR)/memcache.php \
904N/A $(PROTO_DIR)/usr/php/$(PHP_REL)/samples/memcache/memcache.php; \
904N/A ) ; \
904N/A $(FIX_CONFIG_FILES)
904N/A
904N/APKG_PROTO_DIRS += $(COMPONENT_DIR)/../memcache-zts/build/prototype/$(MACH)