components/pkgbuild/Makefile
changeset 5228 b457e3bd2acc
child 5682 94c0ca64c022
equal deleted inserted replaced
5227:97906d9e2ac2 5228:b457e3bd2acc
       
     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 
       
    22 #
       
    23 # Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
       
    24 #
       
    25 
       
    26 BITS=64
       
    27 include ../../make-rules/shared-macros.mk
       
    28 
       
    29 COMPONENT_NAME=		pkgbuild
       
    30 COMPONENT_VERSION=	1.3.105
       
    31 COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
       
    32 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.bz2
       
    33 COMPONENT_ARCHIVE_HASH=	\
       
    34     sha256:ed32d913af249d4221c2b94450eb4e996747024260c210620e94ac8130bc0fd6
       
    35 COMPONENT_ARCHIVE_URL=	http://prdownloads.sourceforge.net/pkgbuild/$(COMPONENT_ARCHIVE)
       
    36 COMPONENT_PROJECT_URL=	http://pkgbuild.sourceforge.net/
       
    37 COMPONENT_BUGDB=	utility/pkgbuild
       
    38 
       
    39 TPNO=			13159
       
    40 
       
    41 include $(WS_MAKE_RULES)/prep.mk
       
    42 include $(WS_MAKE_RULES)/configure.mk
       
    43 include $(WS_MAKE_RULES)/ips.mk
       
    44 
       
    45 # Required due to patches to configure and/or automake files.
       
    46 COMPONENT_PREP_ACTION += (cd $(@D); autoreconf -fi;)
       
    47 
       
    48 ASLR_MODE = $(ASLR_ENABLE)
       
    49 
       
    50 CONFIGURE_ENV += CFLAGS="$(CFLAGS)"
       
    51 
       
    52 # common targets
       
    53 configure:	$(CONFIGURE_64)
       
    54 
       
    55 build:		$(BUILD_64)
       
    56 
       
    57 install:	$(INSTALL_64)
       
    58 
       
    59 test:		$(NO_TESTS)
       
    60 
       
    61 system-test:	$(NO_TESTS)
       
    62 
       
    63 REQUIRED_PACKAGES += system/library
       
    64 REQUIRED_PACKAGES += runtime/perl-512