summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-10-21 01:56:50 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-10-21 01:56:50 +0000
commit85fbb033cf3cd0e86844755c266c1a02946b392e (patch)
treefb887e04338b11d291ce6d155d2fb7e9ee183f51 /contrib
parent4e8af56ac13c4361bb8121fc969116b14b5910a9 (diff)
* luci-0.8: merge r3607, r3608, r3611 and r3612
Diffstat (limited to 'contrib')
-rw-r--r--contrib/package/luci/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/contrib/package/luci/Makefile b/contrib/package/luci/Makefile
index abd5541d13..90bf68d727 100644
--- a/contrib/package/luci/Makefile
+++ b/contrib/package/luci/Makefile
@@ -442,9 +442,20 @@ endef
### Themes ###
+define Package/luci-theme-base
+ $(call Package/luci/thtemplate)
+ DEPENDS:=+luci-web
+ TITLE:=Common base for all themes
+endef
+
+define Package/luci-theme-base/install
+ $(call Package/luci/install/template,$(1),themes/base)
+endef
+
define Package/luci-theme-openwrt
$(call Package/luci/thtemplate)
TITLE:=OpenWRT.org (default)
+ DEPENDS:=+luci-theme-base
endef
define Package/luci-theme-openwrt/install
@@ -454,6 +465,7 @@ endef
define Package/luci-theme-openwrtlight
$(call Package/luci/thtemplate)
TITLE:=OpenWRT.org - light variant without images
+ DEPENDS:=+luci-theme-base
endef
define Package/luci-theme-openwrtlight/install
@@ -606,6 +618,10 @@ ifneq ($(CONFIG_PACKAGE_luci-sgi-cgi),)
PKG_SELECTED_MODULES+=libs/sgi-cgi
endif
+
+ifneq ($(CONFIG_PACKAGE_luci-theme-base),)
+ PKG_SELECTED_MODULES+=themes/base
+endif
ifneq ($(CONFIG_PACKAGE_luci-theme-openwrt),)
PKG_SELECTED_MODULES+=themes/openwrt.org
endif
@@ -672,6 +688,7 @@ $(eval $(call BuildPackage,luci-app-initmgr))
$(eval $(call BuildPackage,luci-sgi-cgi))
+$(eval $(call BuildPackage,luci-theme-base))
$(eval $(call BuildPackage,luci-theme-openwrt))
$(eval $(call BuildPackage,luci-theme-openwrtlight))