GNU Tar 1.34

This commit is contained in:
Andrius Štikonas 2021-04-02 17:59:49 +01:00
parent 37d720135c
commit 54b7970bf3
7 changed files with 151 additions and 0 deletions

32
sysa/tar-1.34/tar-1.34.sh Executable file
View file

@ -0,0 +1,32 @@
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
#
# SPDX-License-Identifier: GPL-3.0-or-later
src_prepare() {
default_src_prepare
. ../../import-gnulib.sh
# We don't have autopoint from gettext yet
AUTOPOINT=true autoreconf -fi
# Remove bison pregenerated file
rm gnu/parse-datetime.c
}
src_configure() {
FORCE_UNSAFE_CONFIGURE=1 ./configure \
--prefix="${PREFIX}" \
--disable-nls \
--target=i386-unknown-linux-gnu \
--host=i386-unknown-linux-gnu \
--build=i386-unknown-linux-gnu
}
src_compile() {
make PREFIX="${PREFIX}" MAKEINFO="true"
}
src_install() {
make install PREFIX="${PREFIX}" MAKEINFO="true" DESTDIR="${DESTDIR}"
}