b1aa5390a7
- CGI script and index.html are moved from gluon-web to gluon-config-mode-core, the script is renamed to 'config' - gluon-web and gluon-web-model base views and i18n files are symlinked into the new path - gluon-web-theme is renamed to gluon-config-mode-theme and installs directly into the new path - all gluon-web-* models, controllers and views are moved into the new path
38 lines
816 B
Makefile
38 lines
816 B
Makefile
# Copyright (C) 2013 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-theme
|
|
PKG_VERSION:=0.1
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
|
|
|
|
include ../gluon.mk
|
|
|
|
PKG_CONFIG_DEPENDS += $(GLUON_I18N_CONFIG)
|
|
|
|
|
|
define Package/gluon-config-mode-theme
|
|
SECTION:=gluon
|
|
CATEGORY:=Gluon
|
|
TITLE:=Gluon config mode theme for gluon-web
|
|
DEPENDS:=+gluon-core +gluon-web
|
|
endef
|
|
|
|
define Build/Prepare
|
|
mkdir -p $(PKG_BUILD_DIR)
|
|
endef
|
|
|
|
define Build/Compile
|
|
$(call GluonBuildI18N,gluon-config-mode-theme,i18n)
|
|
endef
|
|
|
|
define Package/gluon-config-mode-theme/install
|
|
$(CP) ./files/* $(1)/
|
|
$(call GluonInstallI18N,gluon-config-mode-theme,$(1))
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,gluon-config-mode-theme))
|