aboutsummaryrefslogtreecommitdiff
path: root/srcpkgs/tar/template
blob: a0e25d66c5e186db4e7f2d6ed02f415d43091f6a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# 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
}