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