include $(TOPDIR)/rules.mk PKG_NAME:=ffho-luci-ap-timer PKG_VERSION:=1 PKG_RELEASE:=$(GLUON_VERSION).$(GLUON_SITE_CODE)-$(GLUON_RELEASE).$(GLUON_CONFIG_VERSION) PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME) include $(TOPDIR)/../package/gluon.mk PKG_CONFIG_DEPENDS += $(GLUON_I18N_CONFIG) define Package/ffho-luci-ap-timer SECTION:=ffho CATEGORY:=FFHO TITLE:=Luci module for ap-timer settings DEPENDS:=+gluon-luci-admin MAINTAINER:=Freifunk Hochstift endef define Build/Prepare mkdir -p $(PKG_BUILD_DIR) endef define Build/Configure endef define Build/Compile $(call GluonBuildI18N,ffho-luci-ap-timer,i18n) $(call GluonSrcDiet,./luasrc,$(PKG_BUILD_DIR)/luadest/) endef define Package/ffho-luci-ap-timer/install $(CP) $(PKG_BUILD_DIR)/luadest/* $(1)/ $(call GluonInstallI18N,ffho-luci-ap-timer,$(1)) endef $(eval $(call BuildPackage,ffho-luci-ap-timer))