2018-05-25 12:38:52 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://www.gnu.org/software/tar/
|
2015-06-13 01:03:31 +02:00
|
|
|
TERMUX_PKG_DESCRIPTION="GNU tar for manipulating tar archives"
|
2019-01-21 13:53:58 +01:00
|
|
|
TERMUX_PKG_LICENSE="GPL-3.0"
|
2019-03-01 21:57:45 +01:00
|
|
|
TERMUX_PKG_VERSION=1.32
|
2020-07-07 18:35:32 +02:00
|
|
|
TERMUX_PKG_REVISION=6
|
2016-09-25 00:42:39 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/tar/tar-${TERMUX_PKG_VERSION}.tar.xz
|
2019-07-22 00:51:28 +02:00
|
|
|
TERMUX_PKG_SHA256=d0d3ae07f103323be809bc3eac0dcc386d52c5262499fe05511ac4788af1fdd8
|
2019-07-22 00:59:45 +02:00
|
|
|
TERMUX_PKG_DEPENDS="libandroid-glob, libiconv"
|
2019-08-12 17:28:41 +02:00
|
|
|
TERMUX_PKG_ESSENTIAL=true
|
2019-07-22 00:51:28 +02:00
|
|
|
|
2015-06-13 01:03:31 +02:00
|
|
|
# When cross-compiling configure guesses that d_ino in struct dirent only exists
|
|
|
|
# if triplet matches linux*-gnu*, so we force set it explicitly:
|
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="gl_cv_struct_dirent_d_ino=yes"
|
2017-12-29 03:28:49 +01:00
|
|
|
# this needed to disable tar's implementation of mkfifoat() so it is possible
|
|
|
|
# to use own implementation (see patch 'mkfifoat.patch').
|
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" ac_cv_func_mkfifoat=yes"
|
2019-01-03 02:08:10 +01:00
|
|
|
|
|
|
|
termux_step_pre_configure() {
|
|
|
|
CPPFLAGS+=" -D__USE_FORTIFY_LEVEL=0"
|
|
|
|
LDFLAGS+=" -landroid-glob"
|
|
|
|
}
|