void-packages/srcpkgs/tar/template

26 lines
808 B
Bash

# Template file for 'tar'
pkgname=tar
version=1.35
revision=1
build_style=gnu-configure
configure_args="gl_cv_struct_dirent_d_ino=yes"
makedepends="acl-devel"
short_desc="GNU tape archiver with remote magnetic tape support"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://www.gnu.org/software/tar/"
distfiles="${GNU_SITE}/tar/${pkgname}-${version}.tar.xz"
checksum=4d62ff37342ec7aed748535323930c7cf94acf71c3591882b26a7ea50f3edc16
# (y2k38) This can be removed once musl is updated to 1.2.x
if [ "$XBPS_TARGET_LIBC" = "musl" ] && [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
configure_args+=" --disable-year2038"
fi
pre_configure() {
# chroot-style=ethereal
export FORCE_UNSAFE_CONFIGURE=1
# avoid regenerating doc on install
touch -r doc/stamp-vti configure
}