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)
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-httpclient
186 $(call Package/luci/libtemplate)
187 TITLE:=HTTP(S) client library
188 DEPENDS+=+luci-http +luci-nixio
191 define Package/luci-httpclient/install
192 $(call Package/luci/install/template,$(1),libs/httpclient)
196 define Package/luci-ipkg
197 $(call Package/luci/libtemplate)
198 TITLE:=LuCI IPKG/OPKG call abstraction library
201 define Package/luci-ipkg/install
202 $(call Package/luci/install/template,$(1),libs/ipkg)
206 define Package/luci-json
207 $(call Package/luci/libtemplate)
208 TITLE:=LuCI JSON Library
211 define Package/luci-json/install
212 $(call Package/luci/install/template,$(1),libs/json)
219 define Package/luci-nixio
220 $(call Package/luci/libtemplate)
221 TITLE:=NIXIO Socket Library
225 define Package/luci-nixio/install
226 $(call Package/luci/install/template,$(1),libs/nixio)
229 define Package/luci-nixio/config
231 prompt "TLS Provider"
232 default PACKAGE_luci-nixio_axtls
234 config PACKAGE_luci-nixio_axtls
235 bool "Builtin (axTLS)"
236 select PACKAGE_dropbear
237 select PACKAGE_dropbearconvert
239 config PACKAGE_luci-nixio_openssl
241 select PACKAGE_libopenssl
245 ifneq ($(CONFIG_PACKAGE_luci-nixio_openssl),)
250 define Package/luci-sys
251 $(call Package/luci/libtemplate)
252 TITLE:=LuCI Linux/POSIX system library
255 define Package/luci-sys/install
256 $(call Package/luci/install/template,$(1),libs/sys)
260 define Package/luci-web
261 $(call Package/luci/libtemplate)
262 DEPENDS+=+luci-http +luci-sys +luci-uci +luci-sgi-cgi
263 TITLE:=MVC Webframework
264 $(call Config,luci.main.lang,string,en,Default Language)
267 define Package/luci-web/conffiles
271 define Package/luci-web/install
272 $(call Package/luci/install/template,$(1),libs/web)
276 define Package/luci-uvl
277 $(call Package/luci/libtemplate)
278 DEPENDS+=+luci-sys +luci-uci +luci-core
279 TITLE:=UVL - UCI Validation Layer
282 define Package/luci-uvl/install
283 $(call Package/luci/install/template,$(1),libs/uvl)
290 define Package/luci-httpd
291 $(call Package/luci/httpdtemplate)
292 DEPENDS:=+luci-http +libuci
296 define Package/luci-httpd/install
297 $(call Package/luci/install/template,$(1),libs/lucittpd)
302 ### Community Packages ###
304 define Package/luci-freifunk-community
305 $(call Package/luci/fftemplate)
307 +luci-sgi-cgi +luci-app-splash \
308 +luci-app-ffwizard-leipzig \
310 +PACKAGE_luci-freifunk-community:olsrd-luci +PACKAGE_luci-freifunk-community:olsrd-luci-mod-dyn-gw-plain \
311 +PACKAGE_luci-freifunk-community:olsrd-luci-mod-txtinfo +PACKAGE_luci-freifunk-community:olsrd-luci-mod-nameservice \
312 +PACKAGE_luci-freifunk-community:kmod-tun +PACKAGE_luci-freifunk-community:ip \
314 TITLE:=Freifunk Community Meta-Package
317 define Package/luci-freifunk-community/install
318 $(call Package/luci/install/template,$(1),applications/freifunk-community)
323 define Package/luci-admin-core
324 $(call Package/luci/webtemplate)
325 DEPENDS+=+luci-web +luci-cbi +luci-theme-openwrt +luci-i18n-english
326 TITLE:=Web UI Core Module
329 define Package/luci-admin-core/conffiles
330 /etc/config/luci_hosts
331 /etc/config/luci_ethers
334 define Package/luci-admin-core/install
335 $(call Package/luci/install/template,$(1),modules/admin-core)
336 touch $(1)/etc/init.d/luci_fixtime || true
340 define Package/luci-admin-mini
341 $(call Package/luci/webtemplate)
342 DEPENDS+=+luci-admin-core
343 TITLE:=LuCI Essentials - stripped down and user-friendly
346 define Package/luci-admin-mini/install
347 $(call Package/luci/install/template,$(1),modules/admin-mini)
351 define Package/luci-admin-full
352 $(call Package/luci/webtemplate)
353 DEPENDS+=+luci-admin-core +luci-ipkg
354 TITLE:=LuCI Administration - full-featured for full control
357 define Package/luci-admin-full/install
358 $(call Package/luci/install/template,$(1),modules/admin-full)
362 define Package/luci-admin-rpc
363 $(call Package/luci/webtemplate)
365 TITLE:=LuCI RPC - JSON-RPC API
368 define Package/luci-admin-rpc/install
369 $(call Package/luci/install/template,$(1),modules/rpc)
373 define Package/luci-mod-freifunk
374 $(call Package/luci/fftemplate)
375 DEPENDS:=+luci-admin-full +luci-json
376 TITLE:=LuCI Freifunk module
379 define Package/luci-mod-freifunk/conffiles
383 define Package/luci-mod-freifunk/install
384 $(call Package/luci/install/template,$(1),modules/freifunk)
391 define Package/luci-app-ffwizard-leipzig
392 $(call Package/luci/fftemplate)
393 TITLE:=Freifunk Leipzig configuration wizard
396 define Package/luci-app-ffwizard-leipzig/install
397 $(call Package/luci/install/template,$(1),applications/luci-ffwizard-leipzig)
401 define Package/luci-app-siitwizard
402 $(call Package/luci/fftemplate)
403 TITLE:=SIIT IPv4-over-IPv6 configuration wizard
404 DEPENDS:=+luci-admin-core +PACKAGE_luci-app-siitwizard:kmod-siit
407 define Package/luci-app-siitwizard/install
408 $(call Package/luci/install/template,$(1),applications/luci-siitwizard)
412 define Package/luci-app-firewall
413 $(call Package/luci/webtemplate)
414 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-firewall:firewall
415 TITLE:=Firewall and Portforwarding application
418 define Package/luci-app-firewall/install
419 $(call Package/luci/install/template,$(1),applications/luci-fw)
423 define Package/luci-app-olsr
424 $(call Package/luci/webtemplate)
425 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-olsr:olsrd-luci +PACKAGE_luci-app-olsr:olsrd-luci-mod-txtinfo
426 TITLE:=OLSR configuration and status module
429 define Package/luci-app-olsr/install
430 $(call Package/luci/install/template,$(1),applications/luci-olsr)
434 define Package/luci-app-qos
435 $(call Package/luci/webtemplate)
436 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-qos:qos-scripts
437 TITLE:=Quality of Service configuration module
440 define Package/luci-app-qos/install
441 $(call Package/luci/install/template,$(1),applications/luci-qos)
445 define Package/luci-app-splash
446 $(call Package/luci/fftemplate)
447 DEPENDS+=+PACKAGE_luci-app-splash:luasocket
448 TITLE:=Freifunk DHCP-Splash application
451 define Package/luci-app-splash/conffiles
452 /etc/config/luci_splash
455 define Package/luci-app-splash/install
456 $(call Package/luci/install/template,$(1),applications/luci-splash)
460 define Package/luci-app-statistics
461 $(call Package/luci/webtemplate)
462 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-statistics:collectd \
463 +PACKAGE_luci-app-statistics:rrdtool1 \
464 +PACKAGE_luci-app-statistics:collectd-mod-rrdtool1 \
465 +PACKAGE_luci-app-statistics:collectd-mod-wireless \
466 +PACKAGE_luci-app-statistics:collectd-mod-interfaces \
467 +PACKAGE_luci-app-statistics:collectd-mod-load
468 TITLE:=LuCI Statistics Application
471 define Package/luci-app-statistics/conffiles
472 /etc/config/luci_statistics
475 define Package/luci-app-statistics/install
476 $(call Package/luci/install/template,$(1),applications/luci-statistics)
480 define Package/luci-app-upnp
481 $(call Package/luci/webtemplate)
482 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-upnp:miniupnpd
483 TITLE:=Universal Plug & Play configuration module
486 define Package/luci-app-upnp/install
487 $(call Package/luci/install/template,$(1),applications/luci-upnp)
491 define Package/luci-app-ntpc
492 $(call Package/luci/webtemplate)
493 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-ntpc:ntpclient
494 TITLE:=NTP time synchronisation client configuration module
497 define Package/luci-app-ntpc/install
498 $(call Package/luci/install/template,$(1),applications/luci-ntpc)
502 define Package/luci-app-ddns
503 $(call Package/luci/webtemplate)
504 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-ddns:ddns-scripts
505 TITLE:=Dynamic DNS configuration module
508 define Package/luci-app-ddns/install
509 $(call Package/luci/install/template,$(1),applications/luci-ddns)
513 define Package/luci-app-samba
514 $(call Package/luci/webtemplate)
515 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-samba:samba3
516 TITLE:=Network Shares - Samba SMB/CIFS module
519 define Package/luci-app-samba/install
520 $(call Package/luci/install/template,$(1),applications/luci-samba)
524 define Package/luci-app-uvc_streamer
525 $(call Package/luci/webtemplate)
526 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-uvc_streamer:uvc-streamer
527 TITLE:=Webcam Streaming - UVC-Streamer module
530 define Package/luci-app-uvc_streamer/install
531 $(call Package/luci/install/template,$(1),applications/luci-uvc_streamer)
535 define Package/luci-app-mmc_over_gpio
536 $(call Package/luci/webtemplate)
537 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-mmc_over_gpio:kmod-mmc-over-gpio
541 define Package/luci-app-mmc_over_gpio/install
542 $(call Package/luci/install/template,$(1),applications/luci-mmc_over_gpio)
546 define Package/luci-app-p910nd
547 $(call Package/luci/webtemplate)
548 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-p910nd:p910nd
549 TITLE:=p910nd - Printer server module
552 define Package/luci-app-p910nd/install
553 $(call Package/luci/install/template,$(1),applications/luci-p910nd)
557 define Package/luci-app-ushare
558 $(call Package/luci/webtemplate)
559 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-ushare:ushare
560 TITLE:=ushare - UPnP A/V & DLNA Media Server
563 define Package/luci-app-ushare/install
564 $(call Package/luci/install/template,$(1),applications/luci-ushare)
567 define Package/luci-app-hd_idle
568 $(call Package/luci/webtemplate)
569 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-hd_idle:hd-idle
573 define Package/luci-app-hd_idle/install
574 $(call Package/luci/install/template,$(1),applications/luci-hd_idle)
577 define Package/luci-app-tinyproxy
578 $(call Package/luci/webtemplate)
579 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-tinyproxy:tinyproxy
580 TITLE:=Tinyproxy - HTTP(S)-Proxy
583 define Package/luci-app-tinyproxy/install
584 $(call Package/luci/install/template,$(1),applications/luci-tinyproxy)
587 define Package/luci-app-initmgr
588 $(call Package/luci/webtemplate)
589 DEPENDS+=+luci-admin-full
590 TITLE:=LuCI Initscript Management
593 define Package/luci-app-initmgr/install
594 $(call Package/luci/install/template,$(1),applications/luci-initmgr)
597 define Package/luci-app-livestats
598 $(call Package/luci/webtemplate)
599 DEPENDS+=+luci-admin-core +luci-admin-rpc
600 TITLE:=LuCI Realtime Statistics
603 define Package/luci-app-livestats/install
604 $(call Package/luci/install/template,$(1),applications/luci-livestats)
607 define Package/luci-app-asterisk
608 $(call Package/luci/webtemplate)
609 TITLE:=LuCI Support for Asterisk PBX
610 DEPENDS+=@BROKEN +luci-admin-core +PACKAGE_luci-app-asterisk:asterisk14-xip-core
613 define Package/luci-app-asterisk/install
614 $(call Package/luci/install/template,$(1),applications/luci-asterisk)
617 define Package/luci-app-polipo
618 $(call Package/luci/webtemplate)
619 TITLE:=LuCI Support for the Polipo Proxy
620 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-polipo:polipo
623 define Package/luci-app-polipo/install
624 $(call Package/luci/install/template,$(1),applications/luci-polipo)
627 define Package/luci-app-openvpn
628 $(call Package/luci/webtemplate)
629 TITLE:=LuCI Support for OpenVPN
630 DEPENDS+=@BROKEN +luci-admin-core +PACKAGE_luci-app-openvpn:openvpn
633 define Package/luci-app-openvpn/install
634 $(call Package/luci/install/template,$(1),applications/luci-openvpn)
638 ### Server Gateway Interfaces ###
640 define Package/luci-sgi-cgi
641 $(call Package/luci/libtemplate)
645 define Package/luci-sgi-cgi/install
646 $(call Package/luci/install/template,$(1),libs/sgi-cgi)
649 define Package/luci-sgi-luci
650 $(call Package/luci/libtemplate)
652 TITLE:=SGI for LuCIttpd
655 define Package/luci-sgi-luci/install
656 $(call Package/luci/install/template,$(1),libs/sgi-luci)
659 define Package/luci-sgi-webuci
660 $(call Package/luci/libtemplate)
661 TITLE:=SGI for Webuci
664 define Package/luci-sgi-webuci/install
665 $(call Package/luci/install/template,$(1),libs/sgi-webuci)
669 define Package/luci-theme-base
670 $(call Package/luci/thtemplate)
672 TITLE:=Common base for all themes
675 define Package/luci-theme-base/install
676 $(call Package/luci/install/template,$(1),themes/base)
679 define Package/luci-theme-fledermaus
680 $(call Package/luci/fftemplate)
682 TITLE:=Fledermaus Theme
685 define Package/luci-theme-fledermaus/install
686 $(call Package/luci/install/template,$(1),themes/fledermaus)
689 define Package/luci-theme-freifunk
690 $(call Package/luci/fftemplate)
692 MAINTAINER:=Stefan Pirwitz <stefan-at-freifunk-bno-dot-de>
693 TITLE:=alternative Freifunk Theme
696 define Package/luci-theme-freifunk/install
697 $(call Package/luci/install/template,$(1),themes/freifunk)
700 define Package/luci-theme-freifunk-bno
701 $(call Package/luci/fftemplate)
703 MAINTAINER:=Stefan Pirwitz <stefan-at-freifunk-bno-dot-de>
704 TITLE:=Freifunk Berlin Nordost Theme
707 define Package/luci-theme-freifunk-bno/install
708 $(call Package/luci/install/template,$(1),themes/freifunk-bno)
711 define Package/luci-theme-openwrt
712 $(call Package/luci/thtemplate)
713 TITLE:=OpenWrt.org (default)
714 DEPENDS:=+luci-theme-base
717 define Package/luci-theme-openwrt/install
718 $(call Package/luci/install/template,$(1),themes/openwrt.org)
721 define Package/luci-theme-openwrtlight
722 $(call Package/luci/thtemplate)
723 TITLE:=OpenWrt.org - light variant without images
724 DEPENDS:=+luci-theme-base
727 define Package/luci-theme-openwrtlight/install
728 $(call Package/luci/install/template,$(1),themes/openwrt-light)
733 define Package/luci-i18n-german
734 $(call Package/luci/i18ntemplate)
738 define Package/luci-i18n-german/install
739 $(call Package/luci/install/template,$(1),i18n/german)
743 define Package/luci-i18n-english
744 $(call Package/luci/i18ntemplate)
748 define Package/luci-i18n-english/install
749 $(call Package/luci/install/template,$(1),i18n/english)
753 define Package/luci-i18n-french
754 $(call Package/luci/i18ntemplate)
755 TITLE:=French (by Florian Fainelli)
758 define Package/luci-i18n-french/install
759 $(call Package/luci/install/template,$(1),i18n/french)
763 define Package/luci-i18n-italian
764 $(call Package/luci/i18ntemplate)
765 TITLE:=Italian (by Matteo Croce)
768 define Package/luci-i18n-italian/install
769 $(call Package/luci/install/template,$(1),i18n/italian)
773 define Package/luci-i18n-russian
774 $(call Package/luci/i18ntemplate)
775 TITLE:=Russian (by Skryabin Dmitry)
778 define Package/luci-i18n-russian/install
779 $(call Package/luci/install/template,$(1),i18n/russian)
783 define Package/luci-i18n-portuguese_brazilian
784 $(call Package/luci/i18ntemplate)
785 TITLE:=Portuguese (Brazilian) (by Carlos Cesario)
788 define Package/luci-i18n-portuguese_brazilian/install
789 $(call Package/luci/install/template,$(1),i18n/portuguese_brazilian)
794 ifneq ($(CONFIG_PACKAGE_luci-core),)
795 PKG_SELECTED_MODULES+=libs/core
797 ifneq ($(CONFIG_PACKAGE_luci-cbi),)
798 PKG_SELECTED_MODULES+=libs/cbi
800 ifneq ($(CONFIG_PACKAGE_luci-fastindex),)
801 PKG_SELECTED_MODULES+=libs/fastindex
803 ifneq ($(CONFIG_PACKAGE_luci-http),)
804 PKG_SELECTED_MODULES+=libs/http
806 ifneq ($(CONFIG_PACKAGE_luci-httpclient),)
807 PKG_SELECTED_MODULES+=libs/httpclient
809 ifneq ($(CONFIG_PACKAGE_luci-ipkg),)
810 PKG_SELECTED_MODULES+=libs/ipkg
812 ifneq ($(CONFIG_PACKAGE_luci-json),)
813 PKG_SELECTED_MODULES+=libs/json
815 ifneq ($(CONFIG_PACKAGE_luci-nixio),)
816 PKG_SELECTED_MODULES+=libs/nixio
818 ifneq ($(CONFIG_PACKAGE_luci-uci),)
819 PKG_SELECTED_MODULES+=libs/uci
821 ifneq ($(CONFIG_PACKAGE_luci-sys),)
822 PKG_SELECTED_MODULES+=libs/sys
824 ifneq ($(CONFIG_PACKAGE_luci-web),)
825 PKG_SELECTED_MODULES+=libs/web
827 ifneq ($(CONFIG_PACKAGE_luci-uvl),)
828 PKG_SELECTED_MODULES+=libs/uvl
831 ifneq ($(CONFIG_PACKAGE_luci-httpd),)
832 PKG_SELECTED_MODULES+=libs/lucittpd
835 ifneq ($(CONFIG_PACKAGE_luci-admin-core),)
836 PKG_SELECTED_MODULES+=modules/admin-core
838 ifneq ($(CONFIG_PACKAGE_luci-admin-mini),)
839 PKG_SELECTED_MODULES+=modules/admin-mini
841 ifneq ($(CONFIG_PACKAGE_luci-admin-full),)
842 PKG_SELECTED_MODULES+=modules/admin-full
844 ifneq ($(CONFIG_PACKAGE_luci-admin-rpc),)
845 PKG_SELECTED_MODULES+=modules/rpc
847 ifneq ($(CONFIG_PACKAGE_luci-mod-freifunk),)
848 PKG_SELECTED_MODULES+=modules/freifunk
851 ifneq ($(CONFIG_PACKAGE_luci-freifunk-community),)
852 PKG_SELECTED_MODULES+=applications/freifunk-community
855 ifneq ($(CONFIG_PACKAGE_luci-app-ffwizard-leipzig),)
856 PKG_SELECTED_MODULES+=applications/luci-ffwizard-leipzig
858 ifneq ($(CONFIG_PACKAGE_luci-app-siitwizard),)
859 PKG_SELECTED_MODULES+=applications/luci-siitwizard
861 ifneq ($(CONFIG_PACKAGE_luci-app-firewall),)
862 PKG_SELECTED_MODULES+=applications/luci-fw
864 ifneq ($(CONFIG_PACKAGE_luci-app-olsr),)
865 PKG_SELECTED_MODULES+=applications/luci-olsr
867 ifneq ($(CONFIG_PACKAGE_luci-app-qos),)
868 PKG_SELECTED_MODULES+=applications/luci-qos
870 ifneq ($(CONFIG_PACKAGE_luci-app-splash),)
871 PKG_SELECTED_MODULES+=applications/luci-splash
873 ifneq ($(CONFIG_PACKAGE_luci-app-statistics),)
874 PKG_SELECTED_MODULES+=applications/luci-statistics
876 ifneq ($(CONFIG_PACKAGE_luci-app-upnp),)
877 PKG_SELECTED_MODULES+=applications/luci-upnp
879 ifneq ($(CONFIG_PACKAGE_luci-app-ntpc),)
880 PKG_SELECTED_MODULES+=applications/luci-ntpc
882 ifneq ($(CONFIG_PACKAGE_luci-app-ddns),)
883 PKG_SELECTED_MODULES+=applications/luci-ddns
885 ifneq ($(CONFIG_PACKAGE_luci-app-samba),)
886 PKG_SELECTED_MODULES+=applications/luci-samba
888 ifneq ($(CONFIG_PACKAGE_luci-app-uvc_streamer),)
889 PKG_SELECTED_MODULES+=applications/luci-uvc_streamer
891 ifneq ($(CONFIG_PACKAGE_luci-app-mmc_over_gpio),)
892 PKG_SELECTED_MODULES+=applications/luci-mmc_over_gpio
894 ifneq ($(CONFIG_PACKAGE_luci-app-p910nd),)
895 PKG_SELECTED_MODULES+=applications/luci-p910nd
897 ifneq ($(CONFIG_PACKAGE_luci-app-ushare),)
898 PKG_SELECTED_MODULES+=applications/luci-ushare
900 ifneq ($(CONFIG_PACKAGE_luci-app-hd_idle),)
901 PKG_SELECTED_MODULES+=applications/luci-hd_idle
903 ifneq ($(CONFIG_PACKAGE_luci-app-tinyproxy),)
904 PKG_SELECTED_MODULES+=applications/luci-tinyproxy
906 ifneq ($(CONFIG_PACKAGE_luci-app-initmgr),)
907 PKG_SELECTED_MODULES+=applications/luci-initmgr
909 ifneq ($(CONFIG_PACKAGE_luci-app-livestats),)
910 PKG_SELECTED_MODULES+=applications/luci-livestats
912 ifneq ($(CONFIG_PACKAGE_luci-app-asterisk),)
913 PKG_SELECTED_MODULES+=applications/luci-asterisk
915 ifneq ($(CONFIG_PACKAGE_luci-app-polipo),)
916 PKG_SELECTED_MODULES+=applications/luci-polipo
918 ifneq ($(CONFIG_PACKAGE_luci-app-openvpn),)
919 PKG_SELECTED_MODULES+=applications/luci-openvpn
923 ifneq ($(CONFIG_PACKAGE_luci-sgi-cgi),)
924 PKG_SELECTED_MODULES+=libs/sgi-cgi
926 ifneq ($(CONFIG_PACKAGE_luci-sgi-luci),)
927 PKG_SELECTED_MODULES+=libs/sgi-luci
929 ifneq ($(CONFIG_PACKAGE_luci-sgi-webuci),)
930 PKG_SELECTED_MODULES+=libs/sgi-webuci
933 ifneq ($(CONFIG_PACKAGE_luci-theme-base),)
934 PKG_SELECTED_MODULES+=themes/base
936 ifneq ($(CONFIG_PACKAGE_luci-theme-fledermaus),)
937 PKG_SELECTED_MODULES+=themes/fledermaus
939 ifneq ($(CONFIG_PACKAGE_luci-theme-freifunk-bno),)
940 PKG_SELECTED_MODULES+=themes/freifunk-bno
942 ifneq ($(CONFIG_PACKAGE_luci-theme-freifunk),)
943 PKG_SELECTED_MODULES+=themes/freifunk
945 ifneq ($(CONFIG_PACKAGE_luci-theme-openwrt),)
946 PKG_SELECTED_MODULES+=themes/openwrt.org
948 ifneq ($(CONFIG_PACKAGE_luci-theme-openwrtlight),)
949 PKG_SELECTED_MODULES+=themes/openwrt-light
952 ifneq ($(CONFIG_PACKAGE_luci-i18n-german),)
953 PKG_SELECTED_MODULES+=i18n/german
955 ifneq ($(CONFIG_PACKAGE_luci-i18n-english),)
956 PKG_SELECTED_MODULES+=i18n/english
958 ifneq ($(CONFIG_PACKAGE_luci-i18n-french),)
959 PKG_SELECTED_MODULES+=i18n/french
961 ifneq ($(CONFIG_PACKAGE_luci-i18n-italian),)
962 PKG_SELECTED_MODULES+=i18n/italian
964 ifneq ($(CONFIG_PACKAGE_luci-i18n-russian),)
965 PKG_SELECTED_MODULES+=i18n/russian
967 ifneq ($(CONFIG_PACKAGE_luci-i18n-portuguese_brazilian),)
968 PKG_SELECTED_MODULES+=i18n/portuguese_brazilian
973 MODULES="$(PKG_SELECTED_MODULES)" \
974 LUA_TARGET="$(LUA_TARGET)" \
975 LUA_SHLIBS="-llua -lm -ldl -lcrypt" \
976 CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" \
977 LDFLAGS="$(TARGET_LDFLAGS) -L$(STAGING_DIR)/usr/lib" \
978 NIXIO_TLS="$(NIXIO_TLS)" OS="Linux"
981 $(eval $(call BuildPackage,luci-core))
982 $(eval $(call BuildPackage,luci-cbi))
983 $(eval $(call BuildPackage,luci-fastindex))
984 $(eval $(call BuildPackage,luci-http))
985 $(eval $(call BuildPackage,luci-httpclient))
986 $(eval $(call BuildPackage,luci-ipkg))
987 $(eval $(call BuildPackage,luci-json))
988 $(eval $(call BuildPackage,luci-nixio))
989 $(eval $(call BuildPackage,luci-uci))
990 $(eval $(call BuildPackage,luci-sys))
991 $(eval $(call BuildPackage,luci-web))
992 $(eval $(call BuildPackage,luci-uvl))
994 $(eval $(call BuildPackage,luci-httpd))
996 $(eval $(call BuildPackage,luci-admin-core))
997 $(eval $(call BuildPackage,luci-admin-mini))
998 $(eval $(call BuildPackage,luci-admin-full))
999 $(eval $(call BuildPackage,luci-admin-rpc))
1000 $(eval $(call BuildPackage,luci-mod-freifunk))
1002 $(eval $(call BuildPackage,luci-freifunk-community))
1004 $(eval $(call BuildPackage,luci-app-ffwizard-leipzig))
1005 $(eval $(call BuildPackage,luci-app-siitwizard))
1006 $(eval $(call BuildPackage,luci-app-firewall))
1007 $(eval $(call BuildPackage,luci-app-olsr))
1008 $(eval $(call BuildPackage,luci-app-qos))
1009 $(eval $(call BuildPackage,luci-app-splash))
1010 $(eval $(call BuildPackage,luci-app-statistics))
1011 $(eval $(call BuildPackage,luci-app-upnp))
1012 $(eval $(call BuildPackage,luci-app-ntpc))
1013 $(eval $(call BuildPackage,luci-app-ddns))
1014 $(eval $(call BuildPackage,luci-app-samba))
1015 $(eval $(call BuildPackage,luci-app-uvc_streamer))
1016 $(eval $(call BuildPackage,luci-app-mmc_over_gpio))
1017 $(eval $(call BuildPackage,luci-app-p910nd))
1018 $(eval $(call BuildPackage,luci-app-ushare))
1019 $(eval $(call BuildPackage,luci-app-hd_idle))
1020 $(eval $(call BuildPackage,luci-app-tinyproxy))
1021 $(eval $(call BuildPackage,luci-app-initmgr))
1022 $(eval $(call BuildPackage,luci-app-livestats))
1023 $(eval $(call BuildPackage,luci-app-asterisk))
1024 $(eval $(call BuildPackage,luci-app-polipo))
1025 $(eval $(call BuildPackage,luci-app-openvpn))
1027 $(eval $(call BuildPackage,luci-sgi-cgi))
1028 $(eval $(call BuildPackage,luci-sgi-luci))
1029 $(eval $(call BuildPackage,luci-sgi-webuci))
1031 $(eval $(call BuildPackage,luci-theme-base))
1032 $(eval $(call BuildPackage,luci-theme-fledermaus))
1033 $(eval $(call BuildPackage,luci-theme-freifunk))
1034 $(eval $(call BuildPackage,luci-theme-freifunk-bno))
1035 $(eval $(call BuildPackage,luci-theme-openwrt))
1036 $(eval $(call BuildPackage,luci-theme-openwrtlight))
1038 $(eval $(call BuildPackage,luci-i18n-german))
1039 $(eval $(call BuildPackage,luci-i18n-english))
1040 $(eval $(call BuildPackage,luci-i18n-french))
1041 $(eval $(call BuildPackage,luci-i18n-italian))
1042 $(eval $(call BuildPackage,luci-i18n-russian))
1043 $(eval $(call BuildPackage,luci-i18n-portuguese_brazilian))