Files
LibreELEC.tv/packages/addons/addon-depends/system-tools-depends/htop/package.mk
heitbaum 30a5382a0c htop: include pthread library in LDFLAGS
compile of htop 3.1.1 on arm failing without pthread
2021-12-25 04:41:03 +00:00

21 lines
674 B
Makefile

# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="htop"
PKG_VERSION="3.1.2"
PKG_SHA256="fe9559637c8f21f5fd531a4c072048a404173806acbdad1359c6b82fd87aa001"
PKG_LICENSE="GPL"
PKG_SITE="https://hisham.hm/htop"
PKG_URL="https://github.com/htop-dev/htop/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain ncurses"
PKG_LONGDESC="An interactive process viewer for Unix."
PKG_TOOLCHAIN="autotools"
PKG_BUILD_FLAGS="-sysroot"
PKG_CONFIGURE_OPTS_TARGET="--disable-unicode \
HTOP_NCURSES_CONFIG_SCRIPT=ncurses-config"
pre_configure_target() {
export LDFLAGS="${LDFLAGS} -pthread"
}