chroot-gzip: update to 1.6.
This commit is contained in:
parent
4f498dad65
commit
96ce9c597d
|
@ -1,22 +1,28 @@
|
||||||
# Template file for 'chroot-gzip'
|
# Template file for 'chroot-gzip'
|
||||||
pkgname=chroot-gzip
|
pkgname=chroot-gzip
|
||||||
version=1.4
|
version=1.6
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc="gzip-${version}"
|
wrksrc="gzip-${version}"
|
||||||
|
bootstrap=yes
|
||||||
|
conflicts="gzip>=0"
|
||||||
|
provides="gzip-${version}_${revision}"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
|
configure_args="gl_cv_func_fprintf_posix=yes gl_cv_func_fflush_stdin=yes"
|
||||||
homepage="http://www.gnu.org/software/gzip/"
|
homepage="http://www.gnu.org/software/gzip/"
|
||||||
license="GPL-3"
|
license="GPL-3"
|
||||||
short_desc="GNU compression utility -- for xbps-src use"
|
short_desc="GNU compression utility -- for xbps-src use"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
distfiles="http://ftp.gnu.org/gnu/gzip/gzip-$version.tar.gz"
|
distfiles="http://ftp.gnu.org/gnu/gzip/gzip-$version.tar.gz"
|
||||||
checksum=d166cfd3da380da1bd535633e8890bfb5664f9e68870a611d1dc01a3e9f711ee
|
checksum=97eb83b763d9e5ad35f351fe5517e6b71521d7aac7acf3e3cacdb6b1496d8f7e
|
||||||
|
|
||||||
bootstrap=yes
|
|
||||||
conflicts="gzip>=0"
|
|
||||||
provides="gzip-${version}"
|
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
sed -i -e '/gets is a/d' lib/stdio.in.h
|
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
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
|
Loading…
Reference in a new issue