forked from remote/site-ffmuc
Move to utils folder, generate site-select makefile
This commit is contained in:
36
util/makefile_prefix
Normal file
36
util/makefile_prefix
Normal file
@@ -0,0 +1,36 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=gluon-config-mode-site-select
|
||||
PKG_VERSION:=0.2
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_BUILD_DEPENDS := lua-cjson/host
|
||||
|
||||
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
PKG_CONFIG_DEPENDS += $(GLUON_I18N_CONFIG)
|
||||
|
||||
define Package/gluon-config-mode-site-select
|
||||
SECTION:=gluon
|
||||
CATEGORY:=Gluon
|
||||
TITLE:=UI for changing the node-config
|
||||
endef
|
||||
|
||||
define Build/Prepare
|
||||
mkdir -p $(PKG_BUILD_DIR)
|
||||
endef
|
||||
|
||||
define Build/Configure
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
$(call GluonBuildI18N,gluon-config-mode-site-select,i18n)
|
||||
endef
|
||||
|
||||
define Package/gluon-config-mode-site-select/install
|
||||
mkdir -p $(1)/etc/config/
|
||||
mkdir -p $(1)/lib/gluon/site-select/
|
||||
$(CP) ./files/* $(1)/
|
||||
|
||||
Reference in New Issue
Block a user