termux-packages/packages/procps/build.sh

24 lines
1020 B
Bash
Raw Normal View History

2018-06-26 04:48:28 +02:00
TERMUX_PKG_HOMEPAGE=https://gitlab.com/procps-ng/procps
2015-06-13 01:03:31 +02:00
TERMUX_PKG_DESCRIPTION="Utilities that give information about processes using the /proc filesystem"
2018-06-26 04:48:28 +02:00
TERMUX_PKG_VERSION=3.3.15
TERMUX_PKG_SHA256=10bd744ffcb3de2d591d2f6acf1a54a7ba070fdcc432a855931a5057149f0465
TERMUX_PKG_SRCURL=https://fossies.org/linux/misc/procps-ng-$TERMUX_PKG_VERSION.tar.xz
2015-06-13 01:03:31 +02:00
TERMUX_PKG_BUILD_IN_SRC=yes
2017-06-29 00:02:18 +02:00
# error.h and stdio_ext.h in unified headers does
# not provide any functionality prior to android-23:
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
ac_cv_search_dlopen=
ac_cv_header_error_h=no
ac_cv_header_stdio_ext_h=no
--enable-sigwinch
--disable-modern-top
"
2015-06-13 01:03:31 +02:00
TERMUX_PKG_DEPENDS="ncurses"
# https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/141168:
# "For compatibility between distributions, can we have /bin/kill made available from coreutils?"
TERMUX_PKG_RM_AFTER_INSTALL="bin/kill share/man/man1/kill.1 usr/bin/w share/man/man1/w.1 usr/bin/slabtop share/man/man1/slabtop.1"
2016-08-15 00:13:13 +02:00
2016-09-04 00:45:08 +02:00
termux_step_pre_configure() {
CFLAGS+=" -DHOST_NAME_MAX=255"
}