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 $(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
30 PKG_SELECTED_MODULES:=
33 include $(INCLUDE_DIR)/package.mk
37 mkdir -p $(PKG_BUILD_DIR)
38 $(TAR) c -C ../../../ . \
39 --exclude=.pc --exclude=.svn --exclude=.git \
40 --exclude='boa-0*' --exclude='*.o' --exclude='*.so' \
42 tar x -C $(PKG_BUILD_DIR)/
46 define Build/Configure
51 define Package/luci/libtemplate
53 CATEGORY:=Administration
54 TITLE:=LuCI - Lua Configuration Interface
55 URL:=http://luci.freifunk-halle.net/
56 MAINTAINER:=Steven Barth <steven-at-midlink-dot-org>
57 SUBMENU:=LuCI Libraries
61 define Package/luci/fftemplate
62 $(call Package/luci/libtemplate)
63 SUBMENU:=LuCI Freifunk Support
64 DEPENDS:=+luci-mod-freifunk
67 define Package/luci/httpdtemplate
68 $(call Package/luci/libtemplate)
73 define Package/luci/i18ntemplate
74 $(call Package/luci/libtemplate)
75 SUBMENU:=LuCI Translations
79 define Package/luci/thtemplate
80 $(call Package/luci/libtemplate)
85 define Package/luci/webtemplate
86 $(call Package/luci/libtemplate)
87 SUBMENU:=LuCI Components
91 define Package/luci/install/template
92 $(CP) -a $(PKG_BUILD_DIR)/$(2)/dist/* $(1)/ -R
93 $(CP) -a $(PKG_BUILD_DIR)/$(2)/ipkg/* $(1)/CONTROL/ 2>/dev/null || true
100 define Package/luci-core
101 $(call Package/luci/libtemplate)
103 TITLE:=LuCI core libraries
106 define Package/luci-core/install
107 $(call Package/luci/install/template,$(1),libs/core)
108 $(PKG_BUILD_DIR)/build/mkversion.sh $(1)/usr/lib/lua/luci/version.lua \
110 "$(OPENWRTVERSION)" \
115 define Package/luci-core/config
117 prompt "Build Target"
118 default PACKAGE_luci-core_source
120 config PACKAGE_luci-core_compile
123 config PACKAGE_luci-core_stripped
126 config PACKAGE_luci-core_source
129 config PACKAGE_luci-core_zipped
130 bool "Precompiled and compressed"
135 ifneq ($(CONFIG_PACKAGE_luci-core_compile),)
139 ifneq ($(CONFIG_PACKAGE_luci-core_stripped),)
143 ifneq ($(CONFIG_PACKAGE_luci-core_zipped),)
149 define Package/luci-cbi
150 $(call Package/luci/libtemplate)
151 DEPENDS+=+luci-web +luci-uvl +luci-uci
152 TITLE:=Configuration Binding Interface
155 define Package/luci-cbi/install
156 $(call Package/luci/install/template,$(1),libs/cbi)
160 define Package/luci-uci
161 $(call Package/luci/libtemplate)
163 TITLE:=High-Level UCI API
166 define Package/luci-uci/install
167 $(call Package/luci/install/template,$(1),libs/uci)
171 define Package/luci-fastindex
172 $(call Package/luci/libtemplate)
173 TITLE:=Fastindex indexing module
176 define Package/luci-fastindex/install
177 $(call Package/luci/install/template,$(1),libs/fastindex)
181 define Package/luci-http
182 $(call Package/luci/libtemplate)
183 TITLE:=HTTP Protocol implementation
186 define Package/luci-http/install
187 $(call Package/luci/install/template,$(1),libs/http)
191 define Package/luci-httpclient
192 $(call Package/luci/libtemplate)
193 TITLE:=HTTP(S) client library
194 DEPENDS+=+luci-http +luci-nixio
197 define Package/luci-httpclient/install
198 $(call Package/luci/install/template,$(1),libs/httpclient)
202 define Package/luci-ipkg
203 $(call Package/luci/libtemplate)
204 TITLE:=LuCI IPKG/OPKG call abstraction library
207 define Package/luci-ipkg/install
208 $(call Package/luci/install/template,$(1),libs/ipkg)
212 define Package/luci-json
213 $(call Package/luci/libtemplate)
214 TITLE:=LuCI JSON Library
217 define Package/luci-json/install
218 $(call Package/luci/install/template,$(1),libs/json)
222 define Package/luci-luanet
223 $(call Package/luci/libtemplate)
228 define Package/luci-luanet/install
229 $(call Package/luci/install/template,$(1),libs/luanet)
233 define Package/luci-lucid
234 $(call Package/luci/libtemplate)
235 TITLE:=LuCId Superserver
236 DEPENDS+=+luci-nixio +luci-http +luci-px5g
239 define Package/luci-lucid/install
240 $(call Package/luci/install/template,$(1),libs/lucid)
241 $(call Package/luci/install/template,$(1),libs/lucid-http)
248 define Package/luci-nixio
249 $(call Package/luci/libtemplate)
250 TITLE:=NIXIO Socket Library
254 define Package/luci-nixio/install
255 $(call Package/luci/install/template,$(1),libs/nixio)
258 define Package/luci-nixio/config
260 prompt "TLS Provider"
261 default PACKAGE_luci-nixio_axtls
263 config PACKAGE_luci-nixio_axtls
264 bool "Builtin (axTLS)"
265 select PACKAGE_dropbear
266 select PACKAGE_dropbearconvert
268 config PACKAGE_luci-nixio_cyassl
270 select PACKAGE_libcyassl-luci
272 config PACKAGE_luci-nixio_openssl
274 select PACKAGE_libopenssl
278 ifneq ($(CONFIG_PACKAGE_luci-nixio_openssl),)
282 ifneq ($(CONFIG_PACKAGE_luci-nixio_cyassl),)
287 define Package/luci-px5g
288 $(call Package/luci/libtemplate)
289 TITLE:=PX5G RSA Keymaster
293 define Package/luci-px5g/install
294 $(call Package/luci/install/template,$(1),libs/px5g)
298 define Package/luci-sys
299 $(call Package/luci/libtemplate)
300 TITLE:=LuCI Linux/POSIX system library
303 define Package/luci-sys/install
304 $(call Package/luci/install/template,$(1),libs/sys)
308 define Package/luci-web
309 $(call Package/luci/libtemplate)
310 DEPENDS+=+luci-http +luci-sys +luci-uci +luci-lucid +luci-sgi-cgi
311 TITLE:=MVC Webframework
312 $(call Config,luci.main.lang,string,en,Default Language)
315 define Package/luci-web/conffiles
319 define Package/luci-web/install
320 $(call Package/luci/install/template,$(1),libs/web)
324 define Package/luci-uvl
325 $(call Package/luci/libtemplate)
326 DEPENDS+=+luci-sys +luci-uci +luci-core
327 TITLE:=UVL - UCI Validation Layer
330 define Package/luci-uvl/install
331 $(call Package/luci/install/template,$(1),libs/uvl)
338 define Package/luci-httpd
339 $(call Package/luci/httpdtemplate)
340 DEPENDS:=+luci-http +libuci
344 define Package/luci-httpd/install
345 $(call Package/luci/install/template,$(1),libs/lucittpd)
350 ### Community Packages ###
352 define Package/luci-freifunk-community
353 $(call Package/luci/fftemplate)
355 +luci-lucid +luci-sgi-cgi +luci-app-splash \
356 +luci-app-ffwizard-leipzig \
358 +PACKAGE_luci-freifunk-community:olsrd-luci +PACKAGE_luci-freifunk-community:olsrd-luci-mod-dyn-gw-plain \
359 +PACKAGE_luci-freifunk-community:olsrd-luci-mod-txtinfo +PACKAGE_luci-freifunk-community:olsrd-luci-mod-nameservice \
360 +PACKAGE_luci-freifunk-community:olsrd-luci-mod-watchdog +PACKAGE_luci-freifunk-community:kmod-tun \
361 +PACKAGE_luci-freifunk-community:ip +PACKAGE_luci-freifunk-community:freifunk-watchdog +luci-app-olsr
362 TITLE:=Freifunk Community Meta-Package
365 define Package/luci-freifunk-community/install
366 $(call Package/luci/install/template,$(1),applications/freifunk-community)
371 define Package/luci-admin-core
372 $(call Package/luci/webtemplate)
373 DEPENDS+=+luci-web +luci-cbi +luci-i18n-english
374 TITLE:=Web UI Core Module
377 define Package/luci-admin-core/conffiles
378 /etc/config/luci_hosts
379 /etc/config/luci_ethers
382 define Package/luci-admin-core/install
383 $(call Package/luci/install/template,$(1),modules/admin-core)
384 touch $(1)/etc/init.d/luci_fixtime || true
388 define Package/luci-admin-mini
389 $(call Package/luci/webtemplate)
390 DEPENDS+=+luci-admin-core
391 TITLE:=LuCI Essentials - stripped down and user-friendly
394 define Package/luci-admin-mini/install
395 $(call Package/luci/install/template,$(1),modules/admin-mini)
399 define Package/luci-admin-full
400 $(call Package/luci/webtemplate)
401 DEPENDS+=+luci-admin-core +luci-ipkg
402 TITLE:=LuCI Administration - full-featured for full control
405 define Package/luci-admin-full/install
406 $(call Package/luci/install/template,$(1),modules/admin-full)
410 define Package/luci-admin-rpc
411 $(call Package/luci/webtemplate)
413 TITLE:=LuCI RPC - JSON-RPC API
416 define Package/luci-admin-rpc/install
417 $(call Package/luci/install/template,$(1),modules/rpc)
421 define Package/luci-mod-freifunk
422 $(call Package/luci/fftemplate)
423 DEPENDS:=+luci-admin-full +luci-json
424 TITLE:=LuCI Freifunk module
427 define Package/luci-mod-freifunk/conffiles
431 define Package/luci-mod-freifunk/install
432 $(call Package/luci/install/template,$(1),modules/freifunk)
439 define Package/luci-app-ffwizard-leipzig
440 $(call Package/luci/fftemplate)
441 TITLE:=Freifunk Leipzig configuration wizard
444 define Package/luci-app-ffwizard-leipzig/install
445 $(call Package/luci/install/template,$(1),applications/luci-ffwizard-leipzig)
449 define Package/luci-app-siitwizard
450 $(call Package/luci/fftemplate)
451 TITLE:=SIIT IPv4-over-IPv6 configuration wizard
452 DEPENDS:=+luci-admin-core +PACKAGE_luci-app-siitwizard:kmod-siit
455 define Package/luci-app-siitwizard/install
456 $(call Package/luci/install/template,$(1),applications/luci-siitwizard)
460 define Package/luci-app-firewall
461 $(call Package/luci/webtemplate)
462 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-firewall:firewall
463 TITLE:=Firewall and Portforwarding application
466 define Package/luci-app-firewall/install
467 $(call Package/luci/install/template,$(1),applications/luci-fw)
471 define Package/luci-app-olsr
472 $(call Package/luci/webtemplate)
473 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-olsr:olsrd-luci +PACKAGE_luci-app-olsr:olsrd-luci-mod-txtinfo
474 TITLE:=OLSR configuration and status module
477 define Package/luci-app-olsr/install
478 $(call Package/luci/install/template,$(1),applications/luci-olsr)
482 define Package/luci-app-qos
483 $(call Package/luci/webtemplate)
484 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-qos:qos-scripts
485 TITLE:=Quality of Service configuration module
488 define Package/luci-app-qos/install
489 $(call Package/luci/install/template,$(1),applications/luci-qos)
493 define Package/luci-app-splash
494 $(call Package/luci/fftemplate)
495 DEPENDS+=+PACKAGE_luci-app-splash:luci-nixio +PACKAGE_luci-app-splash:iptables-mod-nat-extra
496 TITLE:=Freifunk DHCP-Splash application
499 define Package/luci-app-splash/conffiles
500 /etc/config/luci_splash
503 define Package/luci-app-splash/install
504 $(call Package/luci/install/template,$(1),applications/luci-splash)
508 define Package/luci-app-statistics
509 $(call Package/luci/webtemplate)
510 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-statistics:collectd \
511 +PACKAGE_luci-app-statistics:rrdtool1 \
512 +PACKAGE_luci-app-statistics:collectd-mod-rrdtool1 \
513 +PACKAGE_luci-app-statistics:collectd-mod-wireless \
514 +PACKAGE_luci-app-statistics:collectd-mod-interface \
515 +PACKAGE_luci-app-statistics:collectd-mod-load
516 TITLE:=LuCI Statistics Application
519 define Package/luci-app-statistics/conffiles
520 /etc/config/luci_statistics
523 define Package/luci-app-statistics/install
524 $(call Package/luci/install/template,$(1),applications/luci-statistics)
528 define Package/luci-app-upnp
529 $(call Package/luci/webtemplate)
530 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-upnp:miniupnpd
531 TITLE:=Universal Plug & Play configuration module
534 define Package/luci-app-upnp/install
535 $(call Package/luci/install/template,$(1),applications/luci-upnp)
539 define Package/luci-app-ntpc
540 $(call Package/luci/webtemplate)
541 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-ntpc:ntpclient
542 TITLE:=NTP time synchronisation client configuration module
545 define Package/luci-app-ntpc/install
546 $(call Package/luci/install/template,$(1),applications/luci-ntpc)
550 define Package/luci-app-ddns
551 $(call Package/luci/webtemplate)
552 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-ddns:ddns-scripts
553 TITLE:=Dynamic DNS configuration module
556 define Package/luci-app-ddns/install
557 $(call Package/luci/install/template,$(1),applications/luci-ddns)
561 define Package/luci-app-samba
562 $(call Package/luci/webtemplate)
563 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-samba:samba3
564 TITLE:=Network Shares - Samba SMB/CIFS module
567 define Package/luci-app-samba/install
568 $(call Package/luci/install/template,$(1),applications/luci-samba)
572 define Package/luci-app-uvc_streamer
573 $(call Package/luci/webtemplate)
574 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-uvc_streamer:uvc-streamer
575 TITLE:=Webcam Streaming - UVC-Streamer module
578 define Package/luci-app-uvc_streamer/install
579 $(call Package/luci/install/template,$(1),applications/luci-uvc_streamer)
583 define Package/luci-app-mmc_over_gpio
584 $(call Package/luci/webtemplate)
585 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-mmc_over_gpio:kmod-mmc-over-gpio
589 define Package/luci-app-mmc_over_gpio/install
590 $(call Package/luci/install/template,$(1),applications/luci-mmc_over_gpio)
594 define Package/luci-app-p910nd
595 $(call Package/luci/webtemplate)
596 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-p910nd:p910nd
597 TITLE:=p910nd - Printer server module
600 define Package/luci-app-p910nd/install
601 $(call Package/luci/install/template,$(1),applications/luci-p910nd)
605 define Package/luci-app-ushare
606 $(call Package/luci/webtemplate)
607 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-ushare:ushare
608 TITLE:=ushare - UPnP A/V & DLNA Media Server
611 define Package/luci-app-ushare/install
612 $(call Package/luci/install/template,$(1),applications/luci-ushare)
615 define Package/luci-app-hd_idle
616 $(call Package/luci/webtemplate)
617 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-hd_idle:hd-idle
621 define Package/luci-app-hd_idle/install
622 $(call Package/luci/install/template,$(1),applications/luci-hd_idle)
625 define Package/luci-app-tinyproxy
626 $(call Package/luci/webtemplate)
627 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-tinyproxy:tinyproxy
628 TITLE:=Tinyproxy - HTTP(S)-Proxy
631 define Package/luci-app-tinyproxy/install
632 $(call Package/luci/install/template,$(1),applications/luci-tinyproxy)
635 define Package/luci-app-initmgr
636 $(call Package/luci/webtemplate)
637 DEPENDS+=+luci-admin-full
638 TITLE:=LuCI Initscript Management
641 define Package/luci-app-initmgr/install
642 $(call Package/luci/install/template,$(1),applications/luci-initmgr)
645 define Package/luci-app-livestats
646 $(call Package/luci/webtemplate)
647 DEPENDS+=+luci-admin-core +luci-admin-rpc
648 TITLE:=LuCI Realtime Statistics
651 define Package/luci-app-livestats/install
652 $(call Package/luci/install/template,$(1),applications/luci-livestats)
655 define Package/luci-app-asterisk
656 $(call Package/luci/webtemplate)
657 TITLE:=LuCI Support for Asterisk PBX
658 DEPENDS+=@BROKEN +luci-admin-core +PACKAGE_luci-app-asterisk:asterisk14-xip-core
661 define Package/luci-app-asterisk/install
662 $(call Package/luci/install/template,$(1),applications/luci-asterisk)
665 define Package/luci-app-polipo
666 $(call Package/luci/webtemplate)
667 TITLE:=LuCI Support for the Polipo Proxy
668 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-polipo:polipo
671 define Package/luci-app-polipo/install
672 $(call Package/luci/install/template,$(1),applications/luci-polipo)
675 define Package/luci-app-openvpn
676 $(call Package/luci/webtemplate)
677 TITLE:=LuCI Support for OpenVPN
678 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-openvpn:openvpn
681 define Package/luci-app-openvpn/install
682 $(call Package/luci/install/template,$(1),applications/luci-openvpn)
686 ### Server Gateway Interfaces ###
688 define Package/luci-sgi-cgi
689 $(call Package/luci/libtemplate)
693 define Package/luci-sgi-cgi/install
694 $(call Package/luci/install/template,$(1),libs/sgi-cgi)
698 define Package/luci-theme-base
699 $(call Package/luci/thtemplate)
701 TITLE:=Common base for all themes
704 define Package/luci-theme-base/install
705 $(call Package/luci/install/template,$(1),themes/base)
708 define Package/luci-theme-fledermaus
709 $(call Package/luci/fftemplate)
711 TITLE:=Fledermaus Theme
714 define Package/luci-theme-fledermaus/install
715 $(call Package/luci/install/template,$(1),themes/fledermaus)
718 define Package/luci-theme-freifunk
719 $(call Package/luci/fftemplate)
721 MAINTAINER:=Stefan Pirwitz <stefan-at-freifunk-bno-dot-de>
722 TITLE:=alternative Freifunk Theme
725 define Package/luci-theme-freifunk/install
726 $(call Package/luci/install/template,$(1),themes/freifunk)
729 define Package/luci-theme-freifunk-bno
730 $(call Package/luci/fftemplate)
732 MAINTAINER:=Stefan Pirwitz <stefan-at-freifunk-bno-dot-de>
733 TITLE:=Freifunk Berlin Nordost Theme
736 define Package/luci-theme-freifunk-bno/install
737 $(call Package/luci/install/template,$(1),themes/freifunk-bno)
740 define Package/luci-theme-freifunk-hannover
741 $(call Package/luci/fftemplate)
743 MAINTAINER:=Mikolas Bingemer <mickey-at-freifunk-hannover-dot-de>
744 TITLE:=Freifunk Hannover Theme
747 define Package/luci-theme-freifunk-hannover/install
748 $(call Package/luci/install/template,$(1),themes/freifunk-hannover)
751 define Package/luci-theme-openwrt
752 $(call Package/luci/thtemplate)
753 TITLE:=OpenWrt.org (default)
754 DEPENDS:=+luci-theme-base
757 define Package/luci-theme-openwrt/install
758 $(call Package/luci/install/template,$(1),themes/openwrt.org)
761 define Package/luci-theme-openwrtlight
762 $(call Package/luci/thtemplate)
763 TITLE:=OpenWrt.org - light variant without images
764 DEPENDS:=+luci-theme-base
767 define Package/luci-theme-openwrtlight/install
768 $(call Package/luci/install/template,$(1),themes/openwrt-light)
773 define Package/luci-i18n-german
774 $(call Package/luci/i18ntemplate)
778 define Package/luci-i18n-german/install
779 $(call Package/luci/install/template,$(1),i18n/german)
783 define Package/luci-i18n-english
784 $(call Package/luci/i18ntemplate)
788 define Package/luci-i18n-english/install
789 $(call Package/luci/install/template,$(1),i18n/english)
793 define Package/luci-i18n-french
794 $(call Package/luci/i18ntemplate)
795 TITLE:=French (by Florian Fainelli)
798 define Package/luci-i18n-french/install
799 $(call Package/luci/install/template,$(1),i18n/french)
803 define Package/luci-i18n-italian
804 $(call Package/luci/i18ntemplate)
805 TITLE:=Italian (by Matteo Croce)
808 define Package/luci-i18n-italian/install
809 $(call Package/luci/install/template,$(1),i18n/italian)
813 define Package/luci-i18n-russian
814 $(call Package/luci/i18ntemplate)
815 TITLE:=Russian (by Skryabin Dmitry)
818 define Package/luci-i18n-russian/install
819 $(call Package/luci/install/template,$(1),i18n/russian)
823 define Package/luci-i18n-portuguese_brazilian
824 $(call Package/luci/i18ntemplate)
825 TITLE:=Portuguese (Brazilian) (by Carlos Cesario)
828 define Package/luci-i18n-portuguese_brazilian/install
829 $(call Package/luci/install/template,$(1),i18n/portuguese_brazilian)
833 define Package/luci-i18n-japanese
834 $(call Package/luci/i18ntemplate)
835 TITLE:=Japanese (by Tsukasa Hamano)
838 define Package/luci-i18n-japanese/install
839 $(call Package/luci/install/template,$(1),i18n/japanese)
843 define Package/luci-i18n-greek
844 $(call Package/luci/i18ntemplate)
845 TITLE:=Greek (by Vasilis Tsiligiannis)
848 define Package/luci-i18n-greek/install
849 $(call Package/luci/install/template,$(1),i18n/greek)
853 define Package/luci-i18n-catalan
854 $(call Package/luci/i18ntemplate)
855 TITLE:=Catalan (by Eduard Duran)
858 define Package/luci-i18n-catalan/install
859 $(call Package/luci/install/template,$(1),i18n/catalan)
863 define Package/luci-i18n-portuguese
864 $(call Package/luci/i18ntemplate)
865 TITLE:=Portuguese (by Jose Monteiro)
868 define Package/luci-i18n-portuguese/install
869 $(call Package/luci/install/template,$(1),i18n/portuguese)
874 ifneq ($(CONFIG_PACKAGE_luci-core),)
875 PKG_SELECTED_MODULES+=libs/core
877 ifneq ($(CONFIG_PACKAGE_luci-cbi),)
878 PKG_SELECTED_MODULES+=libs/cbi
880 ifneq ($(CONFIG_PACKAGE_luci-fastindex),)
881 PKG_SELECTED_MODULES+=libs/fastindex
883 ifneq ($(CONFIG_PACKAGE_luci-http),)
884 PKG_SELECTED_MODULES+=libs/http
886 ifneq ($(CONFIG_PACKAGE_luci-httpclient),)
887 PKG_SELECTED_MODULES+=libs/httpclient
889 ifneq ($(CONFIG_PACKAGE_luci-ipkg),)
890 PKG_SELECTED_MODULES+=libs/ipkg
892 ifneq ($(CONFIG_PACKAGE_luci-json),)
893 PKG_SELECTED_MODULES+=libs/json
895 ifneq ($(CONFIG_PACKAGE_luci-luanet),)
896 PKG_SELECTED_MODULES+=libs/luanet
898 ifneq ($(CONFIG_PACKAGE_luci-lucid),)
899 PKG_SELECTED_MODULES+=libs/lucid libs/lucid-http
901 ifneq ($(CONFIG_PACKAGE_luci-nixio),)
902 PKG_SELECTED_MODULES+=libs/nixio
904 ifneq ($(CONFIG_PACKAGE_luci-px5g),)
905 PKG_SELECTED_MODULES+=libs/px5g
907 ifneq ($(CONFIG_PACKAGE_luci-uci),)
908 PKG_SELECTED_MODULES+=libs/uci
910 ifneq ($(CONFIG_PACKAGE_luci-sys),)
911 PKG_SELECTED_MODULES+=libs/sys
913 ifneq ($(CONFIG_PACKAGE_luci-web),)
914 PKG_SELECTED_MODULES+=libs/web
916 ifneq ($(CONFIG_PACKAGE_luci-uvl),)
917 PKG_SELECTED_MODULES+=libs/uvl
920 ifneq ($(CONFIG_PACKAGE_luci-httpd),)
921 PKG_SELECTED_MODULES+=libs/lucittpd
924 ifneq ($(CONFIG_PACKAGE_luci-admin-core),)
925 PKG_SELECTED_MODULES+=modules/admin-core
927 ifneq ($(CONFIG_PACKAGE_luci-admin-mini),)
928 PKG_SELECTED_MODULES+=modules/admin-mini
930 ifneq ($(CONFIG_PACKAGE_luci-admin-full),)
931 PKG_SELECTED_MODULES+=modules/admin-full
933 ifneq ($(CONFIG_PACKAGE_luci-admin-rpc),)
934 PKG_SELECTED_MODULES+=modules/rpc
936 ifneq ($(CONFIG_PACKAGE_luci-mod-freifunk),)
937 PKG_SELECTED_MODULES+=modules/freifunk
940 ifneq ($(CONFIG_PACKAGE_luci-freifunk-community),)
941 PKG_SELECTED_MODULES+=applications/freifunk-community
944 ifneq ($(CONFIG_PACKAGE_luci-app-ffwizard-leipzig),)
945 PKG_SELECTED_MODULES+=applications/luci-ffwizard-leipzig
947 ifneq ($(CONFIG_PACKAGE_luci-app-siitwizard),)
948 PKG_SELECTED_MODULES+=applications/luci-siitwizard
950 ifneq ($(CONFIG_PACKAGE_luci-app-firewall),)
951 PKG_SELECTED_MODULES+=applications/luci-fw
953 ifneq ($(CONFIG_PACKAGE_luci-app-olsr),)
954 PKG_SELECTED_MODULES+=applications/luci-olsr
956 ifneq ($(CONFIG_PACKAGE_luci-app-qos),)
957 PKG_SELECTED_MODULES+=applications/luci-qos
959 ifneq ($(CONFIG_PACKAGE_luci-app-splash),)
960 PKG_SELECTED_MODULES+=applications/luci-splash
962 ifneq ($(CONFIG_PACKAGE_luci-app-statistics),)
963 PKG_SELECTED_MODULES+=applications/luci-statistics
965 ifneq ($(CONFIG_PACKAGE_luci-app-upnp),)
966 PKG_SELECTED_MODULES+=applications/luci-upnp
968 ifneq ($(CONFIG_PACKAGE_luci-app-ntpc),)
969 PKG_SELECTED_MODULES+=applications/luci-ntpc
971 ifneq ($(CONFIG_PACKAGE_luci-app-ddns),)
972 PKG_SELECTED_MODULES+=applications/luci-ddns
974 ifneq ($(CONFIG_PACKAGE_luci-app-samba),)
975 PKG_SELECTED_MODULES+=applications/luci-samba
977 ifneq ($(CONFIG_PACKAGE_luci-app-uvc_streamer),)
978 PKG_SELECTED_MODULES+=applications/luci-uvc_streamer
980 ifneq ($(CONFIG_PACKAGE_luci-app-mmc_over_gpio),)
981 PKG_SELECTED_MODULES+=applications/luci-mmc_over_gpio
983 ifneq ($(CONFIG_PACKAGE_luci-app-p910nd),)
984 PKG_SELECTED_MODULES+=applications/luci-p910nd
986 ifneq ($(CONFIG_PACKAGE_luci-app-ushare),)
987 PKG_SELECTED_MODULES+=applications/luci-ushare
989 ifneq ($(CONFIG_PACKAGE_luci-app-hd_idle),)
990 PKG_SELECTED_MODULES+=applications/luci-hd_idle
992 ifneq ($(CONFIG_PACKAGE_luci-app-tinyproxy),)
993 PKG_SELECTED_MODULES+=applications/luci-tinyproxy
995 ifneq ($(CONFIG_PACKAGE_luci-app-initmgr),)
996 PKG_SELECTED_MODULES+=applications/luci-initmgr
998 ifneq ($(CONFIG_PACKAGE_luci-app-livestats),)
999 PKG_SELECTED_MODULES+=applications/luci-livestats
1001 ifneq ($(CONFIG_PACKAGE_luci-app-asterisk),)
1002 PKG_SELECTED_MODULES+=applications/luci-asterisk
1004 ifneq ($(CONFIG_PACKAGE_luci-app-polipo),)
1005 PKG_SELECTED_MODULES+=applications/luci-polipo
1007 ifneq ($(CONFIG_PACKAGE_luci-app-openvpn),)
1008 PKG_SELECTED_MODULES+=applications/luci-openvpn
1012 ifneq ($(CONFIG_PACKAGE_luci-sgi-cgi),)
1013 PKG_SELECTED_MODULES+=libs/sgi-cgi
1015 ifneq ($(CONFIG_PACKAGE_luci-sgi-luci),)
1016 PKG_SELECTED_MODULES+=libs/sgi-luci
1018 ifneq ($(CONFIG_PACKAGE_luci-sgi-webuci),)
1019 PKG_SELECTED_MODULES+=libs/sgi-webuci
1022 ifneq ($(CONFIG_PACKAGE_luci-theme-base),)
1023 PKG_SELECTED_MODULES+=themes/base
1025 ifneq ($(CONFIG_PACKAGE_luci-theme-fledermaus),)
1026 PKG_SELECTED_MODULES+=themes/fledermaus
1028 ifneq ($(CONFIG_PACKAGE_luci-theme-freifunk-bno),)
1029 PKG_SELECTED_MODULES+=themes/freifunk-bno
1031 ifneq ($(CONFIG_PACKAGE_luci-theme-freifunk-hannover),)
1032 PKG_SELECTED_MODULES+=themes/freifunk-hannover
1034 ifneq ($(CONFIG_PACKAGE_luci-theme-freifunk),)
1035 PKG_SELECTED_MODULES+=themes/freifunk
1037 ifneq ($(CONFIG_PACKAGE_luci-theme-openwrt),)
1038 PKG_SELECTED_MODULES+=themes/openwrt.org
1040 ifneq ($(CONFIG_PACKAGE_luci-theme-openwrtlight),)
1041 PKG_SELECTED_MODULES+=themes/openwrt-light
1044 ifneq ($(CONFIG_PACKAGE_luci-i18n-german),)
1045 PKG_SELECTED_MODULES+=i18n/german
1047 ifneq ($(CONFIG_PACKAGE_luci-i18n-english),)
1048 PKG_SELECTED_MODULES+=i18n/english
1050 ifneq ($(CONFIG_PACKAGE_luci-i18n-french),)
1051 PKG_SELECTED_MODULES+=i18n/french
1053 ifneq ($(CONFIG_PACKAGE_luci-i18n-italian),)
1054 PKG_SELECTED_MODULES+=i18n/italian
1056 ifneq ($(CONFIG_PACKAGE_luci-i18n-russian),)
1057 PKG_SELECTED_MODULES+=i18n/russian
1059 ifneq ($(CONFIG_PACKAGE_luci-i18n-portuguese_brazilian),)
1060 PKG_SELECTED_MODULES+=i18n/portuguese_brazilian
1062 ifneq ($(CONFIG_PACKAGE_luci-i18n-japanese),)
1063 PKG_SELECTED_MODULES+=i18n/japanese
1065 ifneq ($(CONFIG_PACKAGE_luci-i18n-greek),)
1066 PKG_SELECTED_MODULES+=i18n/greek
1068 ifneq ($(CONFIG_PACKAGE_luci-i18n-catalan),)
1069 PKG_SELECTED_MODULES+=i18n/catalan
1071 ifneq ($(CONFIG_PACKAGE_luci-i18n-portuguese),)
1072 PKG_SELECTED_MODULES+=i18n/portuguese
1077 MODULES="$(PKG_SELECTED_MODULES)" \
1078 LUA_TARGET="$(LUA_TARGET)" \
1079 LUA_SHLIBS="-llua -lm -ldl -lcrypt" \
1080 CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" \
1081 LDFLAGS="$(TARGET_LDFLAGS) -L$(STAGING_DIR)/usr/lib" \
1082 NIXIO_TLS="$(NIXIO_TLS)" OS="Linux"
1085 $(eval $(call BuildPackage,luci-core))
1086 $(eval $(call BuildPackage,luci-cbi))
1087 $(eval $(call BuildPackage,luci-fastindex))
1088 $(eval $(call BuildPackage,luci-http))
1089 $(eval $(call BuildPackage,luci-httpclient))
1090 $(eval $(call BuildPackage,luci-ipkg))
1091 $(eval $(call BuildPackage,luci-json))
1092 $(eval $(call BuildPackage,luci-luanet))
1093 $(eval $(call BuildPackage,luci-lucid))
1094 $(eval $(call BuildPackage,luci-nixio))
1095 $(eval $(call BuildPackage,luci-px5g))
1096 $(eval $(call BuildPackage,luci-uci))
1097 $(eval $(call BuildPackage,luci-sys))
1098 $(eval $(call BuildPackage,luci-web))
1099 $(eval $(call BuildPackage,luci-uvl))
1101 $(eval $(call BuildPackage,luci-httpd))
1103 $(eval $(call BuildPackage,luci-admin-core))
1104 $(eval $(call BuildPackage,luci-admin-mini))
1105 $(eval $(call BuildPackage,luci-admin-full))
1106 $(eval $(call BuildPackage,luci-admin-rpc))
1107 $(eval $(call BuildPackage,luci-mod-freifunk))
1109 $(eval $(call BuildPackage,luci-freifunk-community))
1111 $(eval $(call BuildPackage,luci-app-ffwizard-leipzig))
1112 $(eval $(call BuildPackage,luci-app-siitwizard))
1113 $(eval $(call BuildPackage,luci-app-firewall))
1114 $(eval $(call BuildPackage,luci-app-olsr))
1115 $(eval $(call BuildPackage,luci-app-qos))
1116 $(eval $(call BuildPackage,luci-app-splash))
1117 $(eval $(call BuildPackage,luci-app-statistics))
1118 $(eval $(call BuildPackage,luci-app-upnp))
1119 $(eval $(call BuildPackage,luci-app-ntpc))
1120 $(eval $(call BuildPackage,luci-app-ddns))
1121 $(eval $(call BuildPackage,luci-app-samba))
1122 $(eval $(call BuildPackage,luci-app-uvc_streamer))
1123 $(eval $(call BuildPackage,luci-app-mmc_over_gpio))
1124 $(eval $(call BuildPackage,luci-app-p910nd))
1125 $(eval $(call BuildPackage,luci-app-ushare))
1126 $(eval $(call BuildPackage,luci-app-hd_idle))
1127 $(eval $(call BuildPackage,luci-app-tinyproxy))
1128 $(eval $(call BuildPackage,luci-app-initmgr))
1129 $(eval $(call BuildPackage,luci-app-livestats))
1130 $(eval $(call BuildPackage,luci-app-asterisk))
1131 $(eval $(call BuildPackage,luci-app-polipo))
1132 $(eval $(call BuildPackage,luci-app-openvpn))
1134 $(eval $(call BuildPackage,luci-sgi-cgi))
1136 $(eval $(call BuildPackage,luci-theme-base))
1137 $(eval $(call BuildPackage,luci-theme-fledermaus))
1138 $(eval $(call BuildPackage,luci-theme-freifunk))
1139 $(eval $(call BuildPackage,luci-theme-freifunk-bno))
1140 $(eval $(call BuildPackage,luci-theme-freifunk-hannover))
1141 $(eval $(call BuildPackage,luci-theme-openwrt))
1142 $(eval $(call BuildPackage,luci-theme-openwrtlight))
1144 $(eval $(call BuildPackage,luci-i18n-german))
1145 $(eval $(call BuildPackage,luci-i18n-english))
1146 $(eval $(call BuildPackage,luci-i18n-french))
1147 $(eval $(call BuildPackage,luci-i18n-italian))
1148 $(eval $(call BuildPackage,luci-i18n-russian))
1149 $(eval $(call BuildPackage,luci-i18n-portuguese_brazilian))
1150 $(eval $(call BuildPackage,luci-i18n-japanese))
1151 $(eval $(call BuildPackage,luci-i18n-greek))
1152 $(eval $(call BuildPackage,luci-i18n-catalan))
1153 $(eval $(call BuildPackage,luci-i18n-portuguese))