void-packages/srcpkgs/tar/template
Piotr Wójcik 9816b3d831 bsdtar, tar: remove tar alternative
Alternative for tar was introduced to make switch from gnu tar to bsdtar in base-devel easier.

However, bsdtar has different interface than gnu tar, and with alternatives using gnu tar as tar is actually harder when it is needed.

There are also many user-used scripts assuming gnu tar, which are broken now. They should not be affected because of internal matters of packaging.
2020-02-06 10:09:17 +01:00

20 lines
625 B
Bash

# Template file for 'tar'
pkgname=tar
version=1.32
revision=3
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=d0d3ae07f103323be809bc3eac0dcc386d52c5262499fe05511ac4788af1fdd8
pre_configure() {
# chroot-style=ethereal
export FORCE_UNSAFE_CONFIGURE=1
# avoid regenerating doc on install
touch -r doc/stamp-vti configure
}