1 include $(TOPDIR)/rules.mk
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)
17 PKG_REV:=$(shell LC_ALL=C svn info ${PKG_SOURCE_URL} | sed -ne's/^Last Changed Rev: //p')
18 PKG_VERSION:=0.9+svn$(PKG_REV)
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)
111 define Package/luci-core/config
113 prompt "Build Target"
114 default PACKAGE_luci-core_source
116 config PACKAGE_luci-core_compile
119 config PACKAGE_luci-core_stripped
122 config PACKAGE_luci-core_source
128 ifneq ($(CONFIG_PACKAGE_luci-core_compile),)
132 ifneq ($(CONFIG_PACKAGE_luci-core_stripped),)
138 define Package/luci-cbi
139 $(call Package/luci/libtemplate)
140 DEPENDS+=+luci-web +luci-uvl +luci-uci
141 TITLE:=Configuration Binding Interface
144 define Package/luci-cbi/install
145 $(call Package/luci/install/template,$(1),libs/cbi)
149 define Package/luci-uci
150 $(call Package/luci/libtemplate)
152 TITLE:=High-Level UCI API
155 define Package/luci-uci/install
156 $(call Package/luci/install/template,$(1),libs/uci)
160 define Package/luci-fastindex
161 $(call Package/luci/libtemplate)
162 TITLE:=Fastindex indexing module
165 define Package/luci-fastindex/install
166 $(call Package/luci/install/template,$(1),libs/fastindex)
170 define Package/luci-http
171 $(call Package/luci/libtemplate)
172 TITLE:=HTTP Protocol implementation
175 define Package/luci-http/install
176 $(call Package/luci/install/template,$(1),libs/http)
180 define Package/luci-ipkg
181 $(call Package/luci/libtemplate)
182 TITLE:=LuCI IPKG/OPKG call abstraction library
185 define Package/luci-ipkg/install
186 $(call Package/luci/install/template,$(1),libs/ipkg)
190 define Package/luci-json
191 $(call Package/luci/libtemplate)
192 TITLE:=LuCI JSON Library
195 define Package/luci-json/install
196 $(call Package/luci/install/template,$(1),libs/json)
200 define Package/luci-sys
201 $(call Package/luci/libtemplate)
202 TITLE:=LuCI Linux/POSIX system library
205 define Package/luci-sys/install
206 $(call Package/luci/install/template,$(1),libs/sys)
210 define Package/luci-web
211 $(call Package/luci/libtemplate)
212 DEPENDS+=+luci-http +luci-sys +luci-uci +luci-sgi-cgi
213 TITLE:=MVC Webframework
216 define Package/luci-web/conffiles
220 define Package/luci-web/install
221 $(call Package/luci/install/template,$(1),libs/web)
225 define Package/luci-uvl
226 $(call Package/luci/libtemplate)
227 DEPENDS+=+luci-sys +luci-uci +luci-core
228 TITLE:=UVL - UCI Validation Layer
231 define Package/luci-uvl/install
232 $(call Package/luci/install/template,$(1),libs/uvl)
239 define Package/luci-httpd
240 $(call Package/luci/httpdtemplate)
241 DEPENDS:=+luci-http +libuci
245 define Package/luci-httpd/install
246 $(call Package/luci/install/template,$(1),libs/lucittpd)
251 ### Community Packages ###
253 define Package/luci-freifunk-community
254 $(call Package/luci/fftemplate)
256 +luci-sgi-cgi +luci-app-splash +luci-app-olsr \
257 +luci-app-ffwizard-leipzig \
258 +luci-theme-fledermaus \
260 +olsrd-luci +olsrd-luci-mod-dyn-gw +olsrd-luci-mod-txtinfo +olsrd-luci-mod-nameservice \
262 TITLE:=Freifunk Community Meta-Package
265 define Package/luci-freifunk-community/install
266 $(call Package/luci/install/template,$(1),applications/freifunk-community)
271 define Package/luci-admin-core
272 $(call Package/luci/webtemplate)
273 DEPENDS+=+luci-web +luci-cbi +luci-theme-openwrt +luci-i18n-english
274 TITLE:=Web UI Core Module
277 define Package/luci-admin-core/conffiles
278 /etc/config/luci_hosts
279 /etc/config/luci_ethers
282 define Package/luci-admin-core/install
283 $(call Package/luci/install/template,$(1),modules/admin-core)
287 define Package/luci-admin-mini
288 $(call Package/luci/webtemplate)
289 DEPENDS+=+luci-admin-core
290 TITLE:=LuCI Essentials - stripped down and user-friendly
293 define Package/luci-admin-mini/install
294 $(call Package/luci/install/template,$(1),modules/admin-mini)
298 define Package/luci-admin-full
299 $(call Package/luci/webtemplate)
300 DEPENDS+=+luci-admin-core +luci-ipkg +luci-app-firewall
301 TITLE:=LuCI Administration - full-featured for full control
304 define Package/luci-admin-full/install
305 $(call Package/luci/install/template,$(1),modules/admin-full)
309 define Package/luci-admin-rpc
310 $(call Package/luci/webtemplate)
312 TITLE:=LuCI RPC - JSON-RPC API
315 define Package/luci-admin-rpc/install
316 $(call Package/luci/install/template,$(1),modules/rpc)
320 define Package/luci-mod-freifunk
321 $(call Package/luci/fftemplate)
322 DEPENDS:=+luci-admin-full
323 TITLE:=LuCI Freifunk module
326 define Package/luci-mod-freifunk/conffiles
330 define Package/luci-mod-freifunk/install
331 $(call Package/luci/install/template,$(1),modules/freifunk)
338 define Package/luci-app-ffwizard-leipzig
339 $(call Package/luci/fftemplate)
340 TITLE:=Freifunk Leipzig configuration wizard
343 define Package/luci-app-ffwizard-leipzig/install
344 $(call Package/luci/install/template,$(1),applications/luci-ffwizard-leipzig)
348 define Package/luci-app-siitwizard
349 $(call Package/luci/fftemplate)
350 TITLE:=SIIT IPv4-over-IPv6 configuration wizard
351 DEPENDS:=+luci-admin-core +kmod-siit
354 define Package/luci-app-siitwizard/install
355 $(call Package/luci/install/template,$(1),applications/luci-siitwizard)
359 define Package/luci-app-firewall
360 $(call Package/luci/webtemplate)
361 DEPENDS+=+luci-admin-core
362 TITLE:=Firewall and Portforwarding application
365 define Package/luci-app-firewall/install
366 $(call Package/luci/install/template,$(1),applications/luci-fw)
370 define Package/luci-app-olsr
371 $(call Package/luci/webtemplate)
372 DEPENDS+=+luci-admin-full +olsrd-luci +olsrd-luci-mod-txtinfo
373 TITLE:=OLSR configuration and status module
376 define Package/luci-app-olsr/install
377 $(call Package/luci/install/template,$(1),applications/luci-olsr)
381 define Package/luci-app-qos
382 $(call Package/luci/webtemplate)
383 DEPENDS+=+luci-admin-core +qos-scripts
384 TITLE:=Quality of Service configuration module
387 define Package/luci-app-qos/install
388 $(call Package/luci/install/template,$(1),applications/luci-qos)
392 define Package/luci-app-splash
393 $(call Package/luci/fftemplate)
395 TITLE:=Freifunk DHCP-Splash application
398 define Package/luci-app-splash/conffiles
399 /etc/config/luci_splash
402 define Package/luci-app-splash/install
403 $(call Package/luci/install/template,$(1),applications/luci-splash)
407 define Package/luci-app-statistics
408 $(call Package/luci/webtemplate)
409 DEPENDS+=+luci-admin-full +collectd +collectd-mod-rrdtool1 +rrdtool1
410 TITLE:=LuCI Statistics Application
413 define Package/luci-app-statistics/conffiles
414 /etc/config/luci_statistics
417 define Package/luci-app-statistics/install
418 $(call Package/luci/install/template,$(1),applications/luci-statistics)
422 define Package/luci-app-upnp
423 $(call Package/luci/webtemplate)
424 DEPENDS+=+luci-admin-core +miniupnpd
425 TITLE:=Universal Plug & Play configuration module
428 define Package/luci-app-upnp/install
429 $(call Package/luci/install/template,$(1),applications/luci-upnp)
433 define Package/luci-app-ntpc
434 $(call Package/luci/webtemplate)
435 DEPENDS+=+luci-admin-core +ntpclient
436 TITLE:=NTP time synchronisation client configuration module
439 define Package/luci-app-ntpc/install
440 $(call Package/luci/install/template,$(1),applications/luci-ntpc)
444 define Package/luci-app-ddns
445 $(call Package/luci/webtemplate)
446 DEPENDS+=+luci-admin-core +ddns-scripts
447 TITLE:=Dynamic DNS configuration module
450 define Package/luci-app-ddns/install
451 $(call Package/luci/install/template,$(1),applications/luci-ddns)
455 define Package/luci-app-samba
456 $(call Package/luci/webtemplate)
457 DEPENDS+=+luci-admin-full +samba3
458 TITLE:=Network Shares - Samba SMB/CIFS module
461 define Package/luci-app-samba/install
462 $(call Package/luci/install/template,$(1),applications/luci-samba)
466 define Package/luci-app-uvc_streamer
467 $(call Package/luci/webtemplate)
468 DEPENDS+=+luci-admin-full +uvc-streamer
469 TITLE:=Webcam Streaming - UVC-Streamer module
472 define Package/luci-app-uvc_streamer/install
473 $(call Package/luci/install/template,$(1),applications/luci-uvc_streamer)
477 define Package/luci-app-mmc_over_gpio
478 $(call Package/luci/webtemplate)
479 DEPENDS+=+luci-admin-full +kmod-mmc-over-gpio
483 define Package/luci-app-mmc_over_gpio/install
484 $(call Package/luci/install/template,$(1),applications/luci-mmc_over_gpio)
488 define Package/luci-app-p910nd
489 $(call Package/luci/webtemplate)
490 DEPENDS+=+luci-admin-full +p910nd
491 TITLE:=p910nd - Printer server module
494 define Package/luci-app-p910nd/install
495 $(call Package/luci/install/template,$(1),applications/luci-p910nd)
499 define Package/luci-app-ushare
500 $(call Package/luci/webtemplate)
501 DEPENDS+=+luci-admin-full +ushare
502 TITLE:=ushare - UPnP A/V & DLNA Media Server
505 define Package/luci-app-ushare/install
506 $(call Package/luci/install/template,$(1),applications/luci-ushare)
509 define Package/luci-app-hd_idle
510 $(call Package/luci/webtemplate)
511 DEPENDS+=+luci-admin-full +hd-idle
515 define Package/luci-app-hd_idle/install
516 $(call Package/luci/install/template,$(1),applications/luci-hd_idle)
519 define Package/luci-app-tinyproxy
520 $(call Package/luci/webtemplate)
521 DEPENDS+=+luci-admin-full +tinyproxy
522 TITLE:=Tinyproxy - HTTP(S)-Proxy
525 define Package/luci-app-tinyproxy/install
526 $(call Package/luci/install/template,$(1),applications/luci-tinyproxy)
529 define Package/luci-app-initmgr
530 $(call Package/luci/webtemplate)
531 DEPENDS+=+luci-admin-full
532 TITLE:=LuCI Initscript Management
535 define Package/luci-app-initmgr/install
536 $(call Package/luci/install/template,$(1),applications/luci-initmgr)
539 define Package/luci-app-livestats
540 $(call Package/luci/webtemplate)
541 DEPENDS+=+luci-admin-core +luci-admin-rpc
542 TITLE:=LuCI Realtime Statistics
545 define Package/luci-app-livestats/install
546 $(call Package/luci/install/template,$(1),applications/luci-livestats)
549 define Package/luci-app-asterisk
550 $(call Package/luci/webtemplate)
551 TITLE:=LuCI Support for Asterisk PBX
552 DEPENDS+=@BROKEN +luci-admin-core +asterisk14
555 define Package/luci-app-asterisk/install
556 $(call Package/luci/install/template,$(1),applications/luci-asterisk)
559 define Package/luci-app-polipo
560 $(call Package/luci/webtemplate)
561 TITLE:=LuCI Support for the Polipo Proxy
562 DEPENDS+=+luci-admin-core +polipo
565 define Package/luci-app-polipo/install
566 $(call Package/luci/install/template,$(1),applications/luci-polipo)
569 define Package/luci-app-openvpn
570 $(call Package/luci/webtemplate)
571 TITLE:=LuCI Support for OpenVPN
572 DEPENDS+=@BROKEN +luci-admin-core +openvpn
575 define Package/luci-app-openvpn/install
576 $(call Package/luci/install/template,$(1),applications/luci-openvpn)
580 ### Server Gateway Interfaces ###
582 define Package/luci-sgi-cgi
583 $(call Package/luci/libtemplate)
587 define Package/luci-sgi-cgi/install
588 $(call Package/luci/install/template,$(1),libs/sgi-cgi)
591 define Package/luci-sgi-luci
592 $(call Package/luci/libtemplate)
594 TITLE:=SGI for LuCIttpd
597 define Package/luci-sgi-luci/install
598 $(call Package/luci/install/template,$(1),libs/sgi-luci)
601 define Package/luci-sgi-webuci
602 $(call Package/luci/libtemplate)
603 TITLE:=SGI for Webuci
606 define Package/luci-sgi-webuci/install
607 $(call Package/luci/install/template,$(1),libs/sgi-webuci)
611 define Package/luci-theme-base
612 $(call Package/luci/thtemplate)
614 TITLE:=Common base for all themes
617 define Package/luci-theme-base/install
618 $(call Package/luci/install/template,$(1),themes/base)
621 define Package/luci-theme-fledermaus
622 $(call Package/luci/fftemplate)
624 TITLE:=Fledermaus Theme
627 define Package/luci-theme-fledermaus/install
628 $(call Package/luci/install/template,$(1),themes/fledermaus)
631 define Package/luci-theme-freifunk
632 $(call Package/luci/thtemplate)
634 MAINTAINER:=Stefan Pirwitz <stefan-at-freifunk-bno-dot-de>
635 TITLE:=alternative Freifunk Theme
638 define Package/luci-theme-freifunk/install
639 $(call Package/luci/install/template,$(1),themes/freifunk)
642 define Package/luci-theme-freifunk-bno
643 $(call Package/luci/thtemplate)
645 MAINTAINER:=Stefan Pirwitz <stefan-at-freifunk-bno-dot-de>
646 TITLE:=Freifunk Berlin Nordost Theme
649 define Package/luci-theme-freifunk-bno/install
650 $(call Package/luci/install/template,$(1),themes/freifunk-bno)
653 define Package/luci-theme-openwrt
654 $(call Package/luci/thtemplate)
655 TITLE:=OpenWrt.org (default)
656 DEPENDS:=+luci-theme-base
659 define Package/luci-theme-openwrt/install
660 $(call Package/luci/install/template,$(1),themes/openwrt.org)
663 define Package/luci-theme-openwrtlight
664 $(call Package/luci/thtemplate)
665 TITLE:=OpenWrt.org - light variant without images
666 DEPENDS:=+luci-theme-base
669 define Package/luci-theme-openwrtlight/install
670 $(call Package/luci/install/template,$(1),themes/openwrt-light)
675 define Package/luci-i18n-german
676 $(call Package/luci/i18ntemplate)
680 define Package/luci-i18n-german/install
681 $(call Package/luci/install/template,$(1),i18n/german)
685 define Package/luci-i18n-english
686 $(call Package/luci/i18ntemplate)
690 define Package/luci-i18n-english/install
691 $(call Package/luci/install/template,$(1),i18n/english)
695 define Package/luci-i18n-french
696 $(call Package/luci/i18ntemplate)
697 TITLE:=French (by Florian Fainelli)
700 define Package/luci-i18n-french/install
701 $(call Package/luci/install/template,$(1),i18n/french)
705 define Package/luci-i18n-italian
706 $(call Package/luci/i18ntemplate)
707 TITLE:=Italian (by Matteo Croce)
710 define Package/luci-i18n-italian/install
711 $(call Package/luci/install/template,$(1),i18n/italian)
715 define Package/luci-i18n-russian
716 $(call Package/luci/i18ntemplate)
717 TITLE:=Russian (by Skryabin Dmitry)
720 define Package/luci-i18n-russian/install
721 $(call Package/luci/install/template,$(1),i18n/russian)
725 define Package/luci-i18n-portuguese_brazilian
726 $(call Package/luci/i18ntemplate)
727 TITLE:=Portuguese (Brazilian) (by Carlos Cesario)
730 define Package/luci-i18n-portuguese_brazilian/install
731 $(call Package/luci/install/template,$(1),i18n/portuguese_brazilian)
736 ifneq ($(CONFIG_PACKAGE_luci-core),)
737 PKG_SELECTED_MODULES+=libs/core
739 ifneq ($(CONFIG_PACKAGE_luci-cbi),)
740 PKG_SELECTED_MODULES+=libs/cbi
742 ifneq ($(CONFIG_PACKAGE_luci-fastindex),)
743 PKG_SELECTED_MODULES+=libs/fastindex
745 ifneq ($(CONFIG_PACKAGE_luci-http),)
746 PKG_SELECTED_MODULES+=libs/http
748 ifneq ($(CONFIG_PACKAGE_luci-ipkg),)
749 PKG_SELECTED_MODULES+=libs/ipkg
751 ifneq ($(CONFIG_PACKAGE_luci-json),)
752 PKG_SELECTED_MODULES+=libs/json
754 ifneq ($(CONFIG_PACKAGE_luci-uci),)
755 PKG_SELECTED_MODULES+=libs/uci
757 ifneq ($(CONFIG_PACKAGE_luci-sys),)
758 PKG_SELECTED_MODULES+=libs/sys
760 ifneq ($(CONFIG_PACKAGE_luci-web),)
761 PKG_SELECTED_MODULES+=libs/web
763 ifneq ($(CONFIG_PACKAGE_luci-uvl),)
764 PKG_SELECTED_MODULES+=libs/uvl
767 ifneq ($(CONFIG_PACKAGE_luci-httpd),)
768 PKG_SELECTED_MODULES+=libs/lucittpd
771 ifneq ($(CONFIG_PACKAGE_luci-admin-core),)
772 PKG_SELECTED_MODULES+=modules/admin-core
774 ifneq ($(CONFIG_PACKAGE_luci-admin-mini),)
775 PKG_SELECTED_MODULES+=modules/admin-mini
777 ifneq ($(CONFIG_PACKAGE_luci-admin-full),)
778 PKG_SELECTED_MODULES+=modules/admin-full
780 ifneq ($(CONFIG_PACKAGE_luci-admin-rpc),)
781 PKG_SELECTED_MODULES+=modules/rpc
783 ifneq ($(CONFIG_PACKAGE_luci-mod-freifunk),)
784 PKG_SELECTED_MODULES+=modules/freifunk
787 ifneq ($(CONFIG_PACKAGE_luci-freifunk-community),)
788 PKG_SELECTED_MODULES+=applications/freifunk-community
791 ifneq ($(CONFIG_PACKAGE_luci-app-ffwizard-leipzig),)
792 PKG_SELECTED_MODULES+=applications/luci-ffwizard-leipzig
794 ifneq ($(CONFIG_PACKAGE_luci-app-siitwizard),)
795 PKG_SELECTED_MODULES+=applications/luci-siitwizard
797 ifneq ($(CONFIG_PACKAGE_luci-app-firewall),)
798 PKG_SELECTED_MODULES+=applications/luci-fw
800 ifneq ($(CONFIG_PACKAGE_luci-app-olsr),)
801 PKG_SELECTED_MODULES+=applications/luci-olsr
803 ifneq ($(CONFIG_PACKAGE_luci-app-qos),)
804 PKG_SELECTED_MODULES+=applications/luci-qos
806 ifneq ($(CONFIG_PACKAGE_luci-app-splash),)
807 PKG_SELECTED_MODULES+=applications/luci-splash
809 ifneq ($(CONFIG_PACKAGE_luci-app-statistics),)
810 PKG_SELECTED_MODULES+=applications/luci-statistics
812 ifneq ($(CONFIG_PACKAGE_luci-app-upnp),)
813 PKG_SELECTED_MODULES+=applications/luci-upnp
815 ifneq ($(CONFIG_PACKAGE_luci-app-ntpc),)
816 PKG_SELECTED_MODULES+=applications/luci-ntpc
818 ifneq ($(CONFIG_PACKAGE_luci-app-ddns),)
819 PKG_SELECTED_MODULES+=applications/luci-ddns
821 ifneq ($(CONFIG_PACKAGE_luci-app-samba),)
822 PKG_SELECTED_MODULES+=applications/luci-samba
824 ifneq ($(CONFIG_PACKAGE_luci-app-uvc_streamer),)
825 PKG_SELECTED_MODULES+=applications/luci-uvc_streamer
827 ifneq ($(CONFIG_PACKAGE_luci-app-mmc_over_gpio),)
828 PKG_SELECTED_MODULES+=applications/luci-mmc_over_gpio
830 ifneq ($(CONFIG_PACKAGE_luci-app-p910nd),)
831 PKG_SELECTED_MODULES+=applications/luci-p910nd
833 ifneq ($(CONFIG_PACKAGE_luci-app-ushare),)
834 PKG_SELECTED_MODULES+=applications/luci-ushare
836 ifneq ($(CONFIG_PACKAGE_luci-app-hd_idle),)
837 PKG_SELECTED_MODULES+=applications/luci-hd_idle
839 ifneq ($(CONFIG_PACKAGE_luci-app-tinyproxy),)
840 PKG_SELECTED_MODULES+=applications/luci-tinyproxy
842 ifneq ($(CONFIG_PACKAGE_luci-app-initmgr),)
843 PKG_SELECTED_MODULES+=applications/luci-initmgr
845 ifneq ($(CONFIG_PACKAGE_luci-app-livestats),)
846 PKG_SELECTED_MODULES+=applications/luci-livestats
848 ifneq ($(CONFIG_PACKAGE_luci-app-asterisk),)
849 PKG_SELECTED_MODULES+=applications/luci-asterisk
851 ifneq ($(CONFIG_PACKAGE_luci-app-polipo),)
852 PKG_SELECTED_MODULES+=applications/luci-polipo
854 ifneq ($(CONFIG_PACKAGE_luci-app-openvpn),)
855 PKG_SELECTED_MODULES+=applications/luci-openvpn
859 ifneq ($(CONFIG_PACKAGE_luci-sgi-cgi),)
860 PKG_SELECTED_MODULES+=libs/sgi-cgi
862 ifneq ($(CONFIG_PACKAGE_luci-sgi-luci),)
863 PKG_SELECTED_MODULES+=libs/sgi-luci
865 ifneq ($(CONFIG_PACKAGE_luci-sgi-webuci),)
866 PKG_SELECTED_MODULES+=libs/sgi-webuci
869 ifneq ($(CONFIG_PACKAGE_luci-theme-base),)
870 PKG_SELECTED_MODULES+=themes/base
872 ifneq ($(CONFIG_PACKAGE_luci-theme-fledermaus),)
873 PKG_SELECTED_MODULES+=themes/fledermaus
875 ifneq ($(CONFIG_PACKAGE_luci-theme-freifunk-bno),)
876 PKG_SELECTED_MODULES+=themes/freifunk-bno
878 ifneq ($(CONFIG_PACKAGE_luci-theme-freifunk),)
879 PKG_SELECTED_MODULES+=themes/freifunk
881 ifneq ($(CONFIG_PACKAGE_luci-theme-openwrt),)
882 PKG_SELECTED_MODULES+=themes/openwrt.org
884 ifneq ($(CONFIG_PACKAGE_luci-theme-openwrtlight),)
885 PKG_SELECTED_MODULES+=themes/openwrt-light
888 ifneq ($(CONFIG_PACKAGE_luci-i18n-german),)
889 PKG_SELECTED_MODULES+=i18n/german
891 ifneq ($(CONFIG_PACKAGE_luci-i18n-english),)
892 PKG_SELECTED_MODULES+=i18n/english
894 ifneq ($(CONFIG_PACKAGE_luci-i18n-french),)
895 PKG_SELECTED_MODULES+=i18n/french
897 ifneq ($(CONFIG_PACKAGE_luci-i18n-italian),)
898 PKG_SELECTED_MODULES+=i18n/italian
900 ifneq ($(CONFIG_PACKAGE_luci-i18n-russian),)
901 PKG_SELECTED_MODULES+=i18n/russian
903 ifneq ($(CONFIG_PACKAGE_luci-i18n-portuguese_brazilian),)
904 PKG_SELECTED_MODULES+=i18n/portuguese_brazilian
909 MODULES="$(PKG_SELECTED_MODULES)" \
910 LUA_TARGET="$(LUA_TARGET)" \
911 LUA_SHLIBS="-llua -lm -ldl -lcrypt" \
912 CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" \
913 LDFLAGS="$(TARGET_LDFLAGS) -L$(STAGING_DIR)/usr/lib" \
917 $(eval $(call BuildPackage,luci-core))
918 $(eval $(call BuildPackage,luci-cbi))
919 $(eval $(call BuildPackage,luci-fastindex))
920 $(eval $(call BuildPackage,luci-http))
921 $(eval $(call BuildPackage,luci-ipkg))
922 $(eval $(call BuildPackage,luci-json))
923 $(eval $(call BuildPackage,luci-uci))
924 $(eval $(call BuildPackage,luci-sys))
925 $(eval $(call BuildPackage,luci-web))
926 $(eval $(call BuildPackage,luci-uvl))
928 $(eval $(call BuildPackage,luci-httpd))
930 $(eval $(call BuildPackage,luci-admin-core))
931 $(eval $(call BuildPackage,luci-admin-mini))
932 $(eval $(call BuildPackage,luci-admin-full))
933 $(eval $(call BuildPackage,luci-admin-rpc))
934 $(eval $(call BuildPackage,luci-mod-freifunk))
936 $(eval $(call BuildPackage,luci-freifunk-community))
938 $(eval $(call BuildPackage,luci-app-ffwizard-leipzig))
939 $(eval $(call BuildPackage,luci-app-siitwizard))
940 $(eval $(call BuildPackage,luci-app-firewall))
941 $(eval $(call BuildPackage,luci-app-olsr))
942 $(eval $(call BuildPackage,luci-app-qos))
943 $(eval $(call BuildPackage,luci-app-splash))
944 $(eval $(call BuildPackage,luci-app-statistics))
945 $(eval $(call BuildPackage,luci-app-upnp))
946 $(eval $(call BuildPackage,luci-app-ntpc))
947 $(eval $(call BuildPackage,luci-app-ddns))
948 $(eval $(call BuildPackage,luci-app-samba))
949 $(eval $(call BuildPackage,luci-app-uvc_streamer))
950 $(eval $(call BuildPackage,luci-app-mmc_over_gpio))
951 $(eval $(call BuildPackage,luci-app-p910nd))
952 $(eval $(call BuildPackage,luci-app-ushare))
953 $(eval $(call BuildPackage,luci-app-hd_idle))
954 $(eval $(call BuildPackage,luci-app-tinyproxy))
955 $(eval $(call BuildPackage,luci-app-initmgr))
956 $(eval $(call BuildPackage,luci-app-livestats))
957 $(eval $(call BuildPackage,luci-app-asterisk))
958 $(eval $(call BuildPackage,luci-app-polipo))
959 $(eval $(call BuildPackage,luci-app-openvpn))
961 $(eval $(call BuildPackage,luci-sgi-cgi))
962 $(eval $(call BuildPackage,luci-sgi-luci))
963 $(eval $(call BuildPackage,luci-sgi-webuci))
965 $(eval $(call BuildPackage,luci-theme-base))
966 $(eval $(call BuildPackage,luci-theme-fledermaus))
967 $(eval $(call BuildPackage,luci-theme-freifunk))
968 $(eval $(call BuildPackage,luci-theme-freifunk-bno))
969 $(eval $(call BuildPackage,luci-theme-openwrt))
970 $(eval $(call BuildPackage,luci-theme-openwrtlight))
972 $(eval $(call BuildPackage,luci-i18n-german))
973 $(eval $(call BuildPackage,luci-i18n-english))
974 $(eval $(call BuildPackage,luci-i18n-french))
975 $(eval $(call BuildPackage,luci-i18n-italian))
976 $(eval $(call BuildPackage,luci-i18n-russian))
977 $(eval $(call BuildPackage,luci-i18n-portuguese_brazilian))