void-packages/srcpkgs/gzip/template

21 lines
628 B
Bash

# Template file for 'gzip'
pkgname=gzip
version=1.10
revision=1
bootstrap=yes
build_style=gnu-configure
short_desc="GNU compression utility (replacement for compress)"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://www.gnu.org/software/gzip/"
distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=8425ccac99872d544d4310305f915f5ea81e04d0f437ef1a230dc9d1c819d7c0
case "$XBPS_TARGET_MACHINE" in
*-musl) configure_args+=" DEFS=NO_ASM gl_cv_func_fflush_stdin=yes" ;;
esac
pre_check() {
# help-version test is know to fail
sed -i '1721,1727d;1447d' tests/Makefile
}