include $(TOPDIR)/rules.mk PKG_NAME:=ffho-luci-autoupdater-wifi-fallback PKG_VERSION:=1 PKG_RELEASE:=$(GLUON_VERSION).$(GLUON_SITE_CODE)-$(GLUON_RELEASE).$(GLUON_CONFIG_VERSION) PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME) include $(GLUONDIR)/include/package.mk PKG_CONFIG_DEPENDS += $(GLUON_I18N_CONFIG) define Package/ffho-luci-autoupdater-wifi-fallback SECTION:=ffho CATEGORY:=FFHO TITLE:=Luci module for gluon-autoupdater and ffho-autoupdater-wifi-fallback DEPENDS:=+gluon-luci-admin +gluon-autoupdater +ffho-autoupdater-wifi-fallback PROVIDES:=gluon-luci-autoupdater MAINTAINER:=Freifunk Hochstift URL:=https://git.c3pb.de/freifunk-pb/ffho-packages endef define Build/Prepare mkdir -p $(PKG_BUILD_DIR) endef define Build/Configure endef define Build/Compile $(call GluonBuildI18N,ffho-luci-autoupdater-wifi-fallback,i18n) $(call GluonSrcDiet,./luasrc,$(PKG_BUILD_DIR)/luadest/) endef define Package/ffho-luci-autoupdater-wifi-fallback/install $(CP) $(PKG_BUILD_DIR)/luadest/* $(1)/ $(call GluonInstallI18N,ffho-luci-autoupdater-wifi-fallback,$(1)) endef $(eval $(call BuildPackage,ffho-luci-autoupdater-wifi-fallback))