1 include $(TOPDIR)/rules.mk
3 PKG_BRANCH:=branches/luci-0.8
6 USELOCAL:=$(shell grep luci ../../../.project 2>/dev/null >/dev/null && echo 1)
15 PKG_SOURCE_URL:=http://svn.luci.subsignal.org/luci/$(PKG_BRANCH)
20 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
21 PKG_SOURCE:=$(PKG_SOURCE_SUBDIR).tar.gz
23 PKG_SOURCE_VERSION:=$(PKG_REV)
26 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
27 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
29 PKG_BUILD_DEPENDS:=libnotimpl
31 PKG_SELECTED_MODULES:=
34 include $(INCLUDE_DIR)/package.mk
38 mkdir -p $(PKG_BUILD_DIR)
39 $(TAR) c -C ../../../ . \
40 --exclude=.pc --exclude=.svn --exclude=.git \
41 --exclude='boa-0*' --exclude='*.o' --exclude='*.so' \
43 tar x -C $(PKG_BUILD_DIR)/
47 define Build/Configure
52 define Package/luci/libtemplate
54 CATEGORY:=Administration
55 TITLE:=LuCI - Lua Configuration Interface
56 URL:=http://luci.freifunk-halle.net/
57 MAINTAINER:=Steven Barth <steven-at-midlink-dot-org>
58 SUBMENU:=LuCI Libraries
62 define Package/luci/fftemplate
63 $(call Package/luci/libtemplate)
64 SUBMENU:=LuCI Freifunk Support
65 DEPENDS:=+luci-mod-freifunk
68 define Package/luci/httpdtemplate
69 $(call Package/luci/libtemplate)
74 define Package/luci/i18ntemplate
75 $(call Package/luci/libtemplate)
76 SUBMENU:=LuCI Translations
80 define Package/luci/thtemplate
81 $(call Package/luci/libtemplate)
86 define Package/luci/webtemplate
87 $(call Package/luci/libtemplate)
88 SUBMENU:=LuCI Components
92 define Package/luci/install/template
93 $(CP) -a $(PKG_BUILD_DIR)/$(2)/dist/* $(1)/ -R
94 $(CP) -a $(PKG_BUILD_DIR)/$(2)/ipkg/* $(1)/CONTROL/ 2>/dev/null || true
101 define Package/luci-core
102 $(call Package/luci/libtemplate)
104 TITLE:=LuCI core libraries
107 define Package/luci-core/install
108 $(call Package/luci/install/template,$(1),libs/core)
109 $(PKG_BUILD_DIR)/build/mkversion.sh $(1)/usr/lib/lua/luci/version.lua \
111 "$(OPENWRTVERSION)" \
116 define Package/luci-core/config
118 prompt "Build Target"
119 default PACKAGE_luci-core_source
121 config PACKAGE_luci-core_compile
124 config PACKAGE_luci-core_stripped
127 config PACKAGE_luci-core_source
133 ifneq ($(CONFIG_PACKAGE_luci-core_compile),)
137 ifneq ($(CONFIG_PACKAGE_luci-core_stripped),)
143 define Package/luci-cbi
144 $(call Package/luci/libtemplate)
145 DEPENDS+=+luci-web +luci-uvl +luci-uci
146 TITLE:=Configuration Binding Interface
149 define Package/luci-cbi/install
150 $(call Package/luci/install/template,$(1),libs/cbi)
154 define Package/luci-uci
155 $(call Package/luci/libtemplate)
157 TITLE:=High-Level UCI API
160 define Package/luci-uci/install
161 $(call Package/luci/install/template,$(1),libs/uci)
165 define Package/luci-fastindex
166 $(call Package/luci/libtemplate)
167 TITLE:=Fastindex indexing module
170 define Package/luci-fastindex/install
171 $(call Package/luci/install/template,$(1),libs/fastindex)
175 define Package/luci-http
176 $(call Package/luci/libtemplate)
177 TITLE:=HTTP Protocol implementation
180 define Package/luci-http/install
181 $(call Package/luci/install/template,$(1),libs/http)
185 define Package/luci-ipkg
186 $(call Package/luci/libtemplate)
187 TITLE:=LuCI IPKG/OPKG call abstraction library
190 define Package/luci-ipkg/install
191 $(call Package/luci/install/template,$(1),libs/ipkg)
195 define Package/luci-json
196 $(call Package/luci/libtemplate)
197 TITLE:=LuCI JSON Library
200 define Package/luci-json/install
201 $(call Package/luci/install/template,$(1),libs/json)
205 define Package/luci-sys
206 $(call Package/luci/libtemplate)
207 TITLE:=LuCI Linux/POSIX system library
210 define Package/luci-sys/install
211 $(call Package/luci/install/template,$(1),libs/sys)
215 define Package/luci-web
216 $(call Package/luci/libtemplate)
217 DEPENDS+=+luci-http +luci-sys +luci-uci +luci-sgi-cgi
218 TITLE:=MVC Webframework
221 define Package/luci-web/conffiles
225 define Package/luci-web/install
226 $(call Package/luci/install/template,$(1),libs/web)
230 define Package/luci-uvl
231 $(call Package/luci/libtemplate)
232 DEPENDS+=+luci-sys +luci-uci +luci-core
233 TITLE:=UVL - UCI Validation Layer
236 define Package/luci-uvl/install
237 $(call Package/luci/install/template,$(1),libs/uvl)
244 define Package/luci-httpd
245 $(call Package/luci/httpdtemplate)
246 DEPENDS:=+luci-http +libuci
250 define Package/luci-httpd/install
251 $(call Package/luci/install/template,$(1),libs/lucittpd)
256 ### Community Packages ###
258 define Package/luci-freifunk-community
259 $(call Package/luci/fftemplate)
261 +luci-sgi-cgi +luci-app-splash \
262 +luci-app-ffwizard-leipzig \
264 +PACKAGE_luci-freifunk-community:olsrd-luci +PACKAGE_luci-freifunk-community:olsrd-luci-mod-dyn-gw-plain \
265 +PACKAGE_luci-freifunk-community:olsrd-luci-mod-txtinfo +PACKAGE_luci-freifunk-community:olsrd-luci-mod-nameservice \
266 +PACKAGE_luci-freifunk-community:olsrd-luci-mod-watchdog +PACKAGE_luci-freifunk-community:kmod-tun \
267 +PACKAGE_luci-freifunk-community:ip +luci-app-olsr
268 TITLE:=Freifunk Community Meta-Package
271 define Package/luci-freifunk-community/install
272 $(call Package/luci/install/template,$(1),applications/freifunk-community)
277 define Package/luci-admin-core
278 $(call Package/luci/webtemplate)
279 DEPENDS+=+luci-web +luci-cbi +luci-theme-openwrt +luci-i18n-english
280 TITLE:=Web UI Core Module
283 define Package/luci-admin-core/conffiles
284 /etc/config/luci_hosts
285 /etc/config/luci_ethers
288 define Package/luci-admin-core/install
289 $(call Package/luci/install/template,$(1),modules/admin-core)
290 touch $(1)/etc/init.d/luci_fixtime || true
294 define Package/luci-admin-mini
295 $(call Package/luci/webtemplate)
296 DEPENDS+=+luci-admin-core
297 TITLE:=LuCI Essentials - stripped down and user-friendly
300 define Package/luci-admin-mini/install
301 $(call Package/luci/install/template,$(1),modules/admin-mini)
305 define Package/luci-admin-full
306 $(call Package/luci/webtemplate)
307 DEPENDS+=+luci-admin-core +luci-ipkg
308 TITLE:=LuCI Administration - full-featured for full control
311 define Package/luci-admin-full/install
312 $(call Package/luci/install/template,$(1),modules/admin-full)
316 define Package/luci-admin-rpc
317 $(call Package/luci/webtemplate)
319 TITLE:=LuCI RPC - JSON-RPC API
322 define Package/luci-admin-rpc/install
323 $(call Package/luci/install/template,$(1),modules/rpc)
327 define Package/luci-mod-freifunk
328 $(call Package/luci/fftemplate)
329 DEPENDS:=+luci-admin-full +luci-json
330 TITLE:=LuCI Freifunk module
333 define Package/luci-mod-freifunk/conffiles
337 define Package/luci-mod-freifunk/install
338 $(call Package/luci/install/template,$(1),modules/freifunk)
345 define Package/luci-app-ffwizard-leipzig
346 $(call Package/luci/fftemplate)
347 TITLE:=Freifunk Leipzig configuration wizard
350 define Package/luci-app-ffwizard-leipzig/install
351 $(call Package/luci/install/template,$(1),applications/luci-ffwizard-leipzig)
355 define Package/luci-app-firewall
356 $(call Package/luci/webtemplate)
357 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-firewall:firewall
358 TITLE:=Firewall and Portforwarding application
361 define Package/luci-app-firewall/install
362 $(call Package/luci/install/template,$(1),applications/luci-fw)
366 define Package/luci-app-olsr
367 $(call Package/luci/webtemplate)
368 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-olsr:olsrd-luci +PACKAGE_luci-app-olsr:olsrd-luci-mod-txtinfo
369 TITLE:=OLSR configuration and status module
372 define Package/luci-app-olsr/install
373 $(call Package/luci/install/template,$(1),applications/luci-olsr)
377 define Package/luci-app-qos
378 $(call Package/luci/webtemplate)
379 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-qos:qos-scripts
380 TITLE:=Quality of Service configuration module
383 define Package/luci-app-qos/install
384 $(call Package/luci/install/template,$(1),applications/luci-qos)
388 define Package/luci-app-splash
389 $(call Package/luci/fftemplate)
390 DEPENDS+=+PACKAGE_luci-app-splash:luasocket
391 TITLE:=Freifunk DHCP-Splash application
394 define Package/luci-app-splash/conffiles
395 /etc/config/luci_splash
398 define Package/luci-app-splash/install
399 $(call Package/luci/install/template,$(1),applications/luci-splash)
403 define Package/luci-app-statistics
404 $(call Package/luci/webtemplate)
405 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-statistics:collectd \
406 +PACKAGE_luci-app-statistics:rrdtool1 \
407 +PACKAGE_luci-app-statistics:collectd-mod-rrdtool1 \
408 +PACKAGE_luci-app-statistics:collectd-mod-wireless \
409 +PACKAGE_luci-app-statistics:collectd-mod-interfaces \
410 +PACKAGE_luci-app-statistics:collectd-mod-load
411 TITLE:=LuCI Statistics Application
414 define Package/luci-app-statistics/conffiles
415 /etc/config/luci_statistics
418 define Package/luci-app-statistics/install
419 $(call Package/luci/install/template,$(1),applications/luci-statistics)
423 define Package/luci-app-upnp
424 $(call Package/luci/webtemplate)
425 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-upnp:miniupnpd
426 TITLE:=Universal Plug & Play configuration module
429 define Package/luci-app-upnp/install
430 $(call Package/luci/install/template,$(1),applications/luci-upnp)
434 define Package/luci-app-ntpc
435 $(call Package/luci/webtemplate)
436 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-ntpc:ntpclient
437 TITLE:=NTP time synchronisation client configuration module
440 define Package/luci-app-ntpc/install
441 $(call Package/luci/install/template,$(1),applications/luci-ntpc)
445 define Package/luci-app-ddns
446 $(call Package/luci/webtemplate)
447 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-ddns:ddns-scripts
448 TITLE:=Dynamic DNS configuration module
451 define Package/luci-app-ddns/install
452 $(call Package/luci/install/template,$(1),applications/luci-ddns)
456 define Package/luci-app-samba
457 $(call Package/luci/webtemplate)
458 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-samba:samba3
459 TITLE:=Network Shares - Samba SMB/CIFS module
462 define Package/luci-app-samba/install
463 $(call Package/luci/install/template,$(1),applications/luci-samba)
467 define Package/luci-app-uvc_streamer
468 $(call Package/luci/webtemplate)
469 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-uvc_streamer:uvc-streamer
470 TITLE:=Webcam Streaming - UVC-Streamer module
473 define Package/luci-app-uvc_streamer/install
474 $(call Package/luci/install/template,$(1),applications/luci-uvc_streamer)
478 define Package/luci-app-mmc_over_gpio
479 $(call Package/luci/webtemplate)
480 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-mmc_over_gpio:kmod-mmc-over-gpio
484 define Package/luci-app-mmc_over_gpio/install
485 $(call Package/luci/install/template,$(1),applications/luci-mmc_over_gpio)
489 define Package/luci-app-p910nd
490 $(call Package/luci/webtemplate)
491 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-p910nd:p910nd
492 TITLE:=p910nd - Printer server module
495 define Package/luci-app-p910nd/install
496 $(call Package/luci/install/template,$(1),applications/luci-p910nd)
500 define Package/luci-app-ushare
501 $(call Package/luci/webtemplate)
502 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-ushare:ushare
503 TITLE:=ushare - UPnP A/V & DLNA Media Server
506 define Package/luci-app-ushare/install
507 $(call Package/luci/install/template,$(1),applications/luci-ushare)
510 define Package/luci-app-hd_idle
511 $(call Package/luci/webtemplate)
512 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-hd_idle:hd-idle
516 define Package/luci-app-hd_idle/install
517 $(call Package/luci/install/template,$(1),applications/luci-hd_idle)
520 define Package/luci-app-tinyproxy
521 $(call Package/luci/webtemplate)
522 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-tinyproxy:tinyproxy
523 TITLE:=Tinyproxy - HTTP(S)-Proxy
526 define Package/luci-app-tinyproxy/install
527 $(call Package/luci/install/template,$(1),applications/luci-tinyproxy)
530 define Package/luci-app-initmgr
531 $(call Package/luci/webtemplate)
532 DEPENDS+=+luci-admin-full
533 TITLE:=LuCI Initscript Management
536 define Package/luci-app-initmgr/install
537 $(call Package/luci/install/template,$(1),applications/luci-initmgr)
540 define Package/luci-app-livestats
541 $(call Package/luci/webtemplate)
542 DEPENDS+=+luci-admin-core +luci-admin-rpc
543 TITLE:=LuCI Realtime Statistics
546 define Package/luci-app-livestats/install
547 $(call Package/luci/install/template,$(1),applications/luci-livestats)
550 define Package/luci-app-polipo
551 $(call Package/luci/webtemplate)
552 TITLE:=LuCI Support for the Polipo Proxy
553 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-polipo:polipo
556 define Package/luci-app-polipo/install
557 $(call Package/luci/install/template,$(1),applications/luci-polipo)
561 ### Server Gateway Interfaces ###
563 define Package/luci-sgi-cgi
564 $(call Package/luci/libtemplate)
568 define Package/luci-sgi-cgi/install
569 $(call Package/luci/install/template,$(1),libs/sgi-cgi)
572 define Package/luci-sgi-luci
573 $(call Package/luci/libtemplate)
575 TITLE:=SGI for LuCIttpd
578 define Package/luci-sgi-luci/install
579 $(call Package/luci/install/template,$(1),libs/sgi-luci)
582 define Package/luci-sgi-webuci
583 $(call Package/luci/libtemplate)
584 TITLE:=SGI for Webuci
587 define Package/luci-sgi-webuci/install
588 $(call Package/luci/install/template,$(1),libs/sgi-webuci)
592 define Package/luci-theme-base
593 $(call Package/luci/thtemplate)
595 TITLE:=Common base for all themes
598 define Package/luci-theme-base/install
599 $(call Package/luci/install/template,$(1),themes/base)
602 define Package/luci-theme-fledermaus
603 $(call Package/luci/fftemplate)
605 TITLE:=Fledermaus Theme
608 define Package/luci-theme-fledermaus/install
609 $(call Package/luci/install/template,$(1),themes/fledermaus)
612 define Package/luci-theme-freifunk
613 $(call Package/luci/fftemplate)
615 MAINTAINER:=Stefan Pirwitz <stefan-at-freifunk-bno-dot-de>
616 TITLE:=alternative Freifunk Theme
619 define Package/luci-theme-freifunk/install
620 $(call Package/luci/install/template,$(1),themes/freifunk)
623 define Package/luci-theme-freifunk-bno
624 $(call Package/luci/fftemplate)
626 MAINTAINER:=Stefan Pirwitz <stefan-at-freifunk-bno-dot-de>
627 TITLE:=Freifunk Berlin Nordost Theme
630 define Package/luci-theme-freifunk-bno/install
631 $(call Package/luci/install/template,$(1),themes/freifunk-bno)
634 define Package/luci-theme-openwrt
635 $(call Package/luci/thtemplate)
636 TITLE:=OpenWrt.org (default)
637 DEPENDS:=+luci-theme-base
640 define Package/luci-theme-openwrt/install
641 $(call Package/luci/install/template,$(1),themes/openwrt.org)
644 define Package/luci-theme-openwrtlight
645 $(call Package/luci/thtemplate)
646 TITLE:=OpenWrt.org - light variant without images
647 DEPENDS:=+luci-theme-base
650 define Package/luci-theme-openwrtlight/install
651 $(call Package/luci/install/template,$(1),themes/openwrt-light)
656 define Package/luci-i18n-german
657 $(call Package/luci/i18ntemplate)
661 define Package/luci-i18n-german/install
662 $(call Package/luci/install/template,$(1),i18n/german)
666 define Package/luci-i18n-english
667 $(call Package/luci/i18ntemplate)
671 define Package/luci-i18n-english/install
672 $(call Package/luci/install/template,$(1),i18n/english)
676 define Package/luci-i18n-french
677 $(call Package/luci/i18ntemplate)
678 TITLE:=French (by Florian Fainelli)
681 define Package/luci-i18n-french/install
682 $(call Package/luci/install/template,$(1),i18n/french)
686 define Package/luci-i18n-italian
687 $(call Package/luci/i18ntemplate)
688 TITLE:=Italian (by Matteo Croce)
691 define Package/luci-i18n-italian/install
692 $(call Package/luci/install/template,$(1),i18n/italian)
696 define Package/luci-i18n-russian
697 $(call Package/luci/i18ntemplate)
698 TITLE:=Russian (by Skryabin Dmitry)
701 define Package/luci-i18n-russian/install
702 $(call Package/luci/install/template,$(1),i18n/russian)
706 define Package/luci-i18n-portuguese_brazilian
707 $(call Package/luci/i18ntemplate)
708 TITLE:=Portuguese (Brazilian) (by Carlos Cesario)
711 define Package/luci-i18n-portuguese_brazilian/install
712 $(call Package/luci/install/template,$(1),i18n/portuguese_brazilian)
717 ifneq ($(CONFIG_PACKAGE_luci-core),)
718 PKG_SELECTED_MODULES+=libs/core
720 ifneq ($(CONFIG_PACKAGE_luci-cbi),)
721 PKG_SELECTED_MODULES+=libs/cbi
723 ifneq ($(CONFIG_PACKAGE_luci-fastindex),)
724 PKG_SELECTED_MODULES+=libs/fastindex
726 ifneq ($(CONFIG_PACKAGE_luci-http),)
727 PKG_SELECTED_MODULES+=libs/http
729 ifneq ($(CONFIG_PACKAGE_luci-ipkg),)
730 PKG_SELECTED_MODULES+=libs/ipkg
732 ifneq ($(CONFIG_PACKAGE_luci-json),)
733 PKG_SELECTED_MODULES+=libs/json
735 ifneq ($(CONFIG_PACKAGE_luci-uci),)
736 PKG_SELECTED_MODULES+=libs/uci
738 ifneq ($(CONFIG_PACKAGE_luci-sys),)
739 PKG_SELECTED_MODULES+=libs/sys
741 ifneq ($(CONFIG_PACKAGE_luci-web),)
742 PKG_SELECTED_MODULES+=libs/web
744 ifneq ($(CONFIG_PACKAGE_luci-uvl),)
745 PKG_SELECTED_MODULES+=libs/uvl
748 ifneq ($(CONFIG_PACKAGE_luci-httpd),)
749 PKG_SELECTED_MODULES+=libs/lucittpd
752 ifneq ($(CONFIG_PACKAGE_luci-admin-core),)
753 PKG_SELECTED_MODULES+=modules/admin-core
755 ifneq ($(CONFIG_PACKAGE_luci-admin-mini),)
756 PKG_SELECTED_MODULES+=modules/admin-mini
758 ifneq ($(CONFIG_PACKAGE_luci-admin-full),)
759 PKG_SELECTED_MODULES+=modules/admin-full
761 ifneq ($(CONFIG_PACKAGE_luci-admin-rpc),)
762 PKG_SELECTED_MODULES+=modules/rpc
764 ifneq ($(CONFIG_PACKAGE_luci-mod-freifunk),)
765 PKG_SELECTED_MODULES+=modules/freifunk
768 ifneq ($(CONFIG_PACKAGE_luci-freifunk-community),)
769 PKG_SELECTED_MODULES+=applications/freifunk-community
772 ifneq ($(CONFIG_PACKAGE_luci-app-ffwizard-leipzig),)
773 PKG_SELECTED_MODULES+=applications/luci-ffwizard-leipzig
775 ifneq ($(CONFIG_PACKAGE_luci-app-firewall),)
776 PKG_SELECTED_MODULES+=applications/luci-fw
778 ifneq ($(CONFIG_PACKAGE_luci-app-olsr),)
779 PKG_SELECTED_MODULES+=applications/luci-olsr
781 ifneq ($(CONFIG_PACKAGE_luci-app-qos),)
782 PKG_SELECTED_MODULES+=applications/luci-qos
784 ifneq ($(CONFIG_PACKAGE_luci-app-splash),)
785 PKG_SELECTED_MODULES+=applications/luci-splash
787 ifneq ($(CONFIG_PACKAGE_luci-app-statistics),)
788 PKG_SELECTED_MODULES+=applications/luci-statistics
790 ifneq ($(CONFIG_PACKAGE_luci-app-upnp),)
791 PKG_SELECTED_MODULES+=applications/luci-upnp
793 ifneq ($(CONFIG_PACKAGE_luci-app-ntpc),)
794 PKG_SELECTED_MODULES+=applications/luci-ntpc
796 ifneq ($(CONFIG_PACKAGE_luci-app-ddns),)
797 PKG_SELECTED_MODULES+=applications/luci-ddns
799 ifneq ($(CONFIG_PACKAGE_luci-app-samba),)
800 PKG_SELECTED_MODULES+=applications/luci-samba
802 ifneq ($(CONFIG_PACKAGE_luci-app-uvc_streamer),)
803 PKG_SELECTED_MODULES+=applications/luci-uvc_streamer
805 ifneq ($(CONFIG_PACKAGE_luci-app-mmc_over_gpio),)
806 PKG_SELECTED_MODULES+=applications/luci-mmc_over_gpio
808 ifneq ($(CONFIG_PACKAGE_luci-app-p910nd),)
809 PKG_SELECTED_MODULES+=applications/luci-p910nd
811 ifneq ($(CONFIG_PACKAGE_luci-app-ushare),)
812 PKG_SELECTED_MODULES+=applications/luci-ushare
814 ifneq ($(CONFIG_PACKAGE_luci-app-hd_idle),)
815 PKG_SELECTED_MODULES+=applications/luci-hd_idle
817 ifneq ($(CONFIG_PACKAGE_luci-app-tinyproxy),)
818 PKG_SELECTED_MODULES+=applications/luci-tinyproxy
820 ifneq ($(CONFIG_PACKAGE_luci-app-initmgr),)
821 PKG_SELECTED_MODULES+=applications/luci-initmgr
823 ifneq ($(CONFIG_PACKAGE_luci-app-livestats),)
824 PKG_SELECTED_MODULES+=applications/luci-livestats
826 ifneq ($(CONFIG_PACKAGE_luci-app-polipo),)
827 PKG_SELECTED_MODULES+=applications/luci-polipo
831 ifneq ($(CONFIG_PACKAGE_luci-sgi-cgi),)
832 PKG_SELECTED_MODULES+=libs/sgi-cgi
834 ifneq ($(CONFIG_PACKAGE_luci-sgi-luci),)
835 PKG_SELECTED_MODULES+=libs/sgi-luci
837 ifneq ($(CONFIG_PACKAGE_luci-sgi-webuci),)
838 PKG_SELECTED_MODULES+=libs/sgi-webuci
841 ifneq ($(CONFIG_PACKAGE_luci-theme-base),)
842 PKG_SELECTED_MODULES+=themes/base
844 ifneq ($(CONFIG_PACKAGE_luci-theme-fledermaus),)
845 PKG_SELECTED_MODULES+=themes/fledermaus
847 ifneq ($(CONFIG_PACKAGE_luci-theme-freifunk-bno),)
848 PKG_SELECTED_MODULES+=themes/freifunk-bno
850 ifneq ($(CONFIG_PACKAGE_luci-theme-freifunk),)
851 PKG_SELECTED_MODULES+=themes/freifunk
853 ifneq ($(CONFIG_PACKAGE_luci-theme-openwrt),)
854 PKG_SELECTED_MODULES+=themes/openwrt.org
856 ifneq ($(CONFIG_PACKAGE_luci-theme-openwrtlight),)
857 PKG_SELECTED_MODULES+=themes/openwrt-light
860 ifneq ($(CONFIG_PACKAGE_luci-i18n-german),)
861 PKG_SELECTED_MODULES+=i18n/german
863 ifneq ($(CONFIG_PACKAGE_luci-i18n-english),)
864 PKG_SELECTED_MODULES+=i18n/english
866 ifneq ($(CONFIG_PACKAGE_luci-i18n-french),)
867 PKG_SELECTED_MODULES+=i18n/french
869 ifneq ($(CONFIG_PACKAGE_luci-i18n-italian),)
870 PKG_SELECTED_MODULES+=i18n/italian
872 ifneq ($(CONFIG_PACKAGE_luci-i18n-russian),)
873 PKG_SELECTED_MODULES+=i18n/russian
875 ifneq ($(CONFIG_PACKAGE_luci-i18n-portuguese_brazilian),)
876 PKG_SELECTED_MODULES+=i18n/portuguese_brazilian
881 MODULES="$(PKG_SELECTED_MODULES)" \
882 LUA_TARGET="$(LUA_TARGET)" \
883 LUA_SHLIBS="-llua -lm -ldl -lcrypt" \
884 CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" \
885 LDFLAGS="$(TARGET_LDFLAGS) -L$(STAGING_DIR)/usr/lib" \
889 $(eval $(call BuildPackage,luci-core))
890 $(eval $(call BuildPackage,luci-cbi))
891 $(eval $(call BuildPackage,luci-fastindex))
892 $(eval $(call BuildPackage,luci-http))
893 $(eval $(call BuildPackage,luci-ipkg))
894 $(eval $(call BuildPackage,luci-json))
895 $(eval $(call BuildPackage,luci-uci))
896 $(eval $(call BuildPackage,luci-sys))
897 $(eval $(call BuildPackage,luci-web))
898 $(eval $(call BuildPackage,luci-uvl))
900 $(eval $(call BuildPackage,luci-httpd))
902 $(eval $(call BuildPackage,luci-admin-core))
903 $(eval $(call BuildPackage,luci-admin-mini))
904 $(eval $(call BuildPackage,luci-admin-full))
905 $(eval $(call BuildPackage,luci-admin-rpc))
906 $(eval $(call BuildPackage,luci-mod-freifunk))
908 $(eval $(call BuildPackage,luci-freifunk-community))
910 $(eval $(call BuildPackage,luci-app-ffwizard-leipzig))
911 $(eval $(call BuildPackage,luci-app-firewall))
912 $(eval $(call BuildPackage,luci-app-olsr))
913 $(eval $(call BuildPackage,luci-app-qos))
914 $(eval $(call BuildPackage,luci-app-splash))
915 $(eval $(call BuildPackage,luci-app-statistics))
916 $(eval $(call BuildPackage,luci-app-upnp))
917 $(eval $(call BuildPackage,luci-app-ntpc))
918 $(eval $(call BuildPackage,luci-app-ddns))
919 $(eval $(call BuildPackage,luci-app-samba))
920 $(eval $(call BuildPackage,luci-app-uvc_streamer))
921 $(eval $(call BuildPackage,luci-app-mmc_over_gpio))
922 $(eval $(call BuildPackage,luci-app-p910nd))
923 $(eval $(call BuildPackage,luci-app-ushare))
924 $(eval $(call BuildPackage,luci-app-hd_idle))
925 $(eval $(call BuildPackage,luci-app-tinyproxy))
926 $(eval $(call BuildPackage,luci-app-initmgr))
927 $(eval $(call BuildPackage,luci-app-livestats))
928 $(eval $(call BuildPackage,luci-app-polipo))
930 $(eval $(call BuildPackage,luci-sgi-cgi))
931 $(eval $(call BuildPackage,luci-sgi-luci))
932 $(eval $(call BuildPackage,luci-sgi-webuci))
934 $(eval $(call BuildPackage,luci-theme-base))
935 $(eval $(call BuildPackage,luci-theme-fledermaus))
936 $(eval $(call BuildPackage,luci-theme-freifunk))
937 $(eval $(call BuildPackage,luci-theme-freifunk-bno))
938 $(eval $(call BuildPackage,luci-theme-openwrt))
939 $(eval $(call BuildPackage,luci-theme-openwrtlight))
941 $(eval $(call BuildPackage,luci-i18n-german))
942 $(eval $(call BuildPackage,luci-i18n-english))
943 $(eval $(call BuildPackage,luci-i18n-french))
944 $(eval $(call BuildPackage,luci-i18n-italian))
945 $(eval $(call BuildPackage,luci-i18n-russian))
946 $(eval $(call BuildPackage,luci-i18n-portuguese_brazilian))