void-packages/srcpkgs/gzip/template
jbu c2bfc6b7d5 bandwith / download times + $GNU_SITE cleanup
+ To reduce bandwidth and download times, packages use bz2/lzma/xz where possible.
+ Also use ${GNU_SITE} and ${KERNEL_SITE} where appropriate.
+ Clean up xlint warnings.
+ inetutils: update to 1.9.3 and split into subpkgs
2015-05-22 11:47:56 +02:00

26 lines
720 B
Bash

# Template file for 'gzip'
pkgname=gzip
version=1.6
revision=7
bootstrap=yes
build_pie=yes
build_style=gnu-configure
configure_args="gl_cv_func_fprintf_posix=yes gl_cv_func_fflush_stdin=yes"
conflicts="chroot-gzip>=0"
short_desc="GNU compression utility (replacement for compress)"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.gnu.org/software/gzip/"
license="GPL-3"
distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
checksum=37dfed1a485d53212c43b3fa2a7c7952f09bf5cd86e37121c222341ee1b27847
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
}