diff --git a/package/gluon-manman-sync/Makefile b/package/gluon-manman-sync/Makefile index 7a3fda9b..cc844579 100644 --- a/package/gluon-manman-sync/Makefile +++ b/package/gluon-manman-sync/Makefile @@ -6,9 +6,19 @@ PKG_VERSION:=1 include ../gluon.mk define Package/gluon-manman-sync - # luci-base shouldn't be here but httpclient depends on util depends on template.parser which is from base - DEPENDS:=+gluon-core +micrond +luci-lib-ip +luci-lib-httpclient +luci-base +gluon-lib-ecdsa + DEPENDS:=+gluon-core +micrond +luci-lib-ip +luci-lib-httpclient +gluon-lib-ecdsa TITLE:=Sync configuration with data from manman endef +define Package/gluon-manman-sync/install + $(Gluon/Build/Install) + + # httpclient depends on util depends on template.parser & sys.zoneinfo which is from +luci-base + # +luci-base is quite big and unnesesarry. stubbing the files is enough to make it work. + $(INSTALL_DIR) $(1)/usr/lib/lua/luci/template + touch $(1)/usr/lib/lua/luci/template/parser.lua + $(INSTALL_DIR) $(1)/usr/lib/lua/luci/sys + touch $(1)/usr/lib/lua/luci/sys/zoneinfo.lua +endef + $(eval $(call BuildPackageGluon,gluon-manman-sync))