components/php-5_3/zendopcache/Makefile
branchs11-update
changeset 2947 38d16c6d5c60
child 2211 a99bbd5139c0
equal deleted inserted replaced
2946:74c77317f502 2947:38d16c6d5c60
       
     1 #
       
     2 # CDDL HEADER START
       
     3 #
       
     4 # The contents of this file are subject to the terms of the
       
     5 # Common Development and Distribution License (the "License").
       
     6 # You may not use this file except in compliance with the License.
       
     7 #
       
     8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
       
     9 # or http://www.opensolaris.org/os/licensing.
       
    10 # See the License for the specific language governing permissions
       
    11 # and limitations under the License.
       
    12 #
       
    13 # When distributing Covered Code, include this CDDL HEADER in each
       
    14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
       
    15 # If applicable, add the following below this CDDL HEADER, with the
       
    16 # fields enclosed by brackets "[]" replaced with your own identifying
       
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
       
    18 #
       
    19 # CDDL HEADER END
       
    20 #
       
    21 # Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
       
    22 #
       
    23 include ../../../make-rules/shared-macros.mk
       
    24 
       
    25 COMPONENT_NAME=		zendopcache
       
    26 COMPONENT_VERSION=	7.0.2
       
    27 COMPONENT_PROJECT_URL=	http://pecl.php.net/package/ZendOpcache
       
    28 COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
       
    29 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tgz
       
    30 COMPONENT_ARCHIVE_HASH=	\
       
    31     sha256:4aea4f0242dc50a5a68e7a170c3c537716e5da03b2a7b322349f211c09d90f44
       
    32 COMPONENT_ARCHIVE_URL=	http://pecl.php.net/get/$(COMPONENT_ARCHIVE)
       
    33 COMPONENT_BUGDB=	utility/php
       
    34 
       
    35 include ../extensions.mk
       
    36 include ../cleancr.mk
       
    37 
       
    38 COMPONENT_PREP_ACTION += $(call cleancr,$(SOURCE_DIR)/Optimizer/zend_optimizer_internal.h)
       
    39 COMPONENT_PREP_ACTION += $(call cleancr,$(SOURCE_DIR)/Optimizer/zend_optimizer.c)
       
    40 COMPONENT_PREP_ACTION += $(call cleancr,$(SOURCE_DIR)/Optimizer/zend_optimizer.h)
       
    41 
       
    42 COMPONENT_POST_INSTALL_ACTION = ( \
       
    43 	$(FIX_CONFIG_FILES) \
       
    44 	)
       
    45 
       
    46 # Testing note:
       
    47 # According to: https://github.com/zendtech/ZendOptimizerPlus/issues/13
       
    48 # and https://github.com/zendtech/ZendOptimizerPlus/issues/13
       
    49 #	these tests are having issues.
       
    50 # My own testing shows that if these are run by hand most of them pass.
       
    51 # There is some issue around the cli version of php not liking this optimizer.