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