diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2008-10-21 00:49:01 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2008-10-21 00:49:01 +0000 |
commit | fe5db5028511da9bfd7036b0430761563cef0c39 (patch) | |
tree | 7e2229793969287c44f8514da51e4472c3c6bdeb /contrib | |
parent | f35cea8c53ef5d7be0c5b1e4a915f5583eab3df1 (diff) |
* luci/themes:
- create new package luci-theme-base
- add new base package to package feed
- make openwrt.org and openwrtlight themes depend on theme-base
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/package/luci/Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/contrib/package/luci/Makefile b/contrib/package/luci/Makefile index da067fb4a..007c58d03 100644 --- a/contrib/package/luci/Makefile +++ b/contrib/package/luci/Makefile @@ -556,6 +556,16 @@ define Package/luci-sgi-webuci/install 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-fledermaus $(call Package/luci/fftemplate) DEPENDS:=+luci-web @@ -591,6 +601,7 @@ 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 @@ -600,6 +611,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 @@ -777,6 +789,9 @@ ifneq ($(CONFIG_PACKAGE_luci-sgi-webuci),) PKG_SELECTED_MODULES+=libs/sgi-webuci endif +ifneq ($(CONFIG_PACKAGE_luci-theme-base),) + PKG_SELECTED_MODULES+=themes/base +endif ifneq ($(CONFIG_PACKAGE_luci-theme-fledermaus),) PKG_SELECTED_MODULES+=themes/fledermaus endif @@ -862,6 +877,7 @@ $(eval $(call BuildPackage,luci-sgi-cgi)) $(eval $(call BuildPackage,luci-sgi-luci)) $(eval $(call BuildPackage,luci-sgi-webuci)) +$(eval $(call BuildPackage,luci-theme-base)) $(eval $(call BuildPackage,luci-theme-fledermaus)) $(eval $(call BuildPackage,luci-theme-freifunk)) $(eval $(call BuildPackage,luci-theme-freifunk-bno)) |