components/zip/Makefile
changeset 5682 94c0ca64c022
parent 4339 6501cf9c29f9
child 7687 1093e2a9adbd
equal deleted inserted replaced
5681:b8fe51f35344 5682:94c0ca64c022
    15 # If applicable, add the following below this CDDL HEADER, with the
    15 # If applicable, add the following below this CDDL HEADER, with the
    16 # fields enclosed by brackets "[]" replaced with your own identifying
    16 # fields enclosed by brackets "[]" replaced with your own identifying
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
    18 #
    18 #
    19 # CDDL HEADER END
    19 # CDDL HEADER END
       
    20 #
    20 
    21 
    21 #
    22 #
    22 # Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
    23 # Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
    23 #
    24 #
    24 
    25 BUILD_BITS= 64
    25 include ../../make-rules/shared-macros.mk
    26 include ../../make-rules/shared-macros.mk
    26 
    27 
    27 COMPONENT_NAME=		zip
    28 COMPONENT_NAME=		zip
    28 COMPONENT_VERSION=	3.0
    29 COMPONENT_VERSION=	3.0
    29 COMPONENT_PROJECT_URL=	http://www.info-zip.org/Zip.html
    30 COMPONENT_PROJECT_URL=	http://www.info-zip.org/Zip.html
    30 COMPONENT_SRC=		$(COMPONENT_NAME)30
    31 COMPONENT_SRC=		$(COMPONENT_NAME)30
    31 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tgz
    32 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tgz
    32 COMPONENT_ARCHIVE_HASH=	\
    33 COMPONENT_ARCHIVE_HASH=	\
    33     sha256:f0e8bb1f9b7eb0b01285495a2699df3a4b766784c1765a8f1aeedf63c0806369
    34     sha256:f0e8bb1f9b7eb0b01285495a2699df3a4b766784c1765a8f1aeedf63c0806369
    34 COMPONENT_ARCHIVE_URL=	ftp://ftp.info-zip.org/pub/infozip/src/$(COMPONENT_ARCHIVE)
    35 COMPONENT_ARCHIVE_URL=	ftp://ftp.info-zip.org/pub/infozip/src/$(COMPONENT_ARCHIVE)
    35 COMPONENT_BUGDB=	utility/zip
       
    36 
    36 
    37 TPNO=			17905
    37 TPNO=			17905
    38 
    38 
    39 include $(WS_MAKE_RULES)/prep.mk
    39 BUILD_STYLE= justmake
    40 include $(WS_MAKE_RULES)/justmake.mk
    40 TEST_TARGET= $(NO_TESTS)
    41 include $(WS_MAKE_RULES)/ips.mk
    41 include $(WS_MAKE_RULES)/common.mk
    42 
    42 
    43 # remove the unwanted file.
    43 # remove the unwanted file.
    44 COMPONENT_PREP_ACTION = rm -f $(SOURCE_DIR)/match.S
    44 COMPONENT_PREP_ACTION = rm -f $(SOURCE_DIR)/match.S
    45 
    45 
    46 # The Makefile we want is under unix/Makefile
    46 # The Makefile we want is under unix/Makefile
    51 
    51 
    52 # This doesn't respect DESTDIR, so overload BINDIR and MANDIR when we install.
    52 # This doesn't respect DESTDIR, so overload BINDIR and MANDIR when we install.
    53 COMPONENT_INSTALL_ARGS += BINDIR=$(PROTOUSRBINDIR)
    53 COMPONENT_INSTALL_ARGS += BINDIR=$(PROTOUSRBINDIR)
    54 COMPONENT_INSTALL_ARGS += MANDIR=$(PROTOUSRSHAREMAN1DIR)
    54 COMPONENT_INSTALL_ARGS += MANDIR=$(PROTOUSRSHAREMAN1DIR)
    55 
    55 
    56 # Enable ASLR for this component
       
    57 ASLR_MODE = $(ASLR_ENABLE)
       
    58 
       
    59 # common targets
       
    60 build:		$(BUILD_64)
       
    61 
       
    62 install:	$(INSTALL_64)
       
    63 
       
    64 test:		$(NO_TESTS)
       
    65 
       
    66 system-test:    $(NO_TESTS)
       
    67 
       
    68 
       
    69 REQUIRED_PACKAGES += compress/bzip2
    56 REQUIRED_PACKAGES += compress/bzip2
    70 REQUIRED_PACKAGES += system/library