1*4882a593Smuzhiyun################################################################################ 2*4882a593Smuzhiyun# 3*4882a593Smuzhiyun# gzip 4*4882a593Smuzhiyun# 5*4882a593Smuzhiyun################################################################################ 6*4882a593Smuzhiyun 7*4882a593SmuzhiyunGZIP_VERSION = 1.10 8*4882a593SmuzhiyunGZIP_SOURCE = gzip-$(GZIP_VERSION).tar.xz 9*4882a593SmuzhiyunGZIP_SITE = $(BR2_GNU_MIRROR)/gzip 10*4882a593Smuzhiyun# Some other tools expect it to be in /bin 11*4882a593SmuzhiyunGZIP_CONF_OPTS = --exec-prefix=/ 12*4882a593SmuzhiyunGZIP_LICENSE = GPL-3.0+ 13*4882a593SmuzhiyunGZIP_LICENSE_FILES = COPYING 14*4882a593SmuzhiyunGZIP_CPE_ID_VENDOR = gnu 15*4882a593SmuzhiyunGZIP_CONF_ENV += gl_cv_func_fflush_stdin=yes 16*4882a593SmuzhiyunHOST_GZIP_CONF_ENV += gl_cv_func_fflush_stdin=yes 17*4882a593Smuzhiyun# configure substitutes $(SHELL) for the shell shebang in scripts like 18*4882a593Smuzhiyun# gzexe. Unfortunately, the same $(SHELL) variable will also be used by 19*4882a593Smuzhiyun# make to run its commands. Fortunately, /bin/sh is always a POSIX shell 20*4882a593Smuzhiyun# on both the target and host systems that we support. Even with this, 21*4882a593Smuzhiyun# the configure check is slightly broken and prints a bogus warning: 22*4882a593Smuzhiyun# "using /bin/sh, even though it may have file descriptor bugs" 23*4882a593SmuzhiyunGZIP_CONF_ENV += ac_cv_path_shell=/bin/sh 24*4882a593Smuzhiyun 25*4882a593Smuzhiyun$(eval $(autotools-package)) 26*4882a593Smuzhiyun$(eval $(host-autotools-package)) 27