2018-05-25 12:38:52 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://www.gnu.org/software/findutils/
|
2015-06-13 01:03:31 +02:00
|
|
|
TERMUX_PKG_DESCRIPTION="Utilities to find files meeting specified criteria and perform various actions on the files which are found"
|
2019-01-20 22:39:59 +01:00
|
|
|
TERMUX_PKG_LICENSE="GPL-3.0"
|
2020-12-20 14:16:34 +01:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2021-01-17 12:05:31 +01:00
|
|
|
TERMUX_PKG_VERSION=4.8.0
|
2019-09-08 20:36:04 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/findutils/findutils-${TERMUX_PKG_VERSION}.tar.xz
|
2021-01-17 12:05:31 +01:00
|
|
|
TERMUX_PKG_SHA256=57127b7e97d91282c6ace556378d5455a9509898297e46e10443016ea1387164
|
2015-06-13 01:03:31 +02:00
|
|
|
TERMUX_PKG_DEPENDS="libandroid-support"
|
2019-08-12 17:28:41 +02:00
|
|
|
TERMUX_PKG_ESSENTIAL=true
|
2021-09-28 17:21:42 +02:00
|
|
|
TERMUX_PKG_GROUPS="base-devel"
|
2019-07-22 00:51:28 +02:00
|
|
|
|
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
|
|
gl_cv_func_fflush_stdin=yes
|
|
|
|
SORT_SUPPORTS_Z=yes
|
2020-07-09 00:11:25 +02:00
|
|
|
SORT=$TERMUX_PREFIX/bin/sort
|
2019-07-22 00:51:28 +02:00
|
|
|
"
|
|
|
|
|
2015-11-19 23:50:02 +01:00
|
|
|
# Remove locale and updatedb which in Termux is provided by mlocate:
|
2019-07-22 00:51:28 +02:00
|
|
|
TERMUX_PKG_RM_AFTER_INSTALL="
|
|
|
|
bin/locate
|
|
|
|
bin/updatedb
|
|
|
|
share/man/man1/locate.1
|
|
|
|
share/man/man1/updatedb.1
|
|
|
|
share/man/man5/locatedb.5
|
|
|
|
"
|
2017-02-20 04:33:51 +01:00
|
|
|
|
|
|
|
termux_step_pre_configure() {
|
|
|
|
# This is needed for find to implement support for the
|
|
|
|
# -fstype parameter by parsing /proc/self/mountinfo:
|
|
|
|
CPPFLAGS+=" -DMOUNTED_GETMNTENT1=1"
|
|
|
|
}
|