mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-03 16:07:51 +00:00
nmon: update to 16m
update 411b08f (6 Sep 2016) to 16m (25 Sep 2019) changelog: http://nmon.sourceforge.net/pmwiki.php?n=Site.CompilingNmon
This commit is contained in:
parent
ab4a3b4058
commit
865f29181c
@ -2,16 +2,21 @@
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="nmon"
|
||||
PKG_VERSION="411b08f1c98bca8b24670fc2d9ee6325b4fcb3d2"
|
||||
PKG_SHA256="aa88257728e820db10b1f04792dfcc1b8a483de51bfda70db016da016a4879a2"
|
||||
PKG_VERSION="16m" # 25 Sep 2019
|
||||
PKG_SHA256="2bed4d45fdfdf1d1387ec91e139c04975d5f838e3e0d53c0fe2d803a707e5fc1"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="https://github.com/axibase/nmon"
|
||||
PKG_URL="https://github.com/axibase/nmon/archive/$PKG_VERSION.tar.gz"
|
||||
PKG_SITE="http://nmon.sourceforge.net/pmwiki.php?n=Site.CompilingNmon"
|
||||
PKG_URL="http://sourceforge.net/projects/nmon/files/lmon16m.c"
|
||||
PKG_DEPENDS_TARGET="toolchain ncurses"
|
||||
PKG_LONGDESC="Systems administrator, tuner, benchmark tool gives you a huge amount of important performance information in one go."
|
||||
PKG_TOOLCHAIN="manual"
|
||||
PKG_BUILD_FLAGS="-sysroot"
|
||||
|
||||
unpack() {
|
||||
mkdir -p ${PKG_BUILD}
|
||||
cp -p ${SOURCES}/nmon/${PKG_SOURCE_NAME} ${PKG_BUILD}
|
||||
}
|
||||
|
||||
make_target() {
|
||||
case $ARCH in
|
||||
x86_64)
|
||||
@ -21,9 +26,11 @@ make_target() {
|
||||
arch="arm"
|
||||
;;
|
||||
esac
|
||||
# original makefile is located at
|
||||
# - https://downloads.sourceforge.net/project/nmon/makefile
|
||||
CFLAGS="$CFLAGS -g -O3 -Wall -D JFS -D GETUSER -D LARGEMEM"
|
||||
LDFLAGS="$LDFLAGS -lncurses -lm -g"
|
||||
$CC -o nmon lmon*.c $CFLAGS $LDFLAGS -D $arch -D KERNEL_2_6_18
|
||||
$CC -o nmon nmon-${PKG_VERSION}.c $CFLAGS $LDFLAGS -D $arch -DUBUNTU
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user