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/^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
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
130 config PACKAGE_luci-core_zipped
131 bool "Precompiled and compressed"
136 ifneq ($(CONFIG_PACKAGE_luci-core_compile),)
140 ifneq ($(CONFIG_PACKAGE_luci-core_stripped),)
144 ifneq ($(CONFIG_PACKAGE_luci-core_zipped),)
150 define Package/luci-cbi
151 $(call Package/luci/libtemplate)
152 DEPENDS+=+luci-web +luci-uvl +luci-uci
153 TITLE:=Configuration Binding Interface
156 define Package/luci-cbi/install
157 $(call Package/luci/install/template,$(1),libs/cbi)
161 define Package/luci-uci
162 $(call Package/luci/libtemplate)
164 TITLE:=High-Level UCI API
167 define Package/luci-uci/install
168 $(call Package/luci/install/template,$(1),libs/uci)
172 define Package/luci-fastindex
173 $(call Package/luci/libtemplate)
174 TITLE:=Fastindex indexing module
177 define Package/luci-fastindex/install
178 $(call Package/luci/install/template,$(1),libs/fastindex)
182 define Package/luci-http
183 $(call Package/luci/libtemplate)
184 TITLE:=HTTP Protocol implementation
187 define Package/luci-http/install
188 $(call Package/luci/install/template,$(1),libs/http)
192 define Package/luci-httpclient
193 $(call Package/luci/libtemplate)
194 TITLE:=HTTP(S) client library
195 DEPENDS+=+luci-http +luci-nixio
198 define Package/luci-httpclient/install
199 $(call Package/luci/install/template,$(1),libs/httpclient)
203 define Package/luci-ipkg
204 $(call Package/luci/libtemplate)
205 TITLE:=LuCI IPKG/OPKG call abstraction library
208 define Package/luci-ipkg/install
209 $(call Package/luci/install/template,$(1),libs/ipkg)
213 define Package/luci-json
214 $(call Package/luci/libtemplate)
215 TITLE:=LuCI JSON Library
218 define Package/luci-json/install
219 $(call Package/luci/install/template,$(1),libs/json)
223 define Package/luci-luanet
224 $(call Package/luci/libtemplate)
229 define Package/luci-luanet/install
230 $(call Package/luci/install/template,$(1),libs/luanet)
237 define Package/luci-nixio
238 $(call Package/luci/libtemplate)
239 TITLE:=NIXIO Socket Library
243 define Package/luci-nixio/install
244 $(call Package/luci/install/template,$(1),libs/nixio)
247 define Package/luci-nixio/config
249 prompt "TLS Provider"
250 default PACKAGE_luci-nixio_axtls
252 config PACKAGE_luci-nixio_axtls
253 bool "Builtin (axTLS)"
254 select PACKAGE_dropbear
255 select PACKAGE_dropbearconvert
257 config PACKAGE_luci-nixio_openssl
259 select PACKAGE_libopenssl
263 ifneq ($(CONFIG_PACKAGE_luci-nixio_openssl),)
268 define Package/luci-sys
269 $(call Package/luci/libtemplate)
270 TITLE:=LuCI Linux/POSIX system library
273 define Package/luci-sys/install
274 $(call Package/luci/install/template,$(1),libs/sys)
278 define Package/luci-web
279 $(call Package/luci/libtemplate)
280 DEPENDS+=+luci-http +luci-sys +luci-uci +luci-sgi-cgi
281 TITLE:=MVC Webframework
282 $(call Config,luci.main.lang,string,en,Default Language)
285 define Package/luci-web/conffiles
289 define Package/luci-web/install
290 $(call Package/luci/install/template,$(1),libs/web)
294 define Package/luci-uvl
295 $(call Package/luci/libtemplate)
296 DEPENDS+=+luci-sys +luci-uci +luci-core
297 TITLE:=UVL - UCI Validation Layer
300 define Package/luci-uvl/install
301 $(call Package/luci/install/template,$(1),libs/uvl)
308 define Package/luci-httpd
309 $(call Package/luci/httpdtemplate)
310 DEPENDS:=+luci-http +libuci
314 define Package/luci-httpd/install
315 $(call Package/luci/install/template,$(1),libs/lucittpd)
320 ### Community Packages ###
322 define Package/luci-freifunk-community
323 $(call Package/luci/fftemplate)
325 +luci-sgi-cgi +luci-app-splash \
326 +luci-app-ffwizard-leipzig \
328 +PACKAGE_luci-freifunk-community:olsrd-luci +PACKAGE_luci-freifunk-community:olsrd-luci-mod-dyn-gw-plain \
329 +PACKAGE_luci-freifunk-community:olsrd-luci-mod-txtinfo +PACKAGE_luci-freifunk-community:olsrd-luci-mod-nameservice \
330 +PACKAGE_luci-freifunk-community:olsrd-luci-mod-watchdog +PACKAGE_luci-freifunk-community:kmod-tun \
331 +PACKAGE_luci-freifunk-community:ip +luci-app-olsr
332 TITLE:=Freifunk Community Meta-Package
335 define Package/luci-freifunk-community/install
336 $(call Package/luci/install/template,$(1),applications/freifunk-community)
341 define Package/luci-admin-core
342 $(call Package/luci/webtemplate)
343 DEPENDS+=+luci-web +luci-cbi +luci-i18n-english
344 TITLE:=Web UI Core Module
347 define Package/luci-admin-core/conffiles
348 /etc/config/luci_hosts
349 /etc/config/luci_ethers
352 define Package/luci-admin-core/install
353 $(call Package/luci/install/template,$(1),modules/admin-core)
354 touch $(1)/etc/init.d/luci_fixtime || true
358 define Package/luci-admin-mini
359 $(call Package/luci/webtemplate)
360 DEPENDS+=+luci-admin-core
361 TITLE:=LuCI Essentials - stripped down and user-friendly
364 define Package/luci-admin-mini/install
365 $(call Package/luci/install/template,$(1),modules/admin-mini)
369 define Package/luci-admin-full
370 $(call Package/luci/webtemplate)
371 DEPENDS+=+luci-admin-core +luci-ipkg
372 TITLE:=LuCI Administration - full-featured for full control
375 define Package/luci-admin-full/install
376 $(call Package/luci/install/template,$(1),modules/admin-full)
380 define Package/luci-admin-rpc
381 $(call Package/luci/webtemplate)
383 TITLE:=LuCI RPC - JSON-RPC API
386 define Package/luci-admin-rpc/install
387 $(call Package/luci/install/template,$(1),modules/rpc)
391 define Package/luci-mod-freifunk
392 $(call Package/luci/fftemplate)
393 DEPENDS:=+luci-admin-full +luci-json
394 TITLE:=LuCI Freifunk module
397 define Package/luci-mod-freifunk/conffiles
401 define Package/luci-mod-freifunk/install
402 $(call Package/luci/install/template,$(1),modules/freifunk)
409 define Package/luci-app-ffwizard-leipzig
410 $(call Package/luci/fftemplate)
411 TITLE:=Freifunk Leipzig configuration wizard
414 define Package/luci-app-ffwizard-leipzig/install
415 $(call Package/luci/install/template,$(1),applications/luci-ffwizard-leipzig)
419 define Package/luci-app-siitwizard
420 $(call Package/luci/fftemplate)
421 TITLE:=SIIT IPv4-over-IPv6 configuration wizard
422 DEPENDS:=+luci-admin-core +PACKAGE_luci-app-siitwizard:kmod-siit
425 define Package/luci-app-siitwizard/install
426 $(call Package/luci/install/template,$(1),applications/luci-siitwizard)
430 define Package/luci-app-firewall
431 $(call Package/luci/webtemplate)
432 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-firewall:firewall
433 TITLE:=Firewall and Portforwarding application
436 define Package/luci-app-firewall/install
437 $(call Package/luci/install/template,$(1),applications/luci-fw)
441 define Package/luci-app-olsr
442 $(call Package/luci/webtemplate)
443 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-olsr:olsrd-luci +PACKAGE_luci-app-olsr:olsrd-luci-mod-txtinfo
444 TITLE:=OLSR configuration and status module
447 define Package/luci-app-olsr/install
448 $(call Package/luci/install/template,$(1),applications/luci-olsr)
452 define Package/luci-app-qos
453 $(call Package/luci/webtemplate)
454 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-qos:qos-scripts
455 TITLE:=Quality of Service configuration module
458 define Package/luci-app-qos/install
459 $(call Package/luci/install/template,$(1),applications/luci-qos)
463 define Package/luci-app-splash
464 $(call Package/luci/fftemplate)
465 DEPENDS+=+PACKAGE_luci-app-splash:luasocket
466 TITLE:=Freifunk DHCP-Splash application
469 define Package/luci-app-splash/conffiles
470 /etc/config/luci_splash
473 define Package/luci-app-splash/install
474 $(call Package/luci/install/template,$(1),applications/luci-splash)
478 define Package/luci-app-statistics
479 $(call Package/luci/webtemplate)
480 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-statistics:collectd \
481 +PACKAGE_luci-app-statistics:rrdtool1 \
482 +PACKAGE_luci-app-statistics:collectd-mod-rrdtool1 \
483 +PACKAGE_luci-app-statistics:collectd-mod-wireless \
484 +PACKAGE_luci-app-statistics:collectd-mod-interface \
485 +PACKAGE_luci-app-statistics:collectd-mod-load
486 TITLE:=LuCI Statistics Application
489 define Package/luci-app-statistics/conffiles
490 /etc/config/luci_statistics
493 define Package/luci-app-statistics/install
494 $(call Package/luci/install/template,$(1),applications/luci-statistics)
498 define Package/luci-app-upnp
499 $(call Package/luci/webtemplate)
500 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-upnp:miniupnpd
501 TITLE:=Universal Plug & Play configuration module
504 define Package/luci-app-upnp/install
505 $(call Package/luci/install/template,$(1),applications/luci-upnp)
509 define Package/luci-app-ntpc
510 $(call Package/luci/webtemplate)
511 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-ntpc:ntpclient
512 TITLE:=NTP time synchronisation client configuration module
515 define Package/luci-app-ntpc/install
516 $(call Package/luci/install/template,$(1),applications/luci-ntpc)
520 define Package/luci-app-ddns
521 $(call Package/luci/webtemplate)
522 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-ddns:ddns-scripts
523 TITLE:=Dynamic DNS configuration module
526 define Package/luci-app-ddns/install
527 $(call Package/luci/install/template,$(1),applications/luci-ddns)
531 define Package/luci-app-samba
532 $(call Package/luci/webtemplate)
533 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-samba:samba3
534 TITLE:=Network Shares - Samba SMB/CIFS module
537 define Package/luci-app-samba/install
538 $(call Package/luci/install/template,$(1),applications/luci-samba)
542 define Package/luci-app-uvc_streamer
543 $(call Package/luci/webtemplate)
544 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-uvc_streamer:uvc-streamer
545 TITLE:=Webcam Streaming - UVC-Streamer module
548 define Package/luci-app-uvc_streamer/install
549 $(call Package/luci/install/template,$(1),applications/luci-uvc_streamer)
553 define Package/luci-app-mmc_over_gpio
554 $(call Package/luci/webtemplate)
555 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-mmc_over_gpio:kmod-mmc-over-gpio
559 define Package/luci-app-mmc_over_gpio/install
560 $(call Package/luci/install/template,$(1),applications/luci-mmc_over_gpio)
564 define Package/luci-app-p910nd
565 $(call Package/luci/webtemplate)
566 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-p910nd:p910nd
567 TITLE:=p910nd - Printer server module
570 define Package/luci-app-p910nd/install
571 $(call Package/luci/install/template,$(1),applications/luci-p910nd)
575 define Package/luci-app-ushare
576 $(call Package/luci/webtemplate)
577 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-ushare:ushare
578 TITLE:=ushare - UPnP A/V & DLNA Media Server
581 define Package/luci-app-ushare/install
582 $(call Package/luci/install/template,$(1),applications/luci-ushare)
585 define Package/luci-app-hd_idle
586 $(call Package/luci/webtemplate)
587 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-hd_idle:hd-idle
591 define Package/luci-app-hd_idle/install
592 $(call Package/luci/install/template,$(1),applications/luci-hd_idle)
595 define Package/luci-app-tinyproxy
596 $(call Package/luci/webtemplate)
597 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-tinyproxy:tinyproxy
598 TITLE:=Tinyproxy - HTTP(S)-Proxy
601 define Package/luci-app-tinyproxy/install
602 $(call Package/luci/install/template,$(1),applications/luci-tinyproxy)
605 define Package/luci-app-initmgr
606 $(call Package/luci/webtemplate)
607 DEPENDS+=+luci-admin-full
608 TITLE:=LuCI Initscript Management
611 define Package/luci-app-initmgr/install
612 $(call Package/luci/install/template,$(1),applications/luci-initmgr)
615 define Package/luci-app-livestats
616 $(call Package/luci/webtemplate)
617 DEPENDS+=+luci-admin-core +luci-admin-rpc
618 TITLE:=LuCI Realtime Statistics
621 define Package/luci-app-livestats/install
622 $(call Package/luci/install/template,$(1),applications/luci-livestats)
625 define Package/luci-app-asterisk
626 $(call Package/luci/webtemplate)
627 TITLE:=LuCI Support for Asterisk PBX
628 DEPENDS+=@BROKEN +luci-admin-core +PACKAGE_luci-app-asterisk:asterisk14-xip-core
631 define Package/luci-app-asterisk/install
632 $(call Package/luci/install/template,$(1),applications/luci-asterisk)
635 define Package/luci-app-polipo
636 $(call Package/luci/webtemplate)
637 TITLE:=LuCI Support for the Polipo Proxy
638 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-polipo:polipo
641 define Package/luci-app-polipo/install
642 $(call Package/luci/install/template,$(1),applications/luci-polipo)
645 define Package/luci-app-openvpn
646 $(call Package/luci/webtemplate)
647 TITLE:=LuCI Support for OpenVPN
648 DEPENDS+=@BROKEN +luci-admin-core +PACKAGE_luci-app-openvpn:openvpn
651 define Package/luci-app-openvpn/install
652 $(call Package/luci/install/template,$(1),applications/luci-openvpn)
656 ### Server Gateway Interfaces ###
658 define Package/luci-sgi-cgi
659 $(call Package/luci/libtemplate)
663 define Package/luci-sgi-cgi/install
664 $(call Package/luci/install/template,$(1),libs/sgi-cgi)
667 define Package/luci-sgi-luci
668 $(call Package/luci/libtemplate)
670 TITLE:=SGI for LuCIttpd
673 define Package/luci-sgi-luci/install
674 $(call Package/luci/install/template,$(1),libs/sgi-luci)
677 define Package/luci-sgi-webuci
678 $(call Package/luci/libtemplate)
679 TITLE:=SGI for Webuci
682 define Package/luci-sgi-webuci/install
683 $(call Package/luci/install/template,$(1),libs/sgi-webuci)
687 define Package/luci-theme-base
688 $(call Package/luci/thtemplate)
690 TITLE:=Common base for all themes
693 define Package/luci-theme-base/install
694 $(call Package/luci/install/template,$(1),themes/base)
697 define Package/luci-theme-fledermaus
698 $(call Package/luci/fftemplate)
700 TITLE:=Fledermaus Theme
703 define Package/luci-theme-fledermaus/install
704 $(call Package/luci/install/template,$(1),themes/fledermaus)
707 define Package/luci-theme-freifunk
708 $(call Package/luci/fftemplate)
710 MAINTAINER:=Stefan Pirwitz <stefan-at-freifunk-bno-dot-de>
711 TITLE:=alternative Freifunk Theme
714 define Package/luci-theme-freifunk/install
715 $(call Package/luci/install/template,$(1),themes/freifunk)
718 define Package/luci-theme-freifunk-bno
719 $(call Package/luci/fftemplate)
721 MAINTAINER:=Stefan Pirwitz <stefan-at-freifunk-bno-dot-de>
722 TITLE:=Freifunk Berlin Nordost Theme
725 define Package/luci-theme-freifunk-bno/install
726 $(call Package/luci/install/template,$(1),themes/freifunk-bno)
729 define Package/luci-theme-openwrt
730 $(call Package/luci/thtemplate)
731 TITLE:=OpenWrt.org (default)
732 DEPENDS:=+luci-theme-base
735 define Package/luci-theme-openwrt/install
736 $(call Package/luci/install/template,$(1),themes/openwrt.org)
739 define Package/luci-theme-openwrtlight
740 $(call Package/luci/thtemplate)
741 TITLE:=OpenWrt.org - light variant without images
742 DEPENDS:=+luci-theme-base
745 define Package/luci-theme-openwrtlight/install
746 $(call Package/luci/install/template,$(1),themes/openwrt-light)
751 define Package/luci-i18n-german
752 $(call Package/luci/i18ntemplate)
756 define Package/luci-i18n-german/install
757 $(call Package/luci/install/template,$(1),i18n/german)
761 define Package/luci-i18n-english
762 $(call Package/luci/i18ntemplate)
766 define Package/luci-i18n-english/install
767 $(call Package/luci/install/template,$(1),i18n/english)
771 define Package/luci-i18n-french
772 $(call Package/luci/i18ntemplate)
773 TITLE:=French (by Florian Fainelli)
776 define Package/luci-i18n-french/install
777 $(call Package/luci/install/template,$(1),i18n/french)
781 define Package/luci-i18n-italian
782 $(call Package/luci/i18ntemplate)
783 TITLE:=Italian (by Matteo Croce)
786 define Package/luci-i18n-italian/install
787 $(call Package/luci/install/template,$(1),i18n/italian)
791 define Package/luci-i18n-russian
792 $(call Package/luci/i18ntemplate)
793 TITLE:=Russian (by Skryabin Dmitry)
796 define Package/luci-i18n-russian/install
797 $(call Package/luci/install/template,$(1),i18n/russian)
801 define Package/luci-i18n-portuguese_brazilian
802 $(call Package/luci/i18ntemplate)
803 TITLE:=Portuguese (Brazilian) (by Carlos Cesario)
806 define Package/luci-i18n-portuguese_brazilian/install
807 $(call Package/luci/install/template,$(1),i18n/portuguese_brazilian)
811 define Package/luci-i18n-japanese
812 $(call Package/luci/i18ntemplate)
813 TITLE:=Japanese (by Tsukasa Hamano)
816 define Package/luci-i18n-japanese/install
817 $(call Package/luci/install/template,$(1),i18n/japanese)
821 ifneq ($(CONFIG_PACKAGE_luci-core),)
822 PKG_SELECTED_MODULES+=libs/core
824 ifneq ($(CONFIG_PACKAGE_luci-cbi),)
825 PKG_SELECTED_MODULES+=libs/cbi
827 ifneq ($(CONFIG_PACKAGE_luci-fastindex),)
828 PKG_SELECTED_MODULES+=libs/fastindex
830 ifneq ($(CONFIG_PACKAGE_luci-http),)
831 PKG_SELECTED_MODULES+=libs/http
833 ifneq ($(CONFIG_PACKAGE_luci-httpclient),)
834 PKG_SELECTED_MODULES+=libs/httpclient
836 ifneq ($(CONFIG_PACKAGE_luci-ipkg),)
837 PKG_SELECTED_MODULES+=libs/ipkg
839 ifneq ($(CONFIG_PACKAGE_luci-json),)
840 PKG_SELECTED_MODULES+=libs/json
842 ifneq ($(CONFIG_PACKAGE_luci-luanet),)
843 PKG_SELECTED_MODULES+=libs/luanet
845 ifneq ($(CONFIG_PACKAGE_luci-nixio),)
846 PKG_SELECTED_MODULES+=libs/nixio
848 ifneq ($(CONFIG_PACKAGE_luci-uci),)
849 PKG_SELECTED_MODULES+=libs/uci
851 ifneq ($(CONFIG_PACKAGE_luci-sys),)
852 PKG_SELECTED_MODULES+=libs/sys
854 ifneq ($(CONFIG_PACKAGE_luci-web),)
855 PKG_SELECTED_MODULES+=libs/web
857 ifneq ($(CONFIG_PACKAGE_luci-uvl),)
858 PKG_SELECTED_MODULES+=libs/uvl
861 ifneq ($(CONFIG_PACKAGE_luci-httpd),)
862 PKG_SELECTED_MODULES+=libs/lucittpd
865 ifneq ($(CONFIG_PACKAGE_luci-admin-core),)
866 PKG_SELECTED_MODULES+=modules/admin-core
868 ifneq ($(CONFIG_PACKAGE_luci-admin-mini),)
869 PKG_SELECTED_MODULES+=modules/admin-mini
871 ifneq ($(CONFIG_PACKAGE_luci-admin-full),)
872 PKG_SELECTED_MODULES+=modules/admin-full
874 ifneq ($(CONFIG_PACKAGE_luci-admin-rpc),)
875 PKG_SELECTED_MODULES+=modules/rpc
877 ifneq ($(CONFIG_PACKAGE_luci-mod-freifunk),)
878 PKG_SELECTED_MODULES+=modules/freifunk
881 ifneq ($(CONFIG_PACKAGE_luci-freifunk-community),)
882 PKG_SELECTED_MODULES+=applications/freifunk-community
885 ifneq ($(CONFIG_PACKAGE_luci-app-ffwizard-leipzig),)
886 PKG_SELECTED_MODULES+=applications/luci-ffwizard-leipzig
888 ifneq ($(CONFIG_PACKAGE_luci-app-siitwizard),)
889 PKG_SELECTED_MODULES+=applications/luci-siitwizard
891 ifneq ($(CONFIG_PACKAGE_luci-app-firewall),)
892 PKG_SELECTED_MODULES+=applications/luci-fw
894 ifneq ($(CONFIG_PACKAGE_luci-app-olsr),)
895 PKG_SELECTED_MODULES+=applications/luci-olsr
897 ifneq ($(CONFIG_PACKAGE_luci-app-qos),)
898 PKG_SELECTED_MODULES+=applications/luci-qos
900 ifneq ($(CONFIG_PACKAGE_luci-app-splash),)
901 PKG_SELECTED_MODULES+=applications/luci-splash
903 ifneq ($(CONFIG_PACKAGE_luci-app-statistics),)
904 PKG_SELECTED_MODULES+=applications/luci-statistics
906 ifneq ($(CONFIG_PACKAGE_luci-app-upnp),)
907 PKG_SELECTED_MODULES+=applications/luci-upnp
909 ifneq ($(CONFIG_PACKAGE_luci-app-ntpc),)
910 PKG_SELECTED_MODULES+=applications/luci-ntpc
912 ifneq ($(CONFIG_PACKAGE_luci-app-ddns),)
913 PKG_SELECTED_MODULES+=applications/luci-ddns
915 ifneq ($(CONFIG_PACKAGE_luci-app-samba),)
916 PKG_SELECTED_MODULES+=applications/luci-samba
918 ifneq ($(CONFIG_PACKAGE_luci-app-uvc_streamer),)
919 PKG_SELECTED_MODULES+=applications/luci-uvc_streamer
921 ifneq ($(CONFIG_PACKAGE_luci-app-mmc_over_gpio),)
922 PKG_SELECTED_MODULES+=applications/luci-mmc_over_gpio
924 ifneq ($(CONFIG_PACKAGE_luci-app-p910nd),)
925 PKG_SELECTED_MODULES+=applications/luci-p910nd
927 ifneq ($(CONFIG_PACKAGE_luci-app-ushare),)
928 PKG_SELECTED_MODULES+=applications/luci-ushare
930 ifneq ($(CONFIG_PACKAGE_luci-app-hd_idle),)
931 PKG_SELECTED_MODULES+=applications/luci-hd_idle
933 ifneq ($(CONFIG_PACKAGE_luci-app-tinyproxy),)
934 PKG_SELECTED_MODULES+=applications/luci-tinyproxy
936 ifneq ($(CONFIG_PACKAGE_luci-app-initmgr),)
937 PKG_SELECTED_MODULES+=applications/luci-initmgr
939 ifneq ($(CONFIG_PACKAGE_luci-app-livestats),)
940 PKG_SELECTED_MODULES+=applications/luci-livestats
942 ifneq ($(CONFIG_PACKAGE_luci-app-asterisk),)
943 PKG_SELECTED_MODULES+=applications/luci-asterisk
945 ifneq ($(CONFIG_PACKAGE_luci-app-polipo),)
946 PKG_SELECTED_MODULES+=applications/luci-polipo
948 ifneq ($(CONFIG_PACKAGE_luci-app-openvpn),)
949 PKG_SELECTED_MODULES+=applications/luci-openvpn
953 ifneq ($(CONFIG_PACKAGE_luci-sgi-cgi),)
954 PKG_SELECTED_MODULES+=libs/sgi-cgi
956 ifneq ($(CONFIG_PACKAGE_luci-sgi-luci),)
957 PKG_SELECTED_MODULES+=libs/sgi-luci
959 ifneq ($(CONFIG_PACKAGE_luci-sgi-webuci),)
960 PKG_SELECTED_MODULES+=libs/sgi-webuci
963 ifneq ($(CONFIG_PACKAGE_luci-theme-base),)
964 PKG_SELECTED_MODULES+=themes/base
966 ifneq ($(CONFIG_PACKAGE_luci-theme-fledermaus),)
967 PKG_SELECTED_MODULES+=themes/fledermaus
969 ifneq ($(CONFIG_PACKAGE_luci-theme-freifunk-bno),)
970 PKG_SELECTED_MODULES+=themes/freifunk-bno
972 ifneq ($(CONFIG_PACKAGE_luci-theme-freifunk),)
973 PKG_SELECTED_MODULES+=themes/freifunk
975 ifneq ($(CONFIG_PACKAGE_luci-theme-openwrt),)
976 PKG_SELECTED_MODULES+=themes/openwrt.org
978 ifneq ($(CONFIG_PACKAGE_luci-theme-openwrtlight),)
979 PKG_SELECTED_MODULES+=themes/openwrt-light
982 ifneq ($(CONFIG_PACKAGE_luci-i18n-german),)
983 PKG_SELECTED_MODULES+=i18n/german
985 ifneq ($(CONFIG_PACKAGE_luci-i18n-english),)
986 PKG_SELECTED_MODULES+=i18n/english
988 ifneq ($(CONFIG_PACKAGE_luci-i18n-french),)
989 PKG_SELECTED_MODULES+=i18n/french
991 ifneq ($(CONFIG_PACKAGE_luci-i18n-italian),)
992 PKG_SELECTED_MODULES+=i18n/italian
994 ifneq ($(CONFIG_PACKAGE_luci-i18n-russian),)
995 PKG_SELECTED_MODULES+=i18n/russian
997 ifneq ($(CONFIG_PACKAGE_luci-i18n-portuguese_brazilian),)
998 PKG_SELECTED_MODULES+=i18n/portuguese_brazilian
1000 ifneq ($(CONFIG_PACKAGE_luci-i18n-japanese),)
1001 PKG_SELECTED_MODULES+=i18n/japanese
1006 MODULES="$(PKG_SELECTED_MODULES)" \
1007 LUA_TARGET="$(LUA_TARGET)" \
1008 LUA_SHLIBS="-llua -lm -ldl -lcrypt" \
1009 CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" \
1010 LDFLAGS="$(TARGET_LDFLAGS) -L$(STAGING_DIR)/usr/lib" \
1011 NIXIO_TLS="$(NIXIO_TLS)" OS="Linux"
1014 $(eval $(call BuildPackage,luci-core))
1015 $(eval $(call BuildPackage,luci-cbi))
1016 $(eval $(call BuildPackage,luci-fastindex))
1017 $(eval $(call BuildPackage,luci-http))
1018 $(eval $(call BuildPackage,luci-httpclient))
1019 $(eval $(call BuildPackage,luci-ipkg))
1020 $(eval $(call BuildPackage,luci-json))
1021 $(eval $(call BuildPackage,luci-luanet))
1022 $(eval $(call BuildPackage,luci-nixio))
1023 $(eval $(call BuildPackage,luci-uci))
1024 $(eval $(call BuildPackage,luci-sys))
1025 $(eval $(call BuildPackage,luci-web))
1026 $(eval $(call BuildPackage,luci-uvl))
1028 $(eval $(call BuildPackage,luci-httpd))
1030 $(eval $(call BuildPackage,luci-admin-core))
1031 $(eval $(call BuildPackage,luci-admin-mini))
1032 $(eval $(call BuildPackage,luci-admin-full))
1033 $(eval $(call BuildPackage,luci-admin-rpc))
1034 $(eval $(call BuildPackage,luci-mod-freifunk))
1036 $(eval $(call BuildPackage,luci-freifunk-community))
1038 $(eval $(call BuildPackage,luci-app-ffwizard-leipzig))
1039 $(eval $(call BuildPackage,luci-app-siitwizard))
1040 $(eval $(call BuildPackage,luci-app-firewall))
1041 $(eval $(call BuildPackage,luci-app-olsr))
1042 $(eval $(call BuildPackage,luci-app-qos))
1043 $(eval $(call BuildPackage,luci-app-splash))
1044 $(eval $(call BuildPackage,luci-app-statistics))
1045 $(eval $(call BuildPackage,luci-app-upnp))
1046 $(eval $(call BuildPackage,luci-app-ntpc))
1047 $(eval $(call BuildPackage,luci-app-ddns))
1048 $(eval $(call BuildPackage,luci-app-samba))
1049 $(eval $(call BuildPackage,luci-app-uvc_streamer))
1050 $(eval $(call BuildPackage,luci-app-mmc_over_gpio))
1051 $(eval $(call BuildPackage,luci-app-p910nd))
1052 $(eval $(call BuildPackage,luci-app-ushare))
1053 $(eval $(call BuildPackage,luci-app-hd_idle))
1054 $(eval $(call BuildPackage,luci-app-tinyproxy))
1055 $(eval $(call BuildPackage,luci-app-initmgr))
1056 $(eval $(call BuildPackage,luci-app-livestats))
1057 $(eval $(call BuildPackage,luci-app-asterisk))
1058 $(eval $(call BuildPackage,luci-app-polipo))
1059 $(eval $(call BuildPackage,luci-app-openvpn))
1061 $(eval $(call BuildPackage,luci-sgi-cgi))
1062 $(eval $(call BuildPackage,luci-sgi-luci))
1063 $(eval $(call BuildPackage,luci-sgi-webuci))
1065 $(eval $(call BuildPackage,luci-theme-base))
1066 $(eval $(call BuildPackage,luci-theme-fledermaus))
1067 $(eval $(call BuildPackage,luci-theme-freifunk))
1068 $(eval $(call BuildPackage,luci-theme-freifunk-bno))
1069 $(eval $(call BuildPackage,luci-theme-openwrt))
1070 $(eval $(call BuildPackage,luci-theme-openwrtlight))
1072 $(eval $(call BuildPackage,luci-i18n-german))
1073 $(eval $(call BuildPackage,luci-i18n-english))
1074 $(eval $(call BuildPackage,luci-i18n-french))
1075 $(eval $(call BuildPackage,luci-i18n-italian))
1076 $(eval $(call BuildPackage,luci-i18n-russian))
1077 $(eval $(call BuildPackage,luci-i18n-portuguese_brazilian))
1078 $(eval $(call BuildPackage,luci-i18n-japanese))