d3d7dc805f
Autoconf macro for __progname taken from tmux, seems it is missing from procps, code checks `ifdef HAVE__PROGNAME` so all we have to do is to add the macro. Fixes https://github.com/termux/termux-packages/issues/6768.
33 lines
1.1 KiB
Bash
33 lines
1.1 KiB
Bash
TERMUX_PKG_HOMEPAGE=https://gitlab.com/procps-ng/procps
|
|
TERMUX_PKG_DESCRIPTION="Utilities that give information about processes using the /proc filesystem"
|
|
TERMUX_PKG_LICENSE="LGPL-2.0"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION=3.3.17
|
|
TERMUX_PKG_REVISION=1
|
|
TERMUX_PKG_SRCURL=https://fossies.org/linux/misc/procps-ng-$TERMUX_PKG_VERSION.tar.xz
|
|
TERMUX_PKG_SHA256=4518b3e7aafd34ec07d0063d250fd474999b20b200218c3ae56f5d2113f141b4
|
|
TERMUX_PKG_DEPENDS="ncurses"
|
|
TERMUX_PKG_BREAKS="procps-dev"
|
|
TERMUX_PKG_REPLACES="procps-dev"
|
|
TERMUX_PKG_ESSENTIAL=true
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
ac_cv_search_dlopen=
|
|
--enable-sigwinch
|
|
--disable-modern-top
|
|
--enable-watch8bit
|
|
"
|
|
|
|
termux_step_pre_configure() {
|
|
autoreconf -fi
|
|
}
|
|
|
|
# About kill: https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/141168:
|
|
# "For compatibility between distributions, can we have /bin/kill made available from coreutils?"
|
|
# About top: The system top works better.
|
|
TERMUX_PKG_RM_AFTER_INSTALL="
|
|
bin/top share/man/man1/top.1
|
|
bin/kill share/man/man1/kill.1
|
|
bin/slabtop share/man/man1/slabtop.1
|
|
bin/w share/man/man1/w.1
|
|
"
|