| 1 | TERMUX_PKG_HOMEPAGE=https://packages.debian.org/sid/procps |
| 2 | TERMUX_PKG_DESCRIPTION="Utilities that give information about processes using the /proc filesystem" |
| 3 | TERMUX_PKG_VERSION=3.3.12 |
| 4 | TERMUX_PKG_SRCURL=https://downloads.sourceforge.net/project/procps-ng/Production/procps-ng-${TERMUX_PKG_VERSION}.tar.xz |
| 5 | TERMUX_PKG_SHA256=6ed65ab86318f37904e8f9014415a098bec5bc53653e5d9ab404f95ca5e1a7d4 |
| 6 | TERMUX_PKG_BUILD_IN_SRC=yes |
| 7 | TERMUX_PKG_FOLDERNAME=procps-ng-${TERMUX_PKG_VERSION} |
| 8 | # error.h and stdio_ext.h in unified headers does |
| 9 | # not provide any functionality prior to android-23: |
| 10 | TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" |
| 11 | ac_cv_search_dlopen= |
| 12 | ac_cv_header_error_h=no |
| 13 | ac_cv_header_stdio_ext_h=no |
| 14 | --enable-sigwinch |
| 15 | --disable-modern-top |
| 16 | " |
| 17 | TERMUX_PKG_DEPENDS="ncurses" |
| 18 | # https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/141168: |
| 19 | # "For compatibility between distributions, can we have /bin/kill made available from coreutils?" |
| 20 | 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" |
| 21 | |
| 22 | termux_step_pre_configure() { |
| 23 | CFLAGS+=" -DHOST_NAME_MAX=255" |
| 24 | } |