1 ################################################################################
5 ################################################################################
8 NMON_SITE
= http
://sourceforge.net
/projects
/nmon
/files
9 NMON_SOURCE
= lmon
$(NMON_VERSION
).c
11 NMON_LICENSE_FILES
= $(NMON_SOURCE
)
12 NMON_DEPENDENCIES
= ncurses
13 NMON_CFLAGS
= $(TARGET_CFLAGS
) -D JFS
-D GETUSER
-D LARGEMEM
-D DEBIAN
15 define NMON_EXTRACT_CMDS
16 cp
$(DL_DIR
)/$(NMON_SOURCE
) $(@D
)
19 define NMON_BUILD_CMDS
20 $(TARGET_CC
) $(NMON_CFLAGS
) $(TARGET_LDFLAGS
) -o
$(@D
)/nmon \
21 $(@D
)/$(NMON_SOURCE
) -lncurses
-lm
24 define NMON_INSTALL_TARGET_CMDS
25 $(INSTALL
) -m
0755 -D
$(@D
)/nmon
$(TARGET_DIR
)/usr
/bin
/
28 $(eval
$(generic-package
))