components/gzip/Makefile
changeset 977 4a6b2f8dca71
parent 800 2ad056ed89ec
child 1030 faf1845e3b13
child 2434 6c9bb5cf5610
equal deleted inserted replaced
976:3e60a8a2dff1 977:4a6b2f8dca71
    21 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
    21 # Copyright (c) 2011, 2012, 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 
    33 
    34 include ../../make-rules/prep.mk
    34 include ../../make-rules/prep.mk
    35 include ../../make-rules/configure.mk
    35 include ../../make-rules/configure.mk
    36 include ../../make-rules/ips.mk
    36 include ../../make-rules/ips.mk
    39 CONFIGURE_BINDIR.64 =   $(CONFIGURE_PREFIX)/bin
    39 CONFIGURE_BINDIR.64 =   $(CONFIGURE_PREFIX)/bin
    40 
    40 
    41 CONFIGURE_OPTIONS +=	--infodir=$(CONFIGURE_INFODIR)
    41 CONFIGURE_OPTIONS +=	--infodir=$(CONFIGURE_INFODIR)
    42 CONFIGURE_OPTIONS +=	CFLAGS="$(CFLAGS)" 
    42 CONFIGURE_OPTIONS +=	CFLAGS="$(CFLAGS)" 
    43 
    43 
    44 COMPONENT_TEST_ENV +=	PATH=/usr/gnu/bin:/usr/bin
    44 # Needed for "gmake test" to work successfully.
       
    45 # If SHELLOPTS is exported (as it is by the userland makefiles),
       
    46 # then all shell options get exported to child invocations of bash,
       
    47 # which results in test failures due to nounset and xtrace being
       
    48 # set unexpectedly, and errors such as "$1: unbound variable" and
       
    49 # diffs failing due to script tracing in output files.
       
    50 unexport SHELLOPTS
       
    51 
       
    52 # Get the binaries to test from the component build area.
       
    53 COMPONENT_TEST_ENV +=	PATH=$(BUILD_DIR_$(BITS)):/usr/xpg4/bin:/usr/bin
    45 COMPONENT_TEST_TARGETS = check
    54 COMPONENT_TEST_TARGETS = check
    46 
    55 
    47 # Fix references to Solaris renamed programs (z*->gz*) in man pages, info
    56 # Fix references to Solaris renamed programs (z*->gz*) in man pages, info
    48 # pages and in wrapper scripts.
    57 # pages and in wrapper scripts.
    49 COMPONENT_PRE_INSTALL_ACTION = \
    58 COMPONENT_PRE_INSTALL_ACTION = \