components/gzip/Makefile
branchs11u1-sru
changeset 2842 2168e180aa83
parent 800 2ad056ed89ec
equal deleted inserted replaced
2836:b85607555ab0 2842:2168e180aa83
    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 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
    21 # Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
    22 #
    22 #
    23 include ../../make-rules/shared-macros.mk
    23 include ../../make-rules/shared-macros.mk
    24 
    24 
    25 COMPONENT_NAME=		gzip
    25 COMPONENT_NAME=		gzip
    26 COMPONENT_VERSION=	1.4
    26 COMPONENT_VERSION=	1.5
    27 COMPONENT_PROJECT_URL=	http://www.gnu.org/software/gzip/
    27 COMPONENT_PROJECT_URL=	http://www.gnu.org/software/gzip/
    28 COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
    28 COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
    29 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
    29 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
    30 COMPONENT_ARCHIVE_HASH=	\
    30 COMPONENT_ARCHIVE_HASH=	\
    31     sha256:d166cfd3da380da1bd535633e8890bfb5664f9e68870a611d1dc01a3e9f711ee
    31     sha256:b5d56e8ffc9918e8c941fab56e04121194f9870adeeb859e09c09eac264035a3
    32 COMPONENT_ARCHIVE_URL=	ftp://ftp.gnu.org/gnu/gzip/$(COMPONENT_ARCHIVE)
    32 COMPONENT_ARCHIVE_URL=	ftp://ftp.gnu.org/gnu/gzip/$(COMPONENT_ARCHIVE)
       
    33 COMPONENT_BUGDB=	utility/gzip
    33 
    34 
    34 include ../../make-rules/prep.mk
    35 include ../../make-rules/prep.mk
    35 include ../../make-rules/configure.mk
    36 include ../../make-rules/configure.mk
    36 include ../../make-rules/ips.mk
    37 include ../../make-rules/ips.mk
    37 
    38 
    39 CONFIGURE_BINDIR.64 =   $(CONFIGURE_PREFIX)/bin
    40 CONFIGURE_BINDIR.64 =   $(CONFIGURE_PREFIX)/bin
    40 
    41 
    41 CONFIGURE_OPTIONS +=	--infodir=$(CONFIGURE_INFODIR)
    42 CONFIGURE_OPTIONS +=	--infodir=$(CONFIGURE_INFODIR)
    42 CONFIGURE_OPTIONS +=	CFLAGS="$(CFLAGS)" 
    43 CONFIGURE_OPTIONS +=	CFLAGS="$(CFLAGS)" 
    43 
    44 
    44 COMPONENT_TEST_ENV +=	PATH=/usr/gnu/bin:/usr/bin
    45 # Needed for "gmake test" to work successfully.
       
    46 # If SHELLOPTS is exported (as it is by the userland makefiles),
       
    47 # then all shell options get exported to child invocations of bash,
       
    48 # which results in test failures due to nounset and xtrace being
       
    49 # set unexpectedly, and errors such as "$1: unbound variable" and
       
    50 # diffs failing due to script tracing in output files.
       
    51 unexport SHELLOPTS
       
    52 
       
    53 COMPONENT_PREP_ACTION = (cd $(SOURCE_DIR); $(AUTORECONF) -if)
       
    54 
       
    55 # Get the binaries to test from the component build area.
       
    56 COMPONENT_TEST_ENV +=	PATH=$(BUILD_DIR_$(BITS)):/usr/xpg4/bin:/usr/bin
    45 COMPONENT_TEST_TARGETS = check
    57 COMPONENT_TEST_TARGETS = check
    46 
    58 
    47 # Fix references to Solaris renamed programs (z*->gz*) in man pages, info
    59 # Fix references to Solaris renamed programs (z*->gz*) in man pages, info
    48 # pages and in wrapper scripts.
    60 # pages and in wrapper scripts.
    49 COMPONENT_PRE_INSTALL_ACTION = \
    61 COMPONENT_PRE_INSTALL_ACTION = \