2008-10-23 00:41:36 +00:00
|
|
|
# Template file for 'gzip'
|
|
|
|
pkgname=gzip
|
2013-06-10 15:15:56 +00:00
|
|
|
version=1.6
|
2015-03-04 18:44:01 +00:00
|
|
|
revision=6
|
2014-09-22 08:25:47 +00:00
|
|
|
bootstrap=yes
|
2015-03-04 18:44:01 +00:00
|
|
|
build_pie=yes
|
2012-06-18 06:33:23 +00:00
|
|
|
build_style=gnu-configure
|
2014-11-10 09:29:52 +00:00
|
|
|
configure_args="gl_cv_func_fprintf_posix=yes gl_cv_func_fflush_stdin=yes"
|
2014-06-20 07:50:14 +00:00
|
|
|
conflicts="chroot-gzip>=0"
|
2008-10-23 00:41:36 +00:00
|
|
|
short_desc="GNU compression utility (replacement for compress)"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-06-18 06:33:23 +00:00
|
|
|
homepage="http://www.gnu.org/software/gzip/"
|
|
|
|
license="GPL-3"
|
|
|
|
distfiles="http://ftp.gnu.org/gnu/gzip/$pkgname-$version.tar.gz"
|
2013-06-10 15:15:56 +00:00
|
|
|
checksum=97eb83b763d9e5ad35f351fe5517e6b71521d7aac7acf3e3cacdb6b1496d8f7e
|
2014-11-10 09:29:52 +00:00
|
|
|
|
|
|
|
pre_configure() {
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
|
|
*-musl)
|
|
|
|
# Special case for musl libc; "fix" issues with gnulib.
|
|
|
|
: > lib/fseeko.c
|
|
|
|
echo "void close_stdin(void) {}" > lib/closein.c
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
}
|