components/perl_modules/authen-pam/Makefile
branchs11-update
changeset 2723 138732f62341
child 2750 a5a242fc4acc
equal deleted inserted replaced
2722:dc566ca73390 2723:138732f62341
       
     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=		Authen-PAM
       
    27 COMPONENT_VERSION=	0.16
       
    28 COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
       
    29 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
       
    30 COMPONENT_ARCHIVE_HASH=	\
       
    31     sha256:0e949bd9a2a9df0f829971030fe9169cbaf6cec78b92faf22f547ff6c6155c9b
       
    32 COMPONENT_ARCHIVE_URL=	\
       
    33     http://www.cpan.org/modules/by-module/Authen/$(COMPONENT_ARCHIVE)
       
    34 COMPONENT_PROJECT_URL=	http://search.cpan.org/~nikip/
       
    35 COMPONENT_BUGDB=	perl-mod/authen-pam
       
    36 
       
    37 # don't build this module against perl 5.8.4
       
    38 # build threaded 5.12 support too
       
    39 PERL_VERSIONS = 5.12 5.12-mt
       
    40 
       
    41 include $(WS_TOP)/make-rules/prep.mk
       
    42 include $(WS_TOP)/make-rules/ips.mk
       
    43 include $(WS_TOP)/make-rules/makemaker.mk
       
    44 
       
    45 # Enable ASLR for this component
       
    46 ASLR_MODE = $(ASLR_ENABLE)
       
    47 
       
    48 # man pages go in the common area
       
    49 COMPONENT_INSTALL_ENV += INSTALLVENDORMAN3DIR=$(USRSHAREMAN3DIR)
       
    50 
       
    51 COMPONENT_TEST_TARGETS = test
       
    52 
       
    53 build:		$(BUILD_32)
       
    54 
       
    55 install:	$(INSTALL_32)
       
    56 
       
    57 #
       
    58 # Must have xml-parser installed for these tests to pass.
       
    59 #
       
    60 test:		$(TEST_32)
       
    61 
       
    62 BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
       
    63 
       
    64 include $(WS_TOP)/make-rules/depend.mk