distribution/packages/sysutils/htop/package.mk

21 lines
710 B
Makefile
Raw Normal View History

2022-02-05 14:23:32 +00:00
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="htop"
PKG_VERSION="3.0.0beta5"
PKG_SHA256="c439add8d6a463699629fc3f0103f55b045d519c31611fa4a68629063238985a"
PKG_LICENSE="GPL"
PKG_SITE="https://hisham.hm/htop"
PKG_URL="https://github.com/hishamhm/htop/archive/$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain ncurses"
PKG_LONGDESC="An interactive process viewer for Unix."
PKG_TOOLCHAIN="autotools"
PKG_CONFIGURE_OPTS_TARGET="--disable-unicode \
HTOP_NCURSES_CONFIG_SCRIPT=ncurses6-config"
pre_configure_target() {
export LDFLAGS="${LDFLAGS} -lreadline -lncursesw -ltinfow"
2022-02-05 14:23:32 +00:00
export CFLAGS="${CFLAGS} -fcommon"
}