components/php-5_3/php-sapi/Makefile
changeset 934 f44530931819
parent 846 fe258446a1ae
child 1402 f225f89a0538
equal deleted inserted replaced
933:fbf8e08af1f1 934:f44530931819
    20 #
    20 #
    21 # Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
    21 # Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
    22 #
    22 #
    23 include ../../../make-rules/shared-macros.mk
    23 include ../../../make-rules/shared-macros.mk
    24 
    24 
       
    25 # NOTE:
       
    26 #    Currently the version numbers in the package manifests, one
       
    27 #    level up, are manually set because the COMPONENT_VERSION, like
       
    28 #    below, is not available at the top level where this is IPS
       
    29 #    published from.
       
    30 
    25 COMPONENT_NAME=		php
    31 COMPONENT_NAME=		php
    26 COMPONENT_VERSION=	5.3.10
    32 COMPONENT_VERSION=	5.3.14
    27 COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
    33 COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
    28 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.bz2
    34 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.bz2
    29 COMPONENT_ARCHIVE_HASH= \
    35 COMPONENT_ARCHIVE_HASH= \
    30     sha256:339157af2b386534597d287da292f2545e81d9b452e8b3fe525fb2c534ff344a
    36     sha256:c8075b6e83c5db0d26cc8426a7456856421089a76c963813b1fcac3ced041cb3
    31 COMPONENT_ARCHIVE_URL=	http://us.php.net/get/$(COMPONENT_ARCHIVE)/from/this/mirror
    37 COMPONENT_ARCHIVE_URL=	http://us.php.net/get/$(COMPONENT_ARCHIVE)/from/this/mirror
    32 COMPONENT_PROJECT_URL=	http://www.php.net/
    38 COMPONENT_PROJECT_URL=	http://www.php.net/
    33 
    39 
    34 #
    40 #
    35 # php documentation
    41 # php documentation
    36 COMPONENT_NAME_1=       php_manual_en_20120203
    42 COMPONENT_NAME_1=       php_manual_en
    37 #COMPONENT_VERSION_1=   NONE
    43 COMPONENT_VERSION_1=	20120717
    38 COMPONENT_SRC_1=        $(COMPONENT_NAME_1)
    44 COMPONENT_SRC_1=        $(COMPONENT_NAME_1)_$(COMPONENT_VERSION_1)
    39 COMPONENT_ARCHIVE_1=    $(COMPONENT_NAME_1).tar.gz
    45 COMPONENT_ARCHIVE_1=    $(COMPONENT_SRC_1).tar.gz
    40 COMPONENT_ARCHIVE_HASH_1= \
    46 COMPONENT_ARCHIVE_HASH_1= \
    41     sha256:b53619be9c1db4f20924da07b62a20e6ca51df1025b4e1eabc33125c1df11f7d
    47     sha256:4c5d45e5f49bb164d40154fdef57b3193e7b77e306055559e60615c8ca9a3c30
    42 #
    48 #
    43 # TODO: Need a copy of this on our internal server in order to freeze
    49 # This next download URL is completely hocus pocus.
    44 # the version.  php.net does not freeze the documentation version.
    50 # php.net does not freeze their documentation to match the software versions.
    45 COMPONENT_ARCHIVE_URL_1= http://us.php.net/get/$(COMPONENT_ARCHIVE_1)/from/this/mirror
    51 # So we need to take a snapshot of PHP's documentation by downloading what
       
    52 # they currently have from this URL:
       
    53 # COMPONENT_ARCHIVE_URL_1=http://us.php.net/get/php_manual_en.tar.gz/from/this/mirror
       
    54 # Then move that download to the name being constructed in the variables
       
    55 # above.  Finally, forward a copy to the gatekeeping staff to place
       
    56 # the copy in userland's download cache so that the following download URL
       
    57 # will pick it up.
       
    58 COMPONENT_ARCHIVE_URL_1=http://us.php.net/get/$(COMPONENT_ARCHIVE_1)/from/this/mirror
    46 
    59 
    47 include $(WS_TOP)/make-rules/prep.mk
    60 include $(WS_TOP)/make-rules/prep.mk
    48 include $(WS_TOP)/make-rules/configure.mk
    61 include $(WS_TOP)/make-rules/configure.mk
    49 include $(WS_TOP)/make-rules/ips.mk
    62 include $(WS_TOP)/make-rules/ips.mk
    50 
    63 
   209 # common targets
   222 # common targets
   210 build:		$(BUILD_32)
   223 build:		$(BUILD_32)
   211 
   224 
   212 install:	$(INSTALL_32) PHP-NSAPI_INSTALL PHP-CGI_INSTALL
   225 install:	$(INSTALL_32) PHP-NSAPI_INSTALL PHP-CGI_INSTALL
   213 
   226 
       
   227 # Besides running this test target it is also strong advised to download
       
   228 # and test with:
       
   229 # Joomla!	http://www.joomla.org/
       
   230 # WordPress	http://wordpress.org/
   214 test:		$(TEST_32)
   231 test:		$(TEST_32)
   215 
   232 
   216 ../imap/build/$(MACH32)/.built:
   233 ../imap/build/$(MACH32)/.built:
   217 	(cd ../imap ; $(MAKE) build)
   234 	(cd ../imap ; $(MAKE) build)
   218 
   235