2014-05-08 04:07:28 +08:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# iptraf-ng
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2020-08-19 18:41:31 +08:00
|
|
|
IPTRAF_NG_VERSION = 1.2.1
|
|
|
|
IPTRAF_NG_SITE = $(call github,iptraf-ng,iptraf-ng,v$(IPTRAF_NG_VERSION))
|
2017-03-30 21:43:32 +08:00
|
|
|
IPTRAF_NG_LICENSE = GPL-2.0+
|
2014-05-08 04:07:28 +08:00
|
|
|
IPTRAF_NG_LICENSE_FILES = LICENSE
|
|
|
|
IPTRAF_NG_DEPENDENCIES = ncurses
|
|
|
|
|
2020-08-19 18:41:31 +08:00
|
|
|
define IPTRAF_NG_BUILD_CMDS
|
|
|
|
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \
|
|
|
|
NCURSES_LDFLAGS="-lpanel -lncurses" \
|
|
|
|
-C $(@D)
|
|
|
|
endef
|
2016-05-28 21:15:52 +08:00
|
|
|
|
2020-08-19 18:41:31 +08:00
|
|
|
define IPTRAF_NG_INSTALL_TARGET_CMDS
|
|
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
|
|
|
|
prefix=/usr DESTDIR=$(TARGET_DIR) install
|
|
|
|
endef
|
2014-05-08 04:07:28 +08:00
|
|
|
|
2020-08-19 18:41:31 +08:00
|
|
|
$(eval $(generic-package))
|