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
|
|
|
|
2019-06-19 23:37:42 +02:00
|
|
|
GZIP_VERSION = 1.10
|
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=/
|
2017-03-30 15:43:33 +02:00
|
|
|
GZIP_LICENSE = GPL-3.0+
|
2013-01-21 12:29:45 +01:00
|
|
|
GZIP_LICENSE_FILES = COPYING
|
2016-01-24 17:32:29 +01:00
|
|
|
GZIP_CONF_ENV += gl_cv_func_fflush_stdin=yes
|
2018-11-17 18:15:50 +01:00
|
|
|
HOST_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))
|
2018-11-17 18:15:50 +01:00
|
|
|
$(eval $(host-autotools-package))
|