2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2003-03-10 20:34:38 +01:00
|
|
|
#
|
|
|
|
# gzip
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-06-23 03:29:59 +02:00
|
|
|
|
2016-04-27 12:25:09 +02:00
|
|
|
GZIP_VERSION = 1.8
|
2013-09-06 08:14:15 +02:00
|
|
|
GZIP_SOURCE = gzip-$(GZIP_VERSION).tar.xz
|
2012-06-23 03:29:59 +02:00
|
|
|
GZIP_SITE = $(BR2_GNU_MIRROR)/gzip
|
2015-01-06 15:42:29 +01:00
|
|
|
# Some other tools expect it to be in /bin
|
|
|
|
GZIP_CONF_OPTS = --exec-prefix=/
|
|
|
|
# Prefer full gzip over potentially lightweight/slower from busybox
|
|
|
|
GZIP_DEPENDENCIES = $(if $(BR2_PACKAGE_BUSYBOX),busybox)
|
2013-01-21 12:29:45 +01:00
|
|
|
GZIP_LICENSE = GPLv3+
|
|
|
|
GZIP_LICENSE_FILES = COPYING
|
2016-01-24 17:32:29 +01:00
|
|
|
GZIP_CONF_ENV += gl_cv_func_fflush_stdin=yes
|
2016-10-15 23:14:11 +02:00
|
|
|
# configure substitutes $(SHELL) for the shell shebang in scripts like
|
|
|
|
# gzexe. Unfortunately, the same $(SHELL) variable will also be used by
|
|
|
|
# make to run its commands. Fortunately, /bin/sh is always a POSIX shell
|
|
|
|
# on both the target and host systems that we support. Even with this,
|
|
|
|
# the configure check is slightly broken and prints a bogus warning:
|
|
|
|
# "using /bin/sh, even though it may have file descriptor bugs"
|
|
|
|
GZIP_CONF_ENV += ac_cv_path_shell=/bin/sh
|
2003-03-10 20:34:38 +01:00
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|