| 1 | TERMUX_PKG_HOMEPAGE=http://www.gnu.org/software/tar/ |
| 2 | TERMUX_PKG_DESCRIPTION="GNU tar for manipulating tar archives" |
| 3 | TERMUX_PKG_VERSION=1.30 |
| 4 | TERMUX_PKG_REVISION=1 |
| 5 | TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/tar/tar-${TERMUX_PKG_VERSION}.tar.xz |
| 6 | TERMUX_PKG_SHA256=f1bf92dbb1e1ab27911a861ea8dde8208ee774866c46c0bb6ead41f4d1f4d2d3 |
| 7 | # Allow xz compression (busybox only provides xz decompression): |
| 8 | TERMUX_PKG_DEPENDS="xz-utils" |
| 9 | # When cross-compiling configure guesses that d_ino in struct dirent only exists |
| 10 | # if triplet matches linux*-gnu*, so we force set it explicitly: |
| 11 | TERMUX_PKG_EXTRA_CONFIGURE_ARGS="gl_cv_struct_dirent_d_ino=yes" |
| 12 | |
| 13 | # this needed to disable tar's implementation of mkfifoat() so it is possible |
| 14 | # to use own implementation (see patch 'mkfifoat.patch'). |
| 15 | TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" ac_cv_func_mkfifoat=yes" |