void-packages/srcpkgs/gzip/template

24 lines
679 B
Bash

# Template file for 'gzip'
pkgname=gzip
version=1.13
revision=1
bootstrap=yes
build_style=gnu-configure
configure_args="ac_cv_prog_LESS=less"
checkdepends="perl"
short_desc="GNU compression utility (replacement for compress)"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://www.gnu.org/software/gzip/"
distfiles="${GNU_SITE}/gzip/gzip-${version}.tar.xz"
checksum=7454eb6935db17c6655576c2e1b0fabefd38b4d0936e0f87f48cd062ce91a057
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
vsed -i '/help-version\s/d' tests/Makefile
}