void-packages/srcpkgs/tar/template

27 lines
728 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
case "$XBPS_TARGET_MACHINE" in
arm*-musl)
# musl 1.1.x
configure_args+=" --disable-year2038";;
esac
pre_configure() {
# chroot-style=ethereal
export FORCE_UNSAFE_CONFIGURE=1
# avoid regenerating doc on install
touch -r doc/stamp-vti configure
}