termux-packages/packages/inetutils/build.sh

30 lines
914 B
Bash
Raw Normal View History

2018-05-25 12:38:52 +02:00
TERMUX_PKG_HOMEPAGE=https://www.gnu.org/software/inetutils/
2015-06-13 01:03:31 +02:00
TERMUX_PKG_DESCRIPTION="Collection of common network programs"
2019-01-21 13:53:58 +01:00
TERMUX_PKG_LICENSE="GPL-3.0"
2015-06-13 01:03:31 +02:00
TERMUX_PKG_VERSION=1.9.4
2020-06-07 00:03:42 +02:00
TERMUX_PKG_REVISION=9
TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/inetutils/inetutils-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=849d96f136effdef69548a940e3e0ec0624fc0c81265296987986a0dd36ded37
TERMUX_PKG_DEPENDS="readline"
# These are old cruft / not suited for android
# (we --disable-traceroute as it requires root
# in favour of tracepath, which sets up traceroute
# as a symlink to tracepath):
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--disable-ifconfig
--disable-ping
--disable-ping6
--disable-rcp
--disable-rexec
--disable-rexecd
--disable-rlogin
--disable-rsh
--disable-traceroute
--disable-uucpd
2019-08-16 16:17:22 +02:00
ac_cv_lib_crypt_crypt=no
"
2015-06-13 01:03:31 +02:00
2016-09-04 00:45:08 +02:00
termux_step_pre_configure() {
CPPFLAGS+=" -DLOGIN_PROCESS=6 -DDEAD_PROCESS=8 -DLOG_NFACILITIES=24"
}