2014-06-26 19:33:31 +02:00
|
|
|
# Copyright (C) 2012 Nils Schneider <nils at nilsschneider.net>
|
|
|
|
# This is free software, licensed under the Apache 2.0 license.
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
2014-06-27 17:41:32 +02:00
|
|
|
PKG_NAME:=gluon-config-mode-ffhh
|
2014-07-11 00:30:55 +02:00
|
|
|
PKG_VERSION:=4
|
2014-06-26 19:33:31 +02:00
|
|
|
|
|
|
|
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
2014-06-27 17:41:32 +02:00
|
|
|
define Package/gluon-config-mode-ffhh
|
2014-06-26 19:33:31 +02:00
|
|
|
SECTION:=gluon
|
|
|
|
CATEGORY:=Gluon
|
|
|
|
TITLE:=Luci based config mode for user friendly setup of new meshnodes
|
2014-07-11 00:30:55 +02:00
|
|
|
DEPENDS:=+gluon-luci-core +gluon-setup-mode +gluon-lock-password +gluon-simple-tc
|
2014-06-27 17:42:26 +02:00
|
|
|
PROVIDES:=gluon-config-mode
|
2014-06-26 19:33:31 +02:00
|
|
|
endef
|
|
|
|
|
2014-06-27 17:41:32 +02:00
|
|
|
define Package/gluon-config-mode-ffhh/description
|
2014-06-26 19:33:31 +02:00
|
|
|
Luci based config mode
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Prepare
|
|
|
|
mkdir -p $(PKG_BUILD_DIR)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Configure
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Compile
|
|
|
|
endef
|
|
|
|
|
2014-06-27 17:41:32 +02:00
|
|
|
define Package/gluon-config-mode-ffhh/install
|
2014-06-26 19:33:31 +02:00
|
|
|
$(CP) ./files/* $(1)/
|
|
|
|
endef
|
|
|
|
|
2014-07-11 00:30:55 +02:00
|
|
|
define Package/gluon-config-mode-ffhh/postinst
|
|
|
|
#!/bin/sh
|
|
|
|
$(call GluonCheckSite,check_site.lua)
|
|
|
|
endef
|
|
|
|
|
2014-06-27 17:41:32 +02:00
|
|
|
$(eval $(call BuildPackage,gluon-config-mode-ffhh))
|