components/pkgbuild/Makefile
changeset 5682 94c0ca64c022
parent 5228 b457e3bd2acc
child 5797 432ac76de3b0
equal deleted inserted replaced
5681:b8fe51f35344 5682:94c0ca64c022
    20 #
    20 #
    21 
    21 
    22 #
    22 #
    23 # Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
    23 # Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
    24 #
    24 #
    25 
    25 BUILD_BITS= 64
    26 BITS=64
       
    27 include ../../make-rules/shared-macros.mk
    26 include ../../make-rules/shared-macros.mk
    28 
    27 
    29 COMPONENT_NAME=		pkgbuild
    28 COMPONENT_NAME=		pkgbuild
    30 COMPONENT_VERSION=	1.3.105
    29 COMPONENT_VERSION=	1.3.105
    31 COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
       
    32 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.bz2
    30 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.bz2
    33 COMPONENT_ARCHIVE_HASH=	\
    31 COMPONENT_ARCHIVE_HASH=	\
    34     sha256:ed32d913af249d4221c2b94450eb4e996747024260c210620e94ac8130bc0fd6
    32     sha256:ed32d913af249d4221c2b94450eb4e996747024260c210620e94ac8130bc0fd6
    35 COMPONENT_ARCHIVE_URL=	http://prdownloads.sourceforge.net/pkgbuild/$(COMPONENT_ARCHIVE)
    33 COMPONENT_ARCHIVE_URL=	http://prdownloads.sourceforge.net/pkgbuild/$(COMPONENT_ARCHIVE)
    36 COMPONENT_PROJECT_URL=	http://pkgbuild.sourceforge.net/
    34 COMPONENT_PROJECT_URL=	http://pkgbuild.sourceforge.net/
    37 COMPONENT_BUGDB=	utility/pkgbuild
       
    38 
    35 
    39 TPNO=			13159
    36 TPNO=			13159
    40 
    37 
    41 include $(WS_MAKE_RULES)/prep.mk
    38 TEST_TARGET= $(NO_TESTS)
    42 include $(WS_MAKE_RULES)/configure.mk
    39 include $(WS_MAKE_RULES)/common.mk
    43 include $(WS_MAKE_RULES)/ips.mk
       
    44 
    40 
    45 # Required due to patches to configure and/or automake files.
    41 # Required due to patches to configure and/or automake files.
    46 COMPONENT_PREP_ACTION += (cd $(@D); autoreconf -fi;)
    42 COMPONENT_PREP_ACTION += (cd $(@D); autoreconf -fi;)
    47 
    43 
    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
    44 REQUIRED_PACKAGES += runtime/perl-512