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