termux-packages/packages/htop/build.sh

13 lines
653 B
Bash
Raw Normal View History

2015-06-13 01:03:31 +02:00
TERMUX_PKG_HOMEPAGE=http://hisham.hm/htop/
TERMUX_PKG_DESCRIPTION="Interactive process viewer for Linux"
TERMUX_PKG_DEPENDS="ncurses, libandroid-support"
2016-08-10 23:59:53 +02:00
TERMUX_PKG_VERSION=2.0.2
2015-06-13 01:03:31 +02:00
TERMUX_PKG_SRCURL=http://hisham.hm/htop/releases/${TERMUX_PKG_VERSION}/htop-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_BUILD_IN_SRC="yes"
2016-02-19 12:19:00 +01:00
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="ac_cv_lib_ncursesw6_addnwstr=yes"
2015-06-13 01:03:31 +02:00
TERMUX_PKG_RM_AFTER_INSTALL="share/applications share/pixmaps"
# htop checks setlocale() return value for UTF-8 support, so use libandroid-support.
export CPPFLAGS="$CPPFLAGS -isystem $TERMUX_PREFIX/include/libandroid-support"
export LDFLAGS="$LDFLAGS -landroid-support"