Since commit f6bfac211
("luci-mod-status: rework iptables status page"),
nothing in luci-base depends on the iptparser class anymore, so fold it
out into a separate package and let the few apps that require it depend
on the new library package.
Saves about 10K uncompressed in luci-base while the iptables status
rework enlarged the markup by roughly 5KB, saving roughly 5KB of size
overall.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
22 lines
584 B
Makefile
22 lines
584 B
Makefile
#
|
|
# Copyright (C) 2008-2014 The LuCI Team <luci@lists.subsignal.org>
|
|
#
|
|
# This is free software, licensed under the Apache License, Version 2.0 .
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
LUCI_TITLE:=LuCI Statistics Application
|
|
LUCI_DEPENDS:= \
|
|
+luci-lib-iptparser \
|
|
+collectd +rrdtool1 +collectd-mod-rrdtool +collectd-mod-iwinfo \
|
|
+collectd-mod-cpu +collectd-mod-memory \
|
|
+collectd-mod-interface +collectd-mod-load +collectd-mod-network
|
|
|
|
define Package/luci-app-statistics/conffiles
|
|
/etc/config/luci_statistics
|
|
endef
|
|
|
|
include ../../luci.mk
|
|
|
|
# call BuildPackage - OpenWrt buildroot signature
|