termux-packages/packages/psmisc/build.sh

10 lines
478 B
Bash

TERMUX_PKG_HOMEPAGE=http://psmisc.sourceforge.net/
TERMUX_PKG_DESCRIPTION="Some small useful utilities that use the proc filesystem"
TERMUX_PKG_DEPENDS="ncurses"
TERMUX_PKG_VERSION=22.21
TERMUX_PKG_SRCURL=http://downloads.sourceforge.net/project/psmisc/psmisc/psmisc-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="ac_cv_func_malloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes"
TERMUX_PKG_RM_AFTER_INSTALL="bin/pstree.x11"
CFLAGS+=" -DTERMUX_EXPOSE_MEMPCPY=1"