6a42e34722
Update indentation in hash file (two spaces) Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
29 lines
770 B
Makefile
29 lines
770 B
Makefile
################################################################################
|
|
#
|
|
# nmon
|
|
#
|
|
################################################################################
|
|
|
|
NMON_VERSION = 16n
|
|
NMON_SITE = https://sourceforge.net/projects/nmon/files
|
|
NMON_SOURCE = lmon$(NMON_VERSION).c
|
|
NMON_LICENSE = GPL-3.0+
|
|
NMON_LICENSE_FILES = $(NMON_SOURCE)
|
|
NMON_DEPENDENCIES = ncurses
|
|
NMON_CFLAGS = $(TARGET_CFLAGS) -D JFS -D GETUSER -D LARGEMEM -D DEBIAN
|
|
|
|
define NMON_EXTRACT_CMDS
|
|
cp $(NMON_DL_DIR)/$(NMON_SOURCE) $(@D)
|
|
endef
|
|
|
|
define NMON_BUILD_CMDS
|
|
$(TARGET_CC) $(NMON_CFLAGS) $(TARGET_LDFLAGS) -o $(@D)/nmon \
|
|
$(@D)/$(NMON_SOURCE) -lncurses -lm
|
|
endef
|
|
|
|
define NMON_INSTALL_TARGET_CMDS
|
|
$(INSTALL) -m 0755 -D $(@D)/nmon $(TARGET_DIR)/usr/bin/
|
|
endef
|
|
|
|
$(eval $(generic-package))
|