23 lines
671 B
Bash
23 lines
671 B
Bash
# Template file for 'gzip'
|
|
pkgname=gzip
|
|
version=1.12
|
|
revision=2
|
|
bootstrap=yes
|
|
build_style=gnu-configure
|
|
configure_args="ac_cv_prog_LESS=less"
|
|
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}/${pkgname}/${pkgname}-${version}.tar.xz"
|
|
checksum=ce5e03e519f637e1f814011ace35c4f87b33c0bbabeec35baf5fbd3479e91956
|
|
|
|
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
|
|
}
|