kumquat-buildroot/package/nmon/nmon.mk
Rahul Bedarkar 337aa51f3f boot, package: use SPDX short identifier for GPLv3/GPLv3+
We want to use SPDX identifier for license string as much as possible.
SPDX short identifier for GPLv3/GPLv3+ is GPL-3.0/GPL-3.0+.

This change is done using following command.
find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/\<GPLv3\>/GPL-3.0/g'

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-04-01 15:17:59 +02:00

29 lines
764 B
Makefile

################################################################################
#
# nmon
#
################################################################################
NMON_VERSION = 16f
NMON_SITE = http://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 $(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))