|
@@ -1,6 +1,9 @@
|
|
|
|
+# Copyright (C) 2013 Nils Schneider <nils at nilsschneider.net>
|
|
|
|
+# This is free software, licensed under the Apache 2.0 license.
|
|
|
|
+
|
|
include $(TOPDIR)/rules.mk
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
-PKG_NAME:=ffho-luci-autoupdater-wifi-fallback
|
|
|
|
|
|
+PKG_NAME:=ffho-web-autoupdater
|
|
PKG_VERSION:=1
|
|
PKG_VERSION:=1
|
|
PKG_RELEASE:=$(GLUON_VERSION).$(GLUON_SITE_CODE)-$(GLUON_RELEASE).$(GLUON_CONFIG_VERSION)
|
|
PKG_RELEASE:=$(GLUON_VERSION).$(GLUON_SITE_CODE)-$(GLUON_RELEASE).$(GLUON_CONFIG_VERSION)
|
|
|
|
|
|
@@ -10,11 +13,12 @@ include $(TOPDIR)/../package/gluon.mk
|
|
|
|
|
|
PKG_CONFIG_DEPENDS += $(GLUON_I18N_CONFIG)
|
|
PKG_CONFIG_DEPENDS += $(GLUON_I18N_CONFIG)
|
|
|
|
|
|
-define Package/ffho-luci-autoupdater-wifi-fallback
|
|
|
|
|
|
+
|
|
|
|
+define Package/ffho-web-autoupdater
|
|
SECTION:=ffho
|
|
SECTION:=ffho
|
|
CATEGORY:=FFHO
|
|
CATEGORY:=FFHO
|
|
- TITLE:=Luci module for gluon-autoupdater and ffho-autoupdater-wifi-fallback
|
|
|
|
- DEPENDS:=+gluon-luci-admin +gluon-autoupdater +ffho-autoupdater-wifi-fallback
|
|
|
|
|
|
+ TITLE:=gluon-web module for gluon-autoupdater and ffho-autoupdater-wifi-fallback
|
|
|
|
+ DEPENDS:=+gluon-web-admin +ffho-autoupdater-wifi-fallback
|
|
MAINTAINER:=Freifunk Hochstift <kontakt@hochstift.freifunk.net>
|
|
MAINTAINER:=Freifunk Hochstift <kontakt@hochstift.freifunk.net>
|
|
endef
|
|
endef
|
|
|
|
|
|
@@ -26,13 +30,13 @@ define Build/Configure
|
|
endef
|
|
endef
|
|
|
|
|
|
define Build/Compile
|
|
define Build/Compile
|
|
- $(call GluonBuildI18N,ffho-luci-autoupdater-wifi-fallback,i18n)
|
|
|
|
|
|
+ $(call GluonBuildI18N,gluon-web-autoupdater,i18n)
|
|
$(call GluonSrcDiet,./luasrc,$(PKG_BUILD_DIR)/luadest/)
|
|
$(call GluonSrcDiet,./luasrc,$(PKG_BUILD_DIR)/luadest/)
|
|
endef
|
|
endef
|
|
|
|
|
|
-define Package/ffho-luci-autoupdater-wifi-fallback/install
|
|
|
|
|
|
+define Package/gluon-web-autoupdater/install
|
|
$(CP) $(PKG_BUILD_DIR)/luadest/* $(1)/
|
|
$(CP) $(PKG_BUILD_DIR)/luadest/* $(1)/
|
|
- $(call GluonInstallI18N,ffho-luci-autoupdater-wifi-fallback,$(1))
|
|
|
|
|
|
+ $(call GluonInstallI18N,gluon-web-autoupdater,$(1))
|
|
endef
|
|
endef
|
|
|
|
|
|
-$(eval $(call BuildPackage,ffho-luci-autoupdater-wifi-fallback))
|
|
|
|
|
|
+$(eval $(call BuildPackage,gluon-web-autoupdater))
|