1 include $(TOPDIR)/rules.mk
3 PKG_BRANCH:=branches/luci-0.9
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 $(CURDIR) | sed -ne 's/^Revision: //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
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
55 TITLE:=LuCI - Lua Configuration Interface
56 URL:=http://luci.freifunk-halle.net/
57 MAINTAINER:=Steven Barth <steven-at-midlink-dot-org>
62 define Package/luci/fftemplate
63 $(call Package/luci/libtemplate)
65 DEPENDS:=+luci-mod-freifunk
68 define Package/luci/i18ntemplate
69 $(call Package/luci/libtemplate)
74 define Package/luci/thtemplate
75 $(call Package/luci/libtemplate)
80 define Package/luci/webtemplate
81 $(call Package/luci/libtemplate)
86 define Package/luci/install/template
87 $(CP) -a $(PKG_BUILD_DIR)/$(2)/dist/* $(1)/ -R
88 $(CP) -a $(PKG_BUILD_DIR)/$(2)/ipkg/* $(1)/CONTROL/ 2>/dev/null || true
95 define Package/luci-core
96 $(call Package/luci/libtemplate)
97 DEPENDS:=+lua +luci-nixio
98 TITLE:=LuCI core libraries
101 define Package/luci-core/install
102 $(call Package/luci/install/template,$(1),libs/core)
103 $(PKG_BUILD_DIR)/build/mkversion.sh $(1)/usr/lib/lua/luci/version.lua \
105 "$(OPENWRTVERSION)" \
110 define Package/luci-core/config
112 prompt "Build Target"
113 default PACKAGE_luci-core_source
115 config PACKAGE_luci-core_compile
118 config PACKAGE_luci-core_stripped
121 config PACKAGE_luci-core_source
124 config PACKAGE_luci-core_zipped
125 bool "Precompiled and compressed"
130 ifneq ($(CONFIG_PACKAGE_luci-core_compile),)
134 ifneq ($(CONFIG_PACKAGE_luci-core_stripped),)
138 ifneq ($(CONFIG_PACKAGE_luci-core_zipped),)
144 define Package/luci-cbi
145 $(call Package/luci/libtemplate)
146 DEPENDS+=+luci-web +luci-uvl +luci-uci
147 TITLE:=Configuration Binding Interface
150 define Package/luci-cbi/install
151 $(call Package/luci/install/template,$(1),libs/cbi)
155 define Package/luci-uci
156 $(call Package/luci/libtemplate)
158 TITLE:=High-Level UCI API
161 define Package/luci-uci/install
162 $(call Package/luci/install/template,$(1),libs/uci)
166 define Package/luci-fastindex
167 $(call Package/luci/libtemplate)
168 TITLE:=Fastindex indexing module
171 define Package/luci-fastindex/install
172 $(call Package/luci/install/template,$(1),libs/fastindex)
176 define Package/luci-http
177 $(call Package/luci/libtemplate)
178 TITLE:=HTTP Protocol implementation
181 define Package/luci-http/install
182 $(call Package/luci/install/template,$(1),libs/http)
186 define Package/luci-httpclient
187 $(call Package/luci/libtemplate)
188 TITLE:=HTTP(S) client library
189 DEPENDS+=+luci-http +luci-nixio
192 define Package/luci-httpclient/install
193 $(call Package/luci/install/template,$(1),libs/httpclient)
197 define Package/luci-ipkg
198 $(call Package/luci/libtemplate)
199 TITLE:=LuCI IPKG/OPKG call abstraction library
202 define Package/luci-ipkg/install
203 $(call Package/luci/install/template,$(1),libs/ipkg)
207 define Package/luci-json
208 $(call Package/luci/libtemplate)
209 TITLE:=LuCI JSON Library
212 define Package/luci-json/install
213 $(call Package/luci/install/template,$(1),libs/json)
217 define Package/luci-luanet
218 $(call Package/luci/libtemplate)
223 define Package/luci-luanet/install
224 $(call Package/luci/install/template,$(1),libs/luanet)
228 define Package/luci-lucid
229 $(call Package/luci/libtemplate)
230 TITLE:=LuCId Superserver
231 DEPENDS+=+luci-nixio +luci-http +luci-px5g
234 define Package/luci-lucid/install
235 $(call Package/luci/install/template,$(1),libs/lucid)
236 $(call Package/luci/install/template,$(1),libs/lucid-http)
243 define Package/luci-nixio
244 $(call Package/luci/libtemplate)
245 TITLE:=NIXIO POSIX Library
249 define Package/luci-nixio/install
250 $(call Package/luci/install/template,$(1),libs/nixio)
253 define Package/luci-nixio/config
255 prompt "TLS Provider"
256 default PACKAGE_luci-nixio_axtls
258 config PACKAGE_luci-nixio_axtls
259 bool "Builtin (axTLS)"
261 config PACKAGE_luci-nixio_cyassl
263 select PACKAGE_libcyassl-luci
265 config PACKAGE_luci-nixio_openssl
267 select PACKAGE_libopenssl
271 ifneq ($(CONFIG_PACKAGE_luci-nixio_openssl),)
275 ifneq ($(CONFIG_PACKAGE_luci-nixio_cyassl),)
277 LUCI_CFLAGS+=-I$(STAGING_DIR)/usr/include/cyassl
281 define Package/luci-px5g
282 $(call Package/luci/libtemplate)
283 TITLE:=PX5G RSA Keymaster
287 define Package/luci-px5g/install
288 $(call Package/luci/install/template,$(1),libs/px5g)
292 define Package/luci-sys
293 $(call Package/luci/libtemplate)
294 TITLE:=LuCI Linux/POSIX system library
297 define Package/luci-sys/install
298 $(call Package/luci/install/template,$(1),libs/sys)
302 define Package/luci-web
303 $(call Package/luci/libtemplate)
304 DEPENDS+=+luci-http +luci-sys +luci-uci +luci-lucid +luci-sgi-cgi
305 TITLE:=MVC Webframework
306 $(call Config,luci.main.lang,string,en,Default Language)
309 define Package/luci-web/conffiles
313 define Package/luci-web/install
314 $(call Package/luci/install/template,$(1),libs/web)
318 define Package/luci-uvl
319 $(call Package/luci/libtemplate)
320 DEPENDS+=+luci-sys +luci-uci +luci-core
321 TITLE:=UVL - UCI Validation Layer
324 define Package/luci-uvl/install
325 $(call Package/luci/install/template,$(1),libs/uvl)
330 ### Community Packages ###
332 define Package/luci-freifunk-community
333 $(call Package/luci/fftemplate)
335 +luci-lucid +luci-sgi-cgi +luci-app-splash \
336 +luci-app-ffwizard-leipzig \
338 +PACKAGE_luci-freifunk-community:olsrd-luci +PACKAGE_luci-freifunk-community:olsrd-luci-mod-dyn-gw-plain \
339 +PACKAGE_luci-freifunk-community:olsrd-luci-mod-txtinfo +PACKAGE_luci-freifunk-community:olsrd-luci-mod-nameservice \
340 +PACKAGE_luci-freifunk-community:olsrd-luci-mod-watchdog +PACKAGE_luci-freifunk-community:kmod-tun \
341 +PACKAGE_luci-freifunk-community:ip +PACKAGE_luci-freifunk-community:freifunk-watchdog +luci-app-olsr
342 TITLE:=Freifunk Community Meta-Package
345 define Package/luci-freifunk-community/install
346 $(call Package/luci/install/template,$(1),applications/freifunk-community)
351 define Package/luci-admin-core
352 $(call Package/luci/webtemplate)
353 DEPENDS+=+luci-web +luci-cbi +luci-i18n-english
354 TITLE:=Web UI Core Module
357 define Package/luci-admin-core/conffiles
358 /etc/config/luci_hosts
359 /etc/config/luci_ethers
362 define Package/luci-admin-core/install
363 $(call Package/luci/install/template,$(1),modules/admin-core)
364 touch $(1)/etc/init.d/luci_fixtime || true
368 define Package/luci-admin-mini
369 $(call Package/luci/webtemplate)
370 DEPENDS+=+luci-admin-core
371 TITLE:=LuCI Essentials - stripped down and user-friendly
374 define Package/luci-admin-mini/install
375 $(call Package/luci/install/template,$(1),modules/admin-mini)
379 define Package/luci-admin-full
380 $(call Package/luci/webtemplate)
381 DEPENDS+=+luci-admin-core +luci-ipkg
382 TITLE:=LuCI Administration - full-featured for full control
385 define Package/luci-admin-full/install
386 $(call Package/luci/install/template,$(1),modules/admin-full)
390 define Package/luci-admin-rpc
391 $(call Package/luci/webtemplate)
393 TITLE:=LuCI RPC - JSON-RPC API
396 define Package/luci-admin-rpc/install
397 $(call Package/luci/install/template,$(1),modules/rpc)
401 define Package/luci-mod-freifunk
402 $(call Package/luci/fftemplate)
403 DEPENDS:=+luci-admin-full +luci-json +PACKAGE_luci-mod-freifunk:freifunk-firewall
404 TITLE:=LuCI Freifunk module
407 define Package/luci-mod-freifunk/conffiles
411 define Package/luci-mod-freifunk/install
412 $(call Package/luci/install/template,$(1),modules/freifunk)
419 define Package/luci-app-ffwizard-leipzig
420 $(call Package/luci/fftemplate)
421 TITLE:=Freifunk Leipzig configuration wizard
424 define Package/luci-app-ffwizard-leipzig/install
425 $(call Package/luci/install/template,$(1),applications/luci-ffwizard-leipzig)
429 define Package/luci-app-siitwizard
430 $(call Package/luci/fftemplate)
431 TITLE:=SIIT IPv4-over-IPv6 configuration wizard
432 DEPENDS:=+luci-admin-core +PACKAGE_luci-app-siitwizard:kmod-siit
435 define Package/luci-app-siitwizard/install
436 $(call Package/luci/install/template,$(1),applications/luci-siitwizard)
440 define Package/luci-app-firewall
441 $(call Package/luci/webtemplate)
442 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-firewall:firewall
443 TITLE:=Firewall and Portforwarding application
446 define Package/luci-app-firewall/install
447 $(call Package/luci/install/template,$(1),applications/luci-fw)
451 define Package/luci-app-olsr
452 $(call Package/luci/webtemplate)
453 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-olsr:olsrd-luci \
454 +PACKAGE_luci-app-olsr:olsrd-luci-mod-txtinfo
455 TITLE:=OLSR configuration and status module
458 define Package/luci-app-olsr/install
459 $(call Package/luci/install/template,$(1),applications/luci-olsr)
463 define Package/luci-app-qos
464 $(call Package/luci/webtemplate)
465 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-qos:qos-scripts
466 TITLE:=Quality of Service configuration module
469 define Package/luci-app-qos/install
470 $(call Package/luci/install/template,$(1),applications/luci-qos)
474 define Package/luci-app-splash
475 $(call Package/luci/fftemplate)
476 DEPENDS+=+PACKAGE_luci-app-splash:luci-nixio \
477 +PACKAGE_luci-app-splash:tc +PACKAGE_luci-app-splash:kmod-sched \
478 +PACKAGE_luci-app-splash:iptables-mod-nat-extra \
479 +PACKAGE_luci-app-splash:iptables-mod-ipopt
480 TITLE:=Freifunk DHCP-Splash application
483 define Package/luci-app-splash/conffiles
484 /etc/config/luci_splash
487 define Package/luci-app-splash/install
488 $(call Package/luci/install/template,$(1),applications/luci-splash)
492 define Package/luci-app-statistics
493 $(call Package/luci/webtemplate)
494 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-statistics:collectd \
495 +PACKAGE_luci-app-statistics:rrdtool1 \
496 +PACKAGE_luci-app-statistics:collectd-mod-rrdtool1 \
497 +PACKAGE_luci-app-statistics:collectd-mod-wireless \
498 +PACKAGE_luci-app-statistics:collectd-mod-interface \
499 +PACKAGE_luci-app-statistics:collectd-mod-load
500 TITLE:=LuCI Statistics Application
503 define Package/luci-app-statistics/conffiles
504 /etc/config/luci_statistics
507 define Package/luci-app-statistics/install
508 $(call Package/luci/install/template,$(1),applications/luci-statistics)
512 define Package/luci-app-upnp
513 $(call Package/luci/webtemplate)
514 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-upnp:miniupnpd
515 TITLE:=Universal Plug & Play configuration module
518 define Package/luci-app-upnp/install
519 $(call Package/luci/install/template,$(1),applications/luci-upnp)
523 define Package/luci-app-ntpc
524 $(call Package/luci/webtemplate)
525 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-ntpc:ntpclient
526 TITLE:=NTP time synchronisation client configuration module
529 define Package/luci-app-ntpc/install
530 $(call Package/luci/install/template,$(1),applications/luci-ntpc)
534 define Package/luci-app-ddns
535 $(call Package/luci/webtemplate)
536 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-ddns:ddns-scripts
537 TITLE:=Dynamic DNS configuration module
540 define Package/luci-app-ddns/install
541 $(call Package/luci/install/template,$(1),applications/luci-ddns)
545 define Package/luci-app-samba
546 $(call Package/luci/webtemplate)
547 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-samba:samba3
548 TITLE:=Network Shares - Samba SMB/CIFS module
551 define Package/luci-app-samba/install
552 $(call Package/luci/install/template,$(1),applications/luci-samba)
556 define Package/luci-app-uvc_streamer
557 $(call Package/luci/webtemplate)
558 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-uvc_streamer:uvc-streamer
559 TITLE:=Webcam Streaming - UVC-Streamer module
562 define Package/luci-app-uvc_streamer/install
563 $(call Package/luci/install/template,$(1),applications/luci-uvc_streamer)
567 define Package/luci-app-mmc_over_gpio
568 $(call Package/luci/webtemplate)
569 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-mmc_over_gpio:kmod-mmc-over-gpio
573 define Package/luci-app-mmc_over_gpio/install
574 $(call Package/luci/install/template,$(1),applications/luci-mmc_over_gpio)
578 define Package/luci-app-p910nd
579 $(call Package/luci/webtemplate)
580 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-p910nd:p910nd
581 TITLE:=p910nd - Printer server module
584 define Package/luci-app-p910nd/install
585 $(call Package/luci/install/template,$(1),applications/luci-p910nd)
589 define Package/luci-app-ushare
590 $(call Package/luci/webtemplate)
591 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-ushare:ushare
592 TITLE:=ushare - UPnP A/V & DLNA Media Server
595 define Package/luci-app-ushare/install
596 $(call Package/luci/install/template,$(1),applications/luci-ushare)
599 define Package/luci-app-hd_idle
600 $(call Package/luci/webtemplate)
601 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-hd_idle:hd-idle
605 define Package/luci-app-hd_idle/install
606 $(call Package/luci/install/template,$(1),applications/luci-hd_idle)
609 define Package/luci-app-tinyproxy
610 $(call Package/luci/webtemplate)
611 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-tinyproxy:tinyproxy
612 TITLE:=Tinyproxy - HTTP(S)-Proxy
615 define Package/luci-app-tinyproxy/install
616 $(call Package/luci/install/template,$(1),applications/luci-tinyproxy)
619 define Package/luci-app-initmgr
620 $(call Package/luci/webtemplate)
621 DEPENDS+=+luci-admin-full
622 TITLE:=LuCI Initscript Management
625 define Package/luci-app-initmgr/install
626 $(call Package/luci/install/template,$(1),applications/luci-initmgr)
629 define Package/luci-app-livestats
630 $(call Package/luci/webtemplate)
631 DEPENDS+=+luci-admin-core +luci-admin-rpc
632 TITLE:=LuCI Realtime Statistics
635 define Package/luci-app-livestats/install
636 $(call Package/luci/install/template,$(1),applications/luci-livestats)
639 define Package/luci-app-polipo
640 $(call Package/luci/webtemplate)
641 TITLE:=LuCI Support for the Polipo Proxy
642 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-polipo:polipo
645 define Package/luci-app-polipo/install
646 $(call Package/luci/install/template,$(1),applications/luci-polipo)
649 define Package/luci-app-openvpn
650 $(call Package/luci/webtemplate)
651 TITLE:=LuCI Support for OpenVPN
652 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-openvpn:openvpn
655 define Package/luci-app-openvpn/install
656 $(call Package/luci/install/template,$(1),applications/luci-openvpn)
659 define Package/luci-app-p2pblock
660 $(call Package/luci/webtemplate)
661 TITLE:=LuCI Support for the Freifunk P2P-Block addon
662 DEPENDS+=+luci-admin-core +luci-app-firewall \
663 +PACKAGE_luci-app-p2pblock:freifunk-p2pblock
666 define Package/luci-app-p2pblock/install
667 $(call Package/luci/install/template,$(1),applications/luci-p2pblock)
671 ### Server Gateway Interfaces ###
673 define Package/luci-sgi-cgi
674 $(call Package/luci/libtemplate)
678 define Package/luci-sgi-cgi/install
679 $(call Package/luci/install/template,$(1),libs/sgi-cgi)
683 define Package/luci-theme-base
684 $(call Package/luci/thtemplate)
686 TITLE:=Common base for all themes
689 define Package/luci-theme-base/install
690 $(call Package/luci/install/template,$(1),themes/base)
693 define Package/luci-theme-fledermaus
694 $(call Package/luci/fftemplate)
696 TITLE:=Fledermaus Theme
699 define Package/luci-theme-fledermaus/install
700 $(call Package/luci/install/template,$(1),themes/fledermaus)
703 define Package/luci-theme-freifunk
704 $(call Package/luci/fftemplate)
706 MAINTAINER:=Stefan Pirwitz <stefan-at-freifunk-bno-dot-de>
707 TITLE:=alternative Freifunk Theme
710 define Package/luci-theme-freifunk/install
711 $(call Package/luci/install/template,$(1),themes/freifunk)
714 define Package/luci-theme-freifunk-bno
715 $(call Package/luci/fftemplate)
717 MAINTAINER:=Stefan Pirwitz <stefan-at-freifunk-bno-dot-de>
718 TITLE:=Freifunk Berlin Nordost Theme
721 define Package/luci-theme-freifunk-bno/install
722 $(call Package/luci/install/template,$(1),themes/freifunk-bno)
725 define Package/luci-theme-freifunk-hannover
726 $(call Package/luci/fftemplate)
728 MAINTAINER:=Mikolas Bingemer <mickey-at-freifunk-hannover-dot-de>
729 TITLE:=Freifunk Hannover Theme
732 define Package/luci-theme-freifunk-hannover/install
733 $(call Package/luci/install/template,$(1),themes/freifunk-hannover)
736 define Package/luci-theme-openwrt
737 $(call Package/luci/thtemplate)
738 TITLE:=OpenWrt.org (default)
739 DEPENDS:=+luci-theme-base
742 define Package/luci-theme-openwrt/install
743 $(call Package/luci/install/template,$(1),themes/openwrt.org)
746 define Package/luci-theme-openwrtlight
747 $(call Package/luci/thtemplate)
748 TITLE:=OpenWrt.org - light variant without images
749 DEPENDS:=+luci-theme-base
752 define Package/luci-theme-openwrtlight/install
753 $(call Package/luci/install/template,$(1),themes/openwrt-light)
758 define Package/luci-i18n-german
759 $(call Package/luci/i18ntemplate)
763 define Package/luci-i18n-german/install
764 $(call Package/luci/install/template,$(1),i18n/german)
768 define Package/luci-i18n-english
769 $(call Package/luci/i18ntemplate)
773 define Package/luci-i18n-english/install
774 $(call Package/luci/install/template,$(1),i18n/english)
778 define Package/luci-i18n-french
779 $(call Package/luci/i18ntemplate)
780 TITLE:=French (by Florian Fainelli)
783 define Package/luci-i18n-french/install
784 $(call Package/luci/install/template,$(1),i18n/french)
788 define Package/luci-i18n-italian
789 $(call Package/luci/i18ntemplate)
790 TITLE:=Italian (by Matteo Croce)
793 define Package/luci-i18n-italian/install
794 $(call Package/luci/install/template,$(1),i18n/italian)
798 define Package/luci-i18n-russian
799 $(call Package/luci/i18ntemplate)
800 TITLE:=Russian (by Skryabin Dmitry)
803 define Package/luci-i18n-russian/install
804 $(call Package/luci/install/template,$(1),i18n/russian)
808 define Package/luci-i18n-portuguese_brazilian
809 $(call Package/luci/i18ntemplate)
810 TITLE:=Portuguese (Brazilian) (by Carlos Cesario)
813 define Package/luci-i18n-portuguese_brazilian/install
814 $(call Package/luci/install/template,$(1),i18n/portuguese_brazilian)
818 define Package/luci-i18n-japanese
819 $(call Package/luci/i18ntemplate)
820 TITLE:=Japanese (by Tsukasa Hamano)
823 define Package/luci-i18n-japanese/install
824 $(call Package/luci/install/template,$(1),i18n/japanese)
828 define Package/luci-i18n-greek
829 $(call Package/luci/i18ntemplate)
830 TITLE:=Greek (by Vasilis Tsiligiannis)
833 define Package/luci-i18n-greek/install
834 $(call Package/luci/install/template,$(1),i18n/greek)
838 define Package/luci-i18n-catalan
839 $(call Package/luci/i18ntemplate)
840 TITLE:=Catalan (by Eduard Duran)
843 define Package/luci-i18n-catalan/install
844 $(call Package/luci/install/template,$(1),i18n/catalan)
848 define Package/luci-i18n-portuguese
849 $(call Package/luci/i18ntemplate)
850 TITLE:=Portuguese (by Jose Monteiro)
853 define Package/luci-i18n-portuguese/install
854 $(call Package/luci/install/template,$(1),i18n/portuguese)
859 ifneq ($(CONFIG_PACKAGE_luci-core),)
860 PKG_SELECTED_MODULES+=libs/core
862 ifneq ($(CONFIG_PACKAGE_luci-cbi),)
863 PKG_SELECTED_MODULES+=libs/cbi
865 ifneq ($(CONFIG_PACKAGE_luci-fastindex),)
866 PKG_SELECTED_MODULES+=libs/fastindex
868 ifneq ($(CONFIG_PACKAGE_luci-http),)
869 PKG_SELECTED_MODULES+=libs/http
871 ifneq ($(CONFIG_PACKAGE_luci-httpclient),)
872 PKG_SELECTED_MODULES+=libs/httpclient
874 ifneq ($(CONFIG_PACKAGE_luci-ipkg),)
875 PKG_SELECTED_MODULES+=libs/ipkg
877 ifneq ($(CONFIG_PACKAGE_luci-json),)
878 PKG_SELECTED_MODULES+=libs/json
880 ifneq ($(CONFIG_PACKAGE_luci-luanet),)
881 PKG_SELECTED_MODULES+=libs/luanet
883 ifneq ($(CONFIG_PACKAGE_luci-lucid),)
884 PKG_SELECTED_MODULES+=libs/lucid libs/lucid-http
886 ifneq ($(CONFIG_PACKAGE_luci-nixio),)
887 PKG_SELECTED_MODULES+=libs/nixio
889 ifneq ($(CONFIG_PACKAGE_luci-px5g),)
890 PKG_SELECTED_MODULES+=libs/px5g
892 ifneq ($(CONFIG_PACKAGE_luci-uci),)
893 PKG_SELECTED_MODULES+=libs/uci
895 ifneq ($(CONFIG_PACKAGE_luci-sys),)
896 PKG_SELECTED_MODULES+=libs/sys
898 ifneq ($(CONFIG_PACKAGE_luci-web),)
899 PKG_SELECTED_MODULES+=libs/web
901 ifneq ($(CONFIG_PACKAGE_luci-uvl),)
902 PKG_SELECTED_MODULES+=libs/uvl
905 ifneq ($(CONFIG_PACKAGE_luci-admin-core),)
906 PKG_SELECTED_MODULES+=modules/admin-core
908 ifneq ($(CONFIG_PACKAGE_luci-admin-mini),)
909 PKG_SELECTED_MODULES+=modules/admin-mini
911 ifneq ($(CONFIG_PACKAGE_luci-admin-full),)
912 PKG_SELECTED_MODULES+=modules/admin-full
914 ifneq ($(CONFIG_PACKAGE_luci-admin-rpc),)
915 PKG_SELECTED_MODULES+=modules/rpc
917 ifneq ($(CONFIG_PACKAGE_luci-mod-freifunk),)
918 PKG_SELECTED_MODULES+=modules/freifunk
921 ifneq ($(CONFIG_PACKAGE_luci-freifunk-community),)
922 PKG_SELECTED_MODULES+=applications/freifunk-community
925 ifneq ($(CONFIG_PACKAGE_luci-app-ffwizard-leipzig),)
926 PKG_SELECTED_MODULES+=applications/luci-ffwizard-leipzig
928 ifneq ($(CONFIG_PACKAGE_luci-app-siitwizard),)
929 PKG_SELECTED_MODULES+=applications/luci-siitwizard
931 ifneq ($(CONFIG_PACKAGE_luci-app-firewall),)
932 PKG_SELECTED_MODULES+=applications/luci-fw
934 ifneq ($(CONFIG_PACKAGE_luci-app-olsr),)
935 PKG_SELECTED_MODULES+=applications/luci-olsr
937 ifneq ($(CONFIG_PACKAGE_luci-app-qos),)
938 PKG_SELECTED_MODULES+=applications/luci-qos
940 ifneq ($(CONFIG_PACKAGE_luci-app-splash),)
941 PKG_SELECTED_MODULES+=applications/luci-splash
943 ifneq ($(CONFIG_PACKAGE_luci-app-statistics),)
944 PKG_SELECTED_MODULES+=applications/luci-statistics
946 ifneq ($(CONFIG_PACKAGE_luci-app-upnp),)
947 PKG_SELECTED_MODULES+=applications/luci-upnp
949 ifneq ($(CONFIG_PACKAGE_luci-app-ntpc),)
950 PKG_SELECTED_MODULES+=applications/luci-ntpc
952 ifneq ($(CONFIG_PACKAGE_luci-app-ddns),)
953 PKG_SELECTED_MODULES+=applications/luci-ddns
955 ifneq ($(CONFIG_PACKAGE_luci-app-samba),)
956 PKG_SELECTED_MODULES+=applications/luci-samba
958 ifneq ($(CONFIG_PACKAGE_luci-app-uvc_streamer),)
959 PKG_SELECTED_MODULES+=applications/luci-uvc_streamer
961 ifneq ($(CONFIG_PACKAGE_luci-app-mmc_over_gpio),)
962 PKG_SELECTED_MODULES+=applications/luci-mmc_over_gpio
964 ifneq ($(CONFIG_PACKAGE_luci-app-p910nd),)
965 PKG_SELECTED_MODULES+=applications/luci-p910nd
967 ifneq ($(CONFIG_PACKAGE_luci-app-ushare),)
968 PKG_SELECTED_MODULES+=applications/luci-ushare
970 ifneq ($(CONFIG_PACKAGE_luci-app-hd_idle),)
971 PKG_SELECTED_MODULES+=applications/luci-hd_idle
973 ifneq ($(CONFIG_PACKAGE_luci-app-tinyproxy),)
974 PKG_SELECTED_MODULES+=applications/luci-tinyproxy
976 ifneq ($(CONFIG_PACKAGE_luci-app-initmgr),)
977 PKG_SELECTED_MODULES+=applications/luci-initmgr
979 ifneq ($(CONFIG_PACKAGE_luci-app-livestats),)
980 PKG_SELECTED_MODULES+=applications/luci-livestats
982 ifneq ($(CONFIG_PACKAGE_luci-app-polipo),)
983 PKG_SELECTED_MODULES+=applications/luci-polipo
985 ifneq ($(CONFIG_PACKAGE_luci-app-openvpn),)
986 PKG_SELECTED_MODULES+=applications/luci-openvpn
988 ifneq ($(CONFIG_PACKAGE_luci-app-p2pblock),)
989 PKG_SELECTED_MODULES+=applications/luci-p2pblock
993 ifneq ($(CONFIG_PACKAGE_luci-sgi-cgi),)
994 PKG_SELECTED_MODULES+=libs/sgi-cgi
996 ifneq ($(CONFIG_PACKAGE_luci-sgi-luci),)
997 PKG_SELECTED_MODULES+=libs/sgi-luci
1000 ifneq ($(CONFIG_PACKAGE_luci-theme-base),)
1001 PKG_SELECTED_MODULES+=themes/base
1003 ifneq ($(CONFIG_PACKAGE_luci-theme-fledermaus),)
1004 PKG_SELECTED_MODULES+=themes/fledermaus
1006 ifneq ($(CONFIG_PACKAGE_luci-theme-freifunk-bno),)
1007 PKG_SELECTED_MODULES+=themes/freifunk-bno
1009 ifneq ($(CONFIG_PACKAGE_luci-theme-freifunk-hannover),)
1010 PKG_SELECTED_MODULES+=themes/freifunk-hannover
1012 ifneq ($(CONFIG_PACKAGE_luci-theme-freifunk),)
1013 PKG_SELECTED_MODULES+=themes/freifunk
1015 ifneq ($(CONFIG_PACKAGE_luci-theme-openwrt),)
1016 PKG_SELECTED_MODULES+=themes/openwrt.org
1018 ifneq ($(CONFIG_PACKAGE_luci-theme-openwrtlight),)
1019 PKG_SELECTED_MODULES+=themes/openwrt-light
1022 ifneq ($(CONFIG_PACKAGE_luci-i18n-german),)
1023 PKG_SELECTED_MODULES+=i18n/german
1025 ifneq ($(CONFIG_PACKAGE_luci-i18n-english),)
1026 PKG_SELECTED_MODULES+=i18n/english
1028 ifneq ($(CONFIG_PACKAGE_luci-i18n-french),)
1029 PKG_SELECTED_MODULES+=i18n/french
1031 ifneq ($(CONFIG_PACKAGE_luci-i18n-italian),)
1032 PKG_SELECTED_MODULES+=i18n/italian
1034 ifneq ($(CONFIG_PACKAGE_luci-i18n-russian),)
1035 PKG_SELECTED_MODULES+=i18n/russian
1037 ifneq ($(CONFIG_PACKAGE_luci-i18n-portuguese_brazilian),)
1038 PKG_SELECTED_MODULES+=i18n/portuguese_brazilian
1040 ifneq ($(CONFIG_PACKAGE_luci-i18n-japanese),)
1041 PKG_SELECTED_MODULES+=i18n/japanese
1043 ifneq ($(CONFIG_PACKAGE_luci-i18n-greek),)
1044 PKG_SELECTED_MODULES+=i18n/greek
1046 ifneq ($(CONFIG_PACKAGE_luci-i18n-catalan),)
1047 PKG_SELECTED_MODULES+=i18n/catalan
1049 ifneq ($(CONFIG_PACKAGE_luci-i18n-portuguese),)
1050 PKG_SELECTED_MODULES+=i18n/portuguese
1055 MODULES="$(PKG_SELECTED_MODULES)" \
1056 LUA_TARGET="$(LUA_TARGET)" \
1057 LUA_SHLIBS="-llua -lm -ldl -lcrypt" \
1058 CFLAGS="$(TARGET_CFLAGS) $(LUCI_CFLAGS) -I$(STAGING_DIR)/usr/include" \
1059 LDFLAGS="$(TARGET_LDFLAGS) -L$(STAGING_DIR)/usr/lib" \
1060 NIXIO_TLS="$(NIXIO_TLS)" OS="Linux"
1063 $(eval $(call BuildPackage,luci-core))
1064 $(eval $(call BuildPackage,luci-cbi))
1065 $(eval $(call BuildPackage,luci-fastindex))
1066 $(eval $(call BuildPackage,luci-http))
1067 $(eval $(call BuildPackage,luci-httpclient))
1068 $(eval $(call BuildPackage,luci-ipkg))
1069 $(eval $(call BuildPackage,luci-json))
1070 $(eval $(call BuildPackage,luci-luanet))
1071 $(eval $(call BuildPackage,luci-lucid))
1072 $(eval $(call BuildPackage,luci-nixio))
1073 $(eval $(call BuildPackage,luci-px5g))
1074 $(eval $(call BuildPackage,luci-uci))
1075 $(eval $(call BuildPackage,luci-sys))
1076 $(eval $(call BuildPackage,luci-web))
1077 $(eval $(call BuildPackage,luci-uvl))
1079 $(eval $(call BuildPackage,luci-admin-core))
1080 $(eval $(call BuildPackage,luci-admin-mini))
1081 $(eval $(call BuildPackage,luci-admin-full))
1082 $(eval $(call BuildPackage,luci-admin-rpc))
1083 $(eval $(call BuildPackage,luci-mod-freifunk))
1085 $(eval $(call BuildPackage,luci-freifunk-community))
1087 $(eval $(call BuildPackage,luci-app-ffwizard-leipzig))
1088 $(eval $(call BuildPackage,luci-app-siitwizard))
1089 $(eval $(call BuildPackage,luci-app-firewall))
1090 $(eval $(call BuildPackage,luci-app-olsr))
1091 $(eval $(call BuildPackage,luci-app-qos))
1092 $(eval $(call BuildPackage,luci-app-splash))
1093 $(eval $(call BuildPackage,luci-app-statistics))
1094 $(eval $(call BuildPackage,luci-app-upnp))
1095 $(eval $(call BuildPackage,luci-app-ntpc))
1096 $(eval $(call BuildPackage,luci-app-ddns))
1097 $(eval $(call BuildPackage,luci-app-samba))
1098 $(eval $(call BuildPackage,luci-app-uvc_streamer))
1099 $(eval $(call BuildPackage,luci-app-mmc_over_gpio))
1100 $(eval $(call BuildPackage,luci-app-p910nd))
1101 $(eval $(call BuildPackage,luci-app-ushare))
1102 $(eval $(call BuildPackage,luci-app-hd_idle))
1103 $(eval $(call BuildPackage,luci-app-tinyproxy))
1104 $(eval $(call BuildPackage,luci-app-initmgr))
1105 $(eval $(call BuildPackage,luci-app-livestats))
1106 $(eval $(call BuildPackage,luci-app-polipo))
1107 $(eval $(call BuildPackage,luci-app-openvpn))
1108 $(eval $(call BuildPackage,luci-app-p2pblock))
1110 $(eval $(call BuildPackage,luci-sgi-cgi))
1112 $(eval $(call BuildPackage,luci-theme-base))
1113 $(eval $(call BuildPackage,luci-theme-fledermaus))
1114 $(eval $(call BuildPackage,luci-theme-freifunk))
1115 $(eval $(call BuildPackage,luci-theme-freifunk-bno))
1116 $(eval $(call BuildPackage,luci-theme-freifunk-hannover))
1117 $(eval $(call BuildPackage,luci-theme-openwrt))
1118 $(eval $(call BuildPackage,luci-theme-openwrtlight))
1120 $(eval $(call BuildPackage,luci-i18n-german))
1121 $(eval $(call BuildPackage,luci-i18n-english))
1122 $(eval $(call BuildPackage,luci-i18n-french))
1123 $(eval $(call BuildPackage,luci-i18n-italian))
1124 $(eval $(call BuildPackage,luci-i18n-russian))
1125 $(eval $(call BuildPackage,luci-i18n-portuguese_brazilian))
1126 $(eval $(call BuildPackage,luci-i18n-japanese))
1127 $(eval $(call BuildPackage,luci-i18n-greek))
1128 $(eval $(call BuildPackage,luci-i18n-catalan))
1129 $(eval $(call BuildPackage,luci-i18n-portuguese))