components/perl_modules/xml-sax/Makefile
branchs11u1-sru
changeset 2650 4d6a58429fb1
equal deleted inserted replaced
2641:d4f4b5fe93f0 2650:4d6a58429fb1
       
     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) 2013, Oracle and/or its affiliates. All rights reserved.
       
    22 #
       
    23 
       
    24 include ../../../make-rules/shared-macros.mk
       
    25 
       
    26 COMPONENT_NAME=		XML-SAX
       
    27 COMPONENT_VERSION=	0.99
       
    28 COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
       
    29 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
       
    30 COMPONENT_ARCHIVE_HASH=	\
       
    31     sha256:32b04b8e36b6cc4cfc486de2d859d87af5386dd930f2383c49347050d6f5ad84
       
    32 COMPONENT_ARCHIVE_URL=	http://search.cpan.org/CPAN/authors/id/G/GR/GRANTM/$(COMPONENT_ARCHIVE)
       
    33 COMPONENT_PROJECT_URL=	http://search.cpan.org/~grantm/XML-SAX-0.99/SAX.pm
       
    34 COMPONENT_BUGDB=	perl-mod/xml-sax
       
    35 
       
    36 # don't build this module against perl 5.8.4
       
    37 # build threaded 5.12 support too
       
    38 PERL_VERSIONS = 5.12 5.12-mt
       
    39 
       
    40 include $(WS_TOP)/make-rules/prep.mk
       
    41 include $(WS_TOP)/make-rules/ips.mk
       
    42 include $(WS_TOP)/make-rules/makemaker.mk
       
    43 
       
    44 # man pages go in the common area
       
    45 COMPONENT_INSTALL_ENV += INSTALLVENDORMAN3DIR=$(USRSHAREMAN3DIR)
       
    46 
       
    47 COMPONENT_TEST_TARGETS = test
       
    48 
       
    49 build:		$(BUILD_32)
       
    50 
       
    51 install:	$(INSTALL_32)
       
    52 
       
    53 test:		$(TEST_32)
       
    54 
       
    55 BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
       
    56 
       
    57 include $(WS_TOP)/make-rules/depend.mk