2008-10-23 02:41:36 +02:00
|
|
|
# Template file for 'gzip'
|
|
|
|
pkgname=gzip
|
2013-06-10 17:15:56 +02:00
|
|
|
version=1.6
|
2015-05-22 11:47:56 +02:00
|
|
|
revision=7
|
2014-09-22 10:25:47 +02:00
|
|
|
bootstrap=yes
|
2015-03-04 19:44:01 +01:00
|
|
|
build_pie=yes
|
2012-06-18 08:33:23 +02:00
|
|
|
build_style=gnu-configure
|
2014-11-10 10:29:52 +01:00
|
|
|
configure_args="gl_cv_func_fprintf_posix=yes gl_cv_func_fflush_stdin=yes"
|
2014-06-20 09:50:14 +02:00
|
|
|
conflicts="chroot-gzip>=0"
|
2008-10-23 02:41:36 +02:00
|
|
|
short_desc="GNU compression utility (replacement for compress)"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2012-06-18 08:33:23 +02:00
|
|
|
homepage="http://www.gnu.org/software/gzip/"
|
|
|
|
license="GPL-3"
|
2015-05-22 11:47:56 +02:00
|
|
|
distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
|
|
|
|
checksum=37dfed1a485d53212c43b3fa2a7c7952f09bf5cd86e37121c222341ee1b27847
|
2014-11-10 10:29:52 +01: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
|
|
|
|
}
|