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
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),)
286 define Package/luci-sys
287 $(call Package/luci/libtemplate)
288 TITLE:=LuCI Linux/POSIX system library
291 define Package/luci-sys/install
292 $(call Package/luci/install/template,$(1),libs/sys)
296 define Package/luci-web
297 $(call Package/luci/libtemplate)
298 DEPENDS+=+luci-http +luci-sys +luci-uci +luci-lucid +luci-sgi-cgi
299 TITLE:=MVC Webframework
300 $(call Config,luci.main.lang,string,en,Default Language)
303 define Package/luci-web/conffiles
307 define Package/luci-web/install
308 $(call Package/luci/install/template,$(1),libs/web)
312 define Package/luci-uvl
313 $(call Package/luci/libtemplate)
314 DEPENDS+=+luci-sys +luci-uci +luci-core
315 TITLE:=UVL - UCI Validation Layer
318 define Package/luci-uvl/install
319 $(call Package/luci/install/template,$(1),libs/uvl)
326 define Package/luci-httpd
327 $(call Package/luci/httpdtemplate)
328 DEPENDS:=+luci-http +libuci
332 define Package/luci-httpd/install
333 $(call Package/luci/install/template,$(1),libs/lucittpd)
338 ### Community Packages ###
340 define Package/luci-freifunk-community
341 $(call Package/luci/fftemplate)
343 +luci-lucid +luci-sgi-cgi +luci-app-splash \
344 +luci-app-ffwizard-leipzig \
346 +PACKAGE_luci-freifunk-community:olsrd-luci +PACKAGE_luci-freifunk-community:olsrd-luci-mod-dyn-gw-plain \
347 +PACKAGE_luci-freifunk-community:olsrd-luci-mod-txtinfo +PACKAGE_luci-freifunk-community:olsrd-luci-mod-nameservice \
348 +PACKAGE_luci-freifunk-community:olsrd-luci-mod-watchdog +PACKAGE_luci-freifunk-community:kmod-tun \
349 +PACKAGE_luci-freifunk-community:ip +PACKAGE_luci-freifunk-community:freifunk-watchdog +luci-app-olsr
350 TITLE:=Freifunk Community Meta-Package
353 define Package/luci-freifunk-community/install
354 $(call Package/luci/install/template,$(1),applications/freifunk-community)
359 define Package/luci-admin-core
360 $(call Package/luci/webtemplate)
361 DEPENDS+=+luci-web +luci-cbi +luci-i18n-english
362 TITLE:=Web UI Core Module
365 define Package/luci-admin-core/conffiles
366 /etc/config/luci_hosts
367 /etc/config/luci_ethers
370 define Package/luci-admin-core/install
371 $(call Package/luci/install/template,$(1),modules/admin-core)
372 touch $(1)/etc/init.d/luci_fixtime || true
376 define Package/luci-admin-mini
377 $(call Package/luci/webtemplate)
378 DEPENDS+=+luci-admin-core
379 TITLE:=LuCI Essentials - stripped down and user-friendly
382 define Package/luci-admin-mini/install
383 $(call Package/luci/install/template,$(1),modules/admin-mini)
387 define Package/luci-admin-full
388 $(call Package/luci/webtemplate)
389 DEPENDS+=+luci-admin-core +luci-ipkg
390 TITLE:=LuCI Administration - full-featured for full control
393 define Package/luci-admin-full/install
394 $(call Package/luci/install/template,$(1),modules/admin-full)
398 define Package/luci-admin-rpc
399 $(call Package/luci/webtemplate)
401 TITLE:=LuCI RPC - JSON-RPC API
404 define Package/luci-admin-rpc/install
405 $(call Package/luci/install/template,$(1),modules/rpc)
409 define Package/luci-mod-freifunk
410 $(call Package/luci/fftemplate)
411 DEPENDS:=+luci-admin-full +luci-json
412 TITLE:=LuCI Freifunk module
415 define Package/luci-mod-freifunk/conffiles
419 define Package/luci-mod-freifunk/install
420 $(call Package/luci/install/template,$(1),modules/freifunk)
427 define Package/luci-app-ffwizard-leipzig
428 $(call Package/luci/fftemplate)
429 TITLE:=Freifunk Leipzig configuration wizard
432 define Package/luci-app-ffwizard-leipzig/install
433 $(call Package/luci/install/template,$(1),applications/luci-ffwizard-leipzig)
437 define Package/luci-app-siitwizard
438 $(call Package/luci/fftemplate)
439 TITLE:=SIIT IPv4-over-IPv6 configuration wizard
440 DEPENDS:=+luci-admin-core +PACKAGE_luci-app-siitwizard:kmod-siit
443 define Package/luci-app-siitwizard/install
444 $(call Package/luci/install/template,$(1),applications/luci-siitwizard)
448 define Package/luci-app-firewall
449 $(call Package/luci/webtemplate)
450 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-firewall:firewall
451 TITLE:=Firewall and Portforwarding application
454 define Package/luci-app-firewall/install
455 $(call Package/luci/install/template,$(1),applications/luci-fw)
459 define Package/luci-app-olsr
460 $(call Package/luci/webtemplate)
461 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-olsr:olsrd-luci +PACKAGE_luci-app-olsr:olsrd-luci-mod-txtinfo
462 TITLE:=OLSR configuration and status module
465 define Package/luci-app-olsr/install
466 $(call Package/luci/install/template,$(1),applications/luci-olsr)
470 define Package/luci-app-qos
471 $(call Package/luci/webtemplate)
472 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-qos:qos-scripts
473 TITLE:=Quality of Service configuration module
476 define Package/luci-app-qos/install
477 $(call Package/luci/install/template,$(1),applications/luci-qos)
481 define Package/luci-app-splash
482 $(call Package/luci/fftemplate)
483 DEPENDS+=+PACKAGE_luci-app-splash:luci-nixio +PACKAGE_luci-app-splash:iptables-mod-nat-extra
484 TITLE:=Freifunk DHCP-Splash application
487 define Package/luci-app-splash/conffiles
488 /etc/config/luci_splash
491 define Package/luci-app-splash/install
492 $(call Package/luci/install/template,$(1),applications/luci-splash)
496 define Package/luci-app-statistics
497 $(call Package/luci/webtemplate)
498 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-statistics:collectd \
499 +PACKAGE_luci-app-statistics:rrdtool1 \
500 +PACKAGE_luci-app-statistics:collectd-mod-rrdtool1 \
501 +PACKAGE_luci-app-statistics:collectd-mod-wireless \
502 +PACKAGE_luci-app-statistics:collectd-mod-interface \
503 +PACKAGE_luci-app-statistics:collectd-mod-load
504 TITLE:=LuCI Statistics Application
507 define Package/luci-app-statistics/conffiles
508 /etc/config/luci_statistics
511 define Package/luci-app-statistics/install
512 $(call Package/luci/install/template,$(1),applications/luci-statistics)
516 define Package/luci-app-upnp
517 $(call Package/luci/webtemplate)
518 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-upnp:miniupnpd
519 TITLE:=Universal Plug & Play configuration module
522 define Package/luci-app-upnp/install
523 $(call Package/luci/install/template,$(1),applications/luci-upnp)
527 define Package/luci-app-ntpc
528 $(call Package/luci/webtemplate)
529 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-ntpc:ntpclient
530 TITLE:=NTP time synchronisation client configuration module
533 define Package/luci-app-ntpc/install
534 $(call Package/luci/install/template,$(1),applications/luci-ntpc)
538 define Package/luci-app-ddns
539 $(call Package/luci/webtemplate)
540 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-ddns:ddns-scripts
541 TITLE:=Dynamic DNS configuration module
544 define Package/luci-app-ddns/install
545 $(call Package/luci/install/template,$(1),applications/luci-ddns)
549 define Package/luci-app-samba
550 $(call Package/luci/webtemplate)
551 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-samba:samba3
552 TITLE:=Network Shares - Samba SMB/CIFS module
555 define Package/luci-app-samba/install
556 $(call Package/luci/install/template,$(1),applications/luci-samba)
560 define Package/luci-app-uvc_streamer
561 $(call Package/luci/webtemplate)
562 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-uvc_streamer:uvc-streamer
563 TITLE:=Webcam Streaming - UVC-Streamer module
566 define Package/luci-app-uvc_streamer/install
567 $(call Package/luci/install/template,$(1),applications/luci-uvc_streamer)
571 define Package/luci-app-mmc_over_gpio
572 $(call Package/luci/webtemplate)
573 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-mmc_over_gpio:kmod-mmc-over-gpio
577 define Package/luci-app-mmc_over_gpio/install
578 $(call Package/luci/install/template,$(1),applications/luci-mmc_over_gpio)
582 define Package/luci-app-p910nd
583 $(call Package/luci/webtemplate)
584 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-p910nd:p910nd
585 TITLE:=p910nd - Printer server module
588 define Package/luci-app-p910nd/install
589 $(call Package/luci/install/template,$(1),applications/luci-p910nd)
593 define Package/luci-app-ushare
594 $(call Package/luci/webtemplate)
595 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-ushare:ushare
596 TITLE:=ushare - UPnP A/V & DLNA Media Server
599 define Package/luci-app-ushare/install
600 $(call Package/luci/install/template,$(1),applications/luci-ushare)
603 define Package/luci-app-hd_idle
604 $(call Package/luci/webtemplate)
605 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-hd_idle:hd-idle
609 define Package/luci-app-hd_idle/install
610 $(call Package/luci/install/template,$(1),applications/luci-hd_idle)
613 define Package/luci-app-tinyproxy
614 $(call Package/luci/webtemplate)
615 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-tinyproxy:tinyproxy
616 TITLE:=Tinyproxy - HTTP(S)-Proxy
619 define Package/luci-app-tinyproxy/install
620 $(call Package/luci/install/template,$(1),applications/luci-tinyproxy)
623 define Package/luci-app-initmgr
624 $(call Package/luci/webtemplate)
625 DEPENDS+=+luci-admin-full
626 TITLE:=LuCI Initscript Management
629 define Package/luci-app-initmgr/install
630 $(call Package/luci/install/template,$(1),applications/luci-initmgr)
633 define Package/luci-app-livestats
634 $(call Package/luci/webtemplate)
635 DEPENDS+=+luci-admin-core +luci-admin-rpc
636 TITLE:=LuCI Realtime Statistics
639 define Package/luci-app-livestats/install
640 $(call Package/luci/install/template,$(1),applications/luci-livestats)
643 define Package/luci-app-asterisk
644 $(call Package/luci/webtemplate)
645 TITLE:=LuCI Support for Asterisk PBX
646 DEPENDS+=@BROKEN +luci-admin-core +PACKAGE_luci-app-asterisk:asterisk14-xip-core
649 define Package/luci-app-asterisk/install
650 $(call Package/luci/install/template,$(1),applications/luci-asterisk)
653 define Package/luci-app-polipo
654 $(call Package/luci/webtemplate)
655 TITLE:=LuCI Support for the Polipo Proxy
656 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-polipo:polipo
659 define Package/luci-app-polipo/install
660 $(call Package/luci/install/template,$(1),applications/luci-polipo)
663 define Package/luci-app-openvpn
664 $(call Package/luci/webtemplate)
665 TITLE:=LuCI Support for OpenVPN
666 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-openvpn:openvpn
669 define Package/luci-app-openvpn/install
670 $(call Package/luci/install/template,$(1),applications/luci-openvpn)
674 ### Server Gateway Interfaces ###
676 define Package/luci-sgi-cgi
677 $(call Package/luci/libtemplate)
681 define Package/luci-sgi-cgi/install
682 $(call Package/luci/install/template,$(1),libs/sgi-cgi)
686 define Package/luci-theme-base
687 $(call Package/luci/thtemplate)
689 TITLE:=Common base for all themes
692 define Package/luci-theme-base/install
693 $(call Package/luci/install/template,$(1),themes/base)
696 define Package/luci-theme-fledermaus
697 $(call Package/luci/fftemplate)
699 TITLE:=Fledermaus Theme
702 define Package/luci-theme-fledermaus/install
703 $(call Package/luci/install/template,$(1),themes/fledermaus)
706 define Package/luci-theme-freifunk
707 $(call Package/luci/fftemplate)
709 MAINTAINER:=Stefan Pirwitz <stefan-at-freifunk-bno-dot-de>
710 TITLE:=alternative Freifunk Theme
713 define Package/luci-theme-freifunk/install
714 $(call Package/luci/install/template,$(1),themes/freifunk)
717 define Package/luci-theme-freifunk-bno
718 $(call Package/luci/fftemplate)
720 MAINTAINER:=Stefan Pirwitz <stefan-at-freifunk-bno-dot-de>
721 TITLE:=Freifunk Berlin Nordost Theme
724 define Package/luci-theme-freifunk-bno/install
725 $(call Package/luci/install/template,$(1),themes/freifunk-bno)
728 define Package/luci-theme-freifunk-hannover
729 $(call Package/luci/fftemplate)
731 MAINTAINER:=Mikolas Bingemer <mickey-at-freifunk-hannover-dot-de>
732 TITLE:=Freifunk Hannover Theme
735 define Package/luci-theme-freifunk-hannover/install
736 $(call Package/luci/install/template,$(1),themes/freifunk-hannover)
739 define Package/luci-theme-openwrt
740 $(call Package/luci/thtemplate)
741 TITLE:=OpenWrt.org (default)
742 DEPENDS:=+luci-theme-base
745 define Package/luci-theme-openwrt/install
746 $(call Package/luci/install/template,$(1),themes/openwrt.org)
749 define Package/luci-theme-openwrtlight
750 $(call Package/luci/thtemplate)
751 TITLE:=OpenWrt.org - light variant without images
752 DEPENDS:=+luci-theme-base
755 define Package/luci-theme-openwrtlight/install
756 $(call Package/luci/install/template,$(1),themes/openwrt-light)
761 define Package/luci-i18n-german
762 $(call Package/luci/i18ntemplate)
766 define Package/luci-i18n-german/install
767 $(call Package/luci/install/template,$(1),i18n/german)
771 define Package/luci-i18n-english
772 $(call Package/luci/i18ntemplate)
776 define Package/luci-i18n-english/install
777 $(call Package/luci/install/template,$(1),i18n/english)
781 define Package/luci-i18n-french
782 $(call Package/luci/i18ntemplate)
783 TITLE:=French (by Florian Fainelli)
786 define Package/luci-i18n-french/install
787 $(call Package/luci/install/template,$(1),i18n/french)
791 define Package/luci-i18n-italian
792 $(call Package/luci/i18ntemplate)
793 TITLE:=Italian (by Matteo Croce)
796 define Package/luci-i18n-italian/install
797 $(call Package/luci/install/template,$(1),i18n/italian)
801 define Package/luci-i18n-russian
802 $(call Package/luci/i18ntemplate)
803 TITLE:=Russian (by Skryabin Dmitry)
806 define Package/luci-i18n-russian/install
807 $(call Package/luci/install/template,$(1),i18n/russian)
811 define Package/luci-i18n-portuguese_brazilian
812 $(call Package/luci/i18ntemplate)
813 TITLE:=Portuguese (Brazilian) (by Carlos Cesario)
816 define Package/luci-i18n-portuguese_brazilian/install
817 $(call Package/luci/install/template,$(1),i18n/portuguese_brazilian)
821 define Package/luci-i18n-japanese
822 $(call Package/luci/i18ntemplate)
823 TITLE:=Japanese (by Tsukasa Hamano)
826 define Package/luci-i18n-japanese/install
827 $(call Package/luci/install/template,$(1),i18n/japanese)
831 define Package/luci-i18n-greek
832 $(call Package/luci/i18ntemplate)
833 TITLE:=Greek (by Vasilis Tsiligiannis)
836 define Package/luci-i18n-greek/install
837 $(call Package/luci/install/template,$(1),i18n/greek)
841 define Package/luci-i18n-catalan
842 $(call Package/luci/i18ntemplate)
843 TITLE:=Catalan (by Eduard Duran)
846 define Package/luci-i18n-catalan/install
847 $(call Package/luci/install/template,$(1),i18n/catalan)
851 define Package/luci-i18n-portuguese
852 $(call Package/luci/i18ntemplate)
853 TITLE:=Portuguese (by Jose Monteiro)
856 define Package/luci-i18n-portuguese/install
857 $(call Package/luci/install/template,$(1),i18n/portuguese)
862 ifneq ($(CONFIG_PACKAGE_luci-core),)
863 PKG_SELECTED_MODULES+=libs/core
865 ifneq ($(CONFIG_PACKAGE_luci-cbi),)
866 PKG_SELECTED_MODULES+=libs/cbi
868 ifneq ($(CONFIG_PACKAGE_luci-fastindex),)
869 PKG_SELECTED_MODULES+=libs/fastindex
871 ifneq ($(CONFIG_PACKAGE_luci-http),)
872 PKG_SELECTED_MODULES+=libs/http
874 ifneq ($(CONFIG_PACKAGE_luci-httpclient),)
875 PKG_SELECTED_MODULES+=libs/httpclient
877 ifneq ($(CONFIG_PACKAGE_luci-ipkg),)
878 PKG_SELECTED_MODULES+=libs/ipkg
880 ifneq ($(CONFIG_PACKAGE_luci-json),)
881 PKG_SELECTED_MODULES+=libs/json
883 ifneq ($(CONFIG_PACKAGE_luci-luanet),)
884 PKG_SELECTED_MODULES+=libs/luanet
886 ifneq ($(CONFIG_PACKAGE_luci-lucid),)
887 PKG_SELECTED_MODULES+=libs/lucid libs/lucid-http
889 ifneq ($(CONFIG_PACKAGE_luci-nixio),)
890 PKG_SELECTED_MODULES+=libs/nixio
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-httpd),)
906 PKG_SELECTED_MODULES+=libs/lucittpd
909 ifneq ($(CONFIG_PACKAGE_luci-admin-core),)
910 PKG_SELECTED_MODULES+=modules/admin-core
912 ifneq ($(CONFIG_PACKAGE_luci-admin-mini),)
913 PKG_SELECTED_MODULES+=modules/admin-mini
915 ifneq ($(CONFIG_PACKAGE_luci-admin-full),)
916 PKG_SELECTED_MODULES+=modules/admin-full
918 ifneq ($(CONFIG_PACKAGE_luci-admin-rpc),)
919 PKG_SELECTED_MODULES+=modules/rpc
921 ifneq ($(CONFIG_PACKAGE_luci-mod-freifunk),)
922 PKG_SELECTED_MODULES+=modules/freifunk
925 ifneq ($(CONFIG_PACKAGE_luci-freifunk-community),)
926 PKG_SELECTED_MODULES+=applications/freifunk-community
929 ifneq ($(CONFIG_PACKAGE_luci-app-ffwizard-leipzig),)
930 PKG_SELECTED_MODULES+=applications/luci-ffwizard-leipzig
932 ifneq ($(CONFIG_PACKAGE_luci-app-siitwizard),)
933 PKG_SELECTED_MODULES+=applications/luci-siitwizard
935 ifneq ($(CONFIG_PACKAGE_luci-app-firewall),)
936 PKG_SELECTED_MODULES+=applications/luci-fw
938 ifneq ($(CONFIG_PACKAGE_luci-app-olsr),)
939 PKG_SELECTED_MODULES+=applications/luci-olsr
941 ifneq ($(CONFIG_PACKAGE_luci-app-qos),)
942 PKG_SELECTED_MODULES+=applications/luci-qos
944 ifneq ($(CONFIG_PACKAGE_luci-app-splash),)
945 PKG_SELECTED_MODULES+=applications/luci-splash
947 ifneq ($(CONFIG_PACKAGE_luci-app-statistics),)
948 PKG_SELECTED_MODULES+=applications/luci-statistics
950 ifneq ($(CONFIG_PACKAGE_luci-app-upnp),)
951 PKG_SELECTED_MODULES+=applications/luci-upnp
953 ifneq ($(CONFIG_PACKAGE_luci-app-ntpc),)
954 PKG_SELECTED_MODULES+=applications/luci-ntpc
956 ifneq ($(CONFIG_PACKAGE_luci-app-ddns),)
957 PKG_SELECTED_MODULES+=applications/luci-ddns
959 ifneq ($(CONFIG_PACKAGE_luci-app-samba),)
960 PKG_SELECTED_MODULES+=applications/luci-samba
962 ifneq ($(CONFIG_PACKAGE_luci-app-uvc_streamer),)
963 PKG_SELECTED_MODULES+=applications/luci-uvc_streamer
965 ifneq ($(CONFIG_PACKAGE_luci-app-mmc_over_gpio),)
966 PKG_SELECTED_MODULES+=applications/luci-mmc_over_gpio
968 ifneq ($(CONFIG_PACKAGE_luci-app-p910nd),)
969 PKG_SELECTED_MODULES+=applications/luci-p910nd
971 ifneq ($(CONFIG_PACKAGE_luci-app-ushare),)
972 PKG_SELECTED_MODULES+=applications/luci-ushare
974 ifneq ($(CONFIG_PACKAGE_luci-app-hd_idle),)
975 PKG_SELECTED_MODULES+=applications/luci-hd_idle
977 ifneq ($(CONFIG_PACKAGE_luci-app-tinyproxy),)
978 PKG_SELECTED_MODULES+=applications/luci-tinyproxy
980 ifneq ($(CONFIG_PACKAGE_luci-app-initmgr),)
981 PKG_SELECTED_MODULES+=applications/luci-initmgr
983 ifneq ($(CONFIG_PACKAGE_luci-app-livestats),)
984 PKG_SELECTED_MODULES+=applications/luci-livestats
986 ifneq ($(CONFIG_PACKAGE_luci-app-asterisk),)
987 PKG_SELECTED_MODULES+=applications/luci-asterisk
989 ifneq ($(CONFIG_PACKAGE_luci-app-polipo),)
990 PKG_SELECTED_MODULES+=applications/luci-polipo
992 ifneq ($(CONFIG_PACKAGE_luci-app-openvpn),)
993 PKG_SELECTED_MODULES+=applications/luci-openvpn
997 ifneq ($(CONFIG_PACKAGE_luci-sgi-cgi),)
998 PKG_SELECTED_MODULES+=libs/sgi-cgi
1000 ifneq ($(CONFIG_PACKAGE_luci-sgi-luci),)
1001 PKG_SELECTED_MODULES+=libs/sgi-luci
1003 ifneq ($(CONFIG_PACKAGE_luci-sgi-webuci),)
1004 PKG_SELECTED_MODULES+=libs/sgi-webuci
1007 ifneq ($(CONFIG_PACKAGE_luci-theme-base),)
1008 PKG_SELECTED_MODULES+=themes/base
1010 ifneq ($(CONFIG_PACKAGE_luci-theme-fledermaus),)
1011 PKG_SELECTED_MODULES+=themes/fledermaus
1013 ifneq ($(CONFIG_PACKAGE_luci-theme-freifunk-bno),)
1014 PKG_SELECTED_MODULES+=themes/freifunk-bno
1016 ifneq ($(CONFIG_PACKAGE_luci-theme-freifunk-hannover),)
1017 PKG_SELECTED_MODULES+=themes/freifunk-hannover
1019 ifneq ($(CONFIG_PACKAGE_luci-theme-freifunk),)
1020 PKG_SELECTED_MODULES+=themes/freifunk
1022 ifneq ($(CONFIG_PACKAGE_luci-theme-openwrt),)
1023 PKG_SELECTED_MODULES+=themes/openwrt.org
1025 ifneq ($(CONFIG_PACKAGE_luci-theme-openwrtlight),)
1026 PKG_SELECTED_MODULES+=themes/openwrt-light
1029 ifneq ($(CONFIG_PACKAGE_luci-i18n-german),)
1030 PKG_SELECTED_MODULES+=i18n/german
1032 ifneq ($(CONFIG_PACKAGE_luci-i18n-english),)
1033 PKG_SELECTED_MODULES+=i18n/english
1035 ifneq ($(CONFIG_PACKAGE_luci-i18n-french),)
1036 PKG_SELECTED_MODULES+=i18n/french
1038 ifneq ($(CONFIG_PACKAGE_luci-i18n-italian),)
1039 PKG_SELECTED_MODULES+=i18n/italian
1041 ifneq ($(CONFIG_PACKAGE_luci-i18n-russian),)
1042 PKG_SELECTED_MODULES+=i18n/russian
1044 ifneq ($(CONFIG_PACKAGE_luci-i18n-portuguese_brazilian),)
1045 PKG_SELECTED_MODULES+=i18n/portuguese_brazilian
1047 ifneq ($(CONFIG_PACKAGE_luci-i18n-japanese),)
1048 PKG_SELECTED_MODULES+=i18n/japanese
1050 ifneq ($(CONFIG_PACKAGE_luci-i18n-greek),)
1051 PKG_SELECTED_MODULES+=i18n/greek
1053 ifneq ($(CONFIG_PACKAGE_luci-i18n-catalan),)
1054 PKG_SELECTED_MODULES+=i18n/catalan
1056 ifneq ($(CONFIG_PACKAGE_luci-i18n-portuguese),)
1057 PKG_SELECTED_MODULES+=i18n/portuguese
1062 MODULES="$(PKG_SELECTED_MODULES)" \
1063 LUA_TARGET="$(LUA_TARGET)" \
1064 LUA_SHLIBS="-llua -lm -ldl -lcrypt" \
1065 CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" \
1066 LDFLAGS="$(TARGET_LDFLAGS) -L$(STAGING_DIR)/usr/lib" \
1067 NIXIO_TLS="$(NIXIO_TLS)" OS="Linux"
1070 $(eval $(call BuildPackage,luci-core))
1071 $(eval $(call BuildPackage,luci-cbi))
1072 $(eval $(call BuildPackage,luci-fastindex))
1073 $(eval $(call BuildPackage,luci-http))
1074 $(eval $(call BuildPackage,luci-httpclient))
1075 $(eval $(call BuildPackage,luci-ipkg))
1076 $(eval $(call BuildPackage,luci-json))
1077 $(eval $(call BuildPackage,luci-luanet))
1078 $(eval $(call BuildPackage,luci-lucid))
1079 $(eval $(call BuildPackage,luci-nixio))
1080 $(eval $(call BuildPackage,luci-uci))
1081 $(eval $(call BuildPackage,luci-sys))
1082 $(eval $(call BuildPackage,luci-web))
1083 $(eval $(call BuildPackage,luci-uvl))
1085 $(eval $(call BuildPackage,luci-httpd))
1087 $(eval $(call BuildPackage,luci-admin-core))
1088 $(eval $(call BuildPackage,luci-admin-mini))
1089 $(eval $(call BuildPackage,luci-admin-full))
1090 $(eval $(call BuildPackage,luci-admin-rpc))
1091 $(eval $(call BuildPackage,luci-mod-freifunk))
1093 $(eval $(call BuildPackage,luci-freifunk-community))
1095 $(eval $(call BuildPackage,luci-app-ffwizard-leipzig))
1096 $(eval $(call BuildPackage,luci-app-siitwizard))
1097 $(eval $(call BuildPackage,luci-app-firewall))
1098 $(eval $(call BuildPackage,luci-app-olsr))
1099 $(eval $(call BuildPackage,luci-app-qos))
1100 $(eval $(call BuildPackage,luci-app-splash))
1101 $(eval $(call BuildPackage,luci-app-statistics))
1102 $(eval $(call BuildPackage,luci-app-upnp))
1103 $(eval $(call BuildPackage,luci-app-ntpc))
1104 $(eval $(call BuildPackage,luci-app-ddns))
1105 $(eval $(call BuildPackage,luci-app-samba))
1106 $(eval $(call BuildPackage,luci-app-uvc_streamer))
1107 $(eval $(call BuildPackage,luci-app-mmc_over_gpio))
1108 $(eval $(call BuildPackage,luci-app-p910nd))
1109 $(eval $(call BuildPackage,luci-app-ushare))
1110 $(eval $(call BuildPackage,luci-app-hd_idle))
1111 $(eval $(call BuildPackage,luci-app-tinyproxy))
1112 $(eval $(call BuildPackage,luci-app-initmgr))
1113 $(eval $(call BuildPackage,luci-app-livestats))
1114 $(eval $(call BuildPackage,luci-app-asterisk))
1115 $(eval $(call BuildPackage,luci-app-polipo))
1116 $(eval $(call BuildPackage,luci-app-openvpn))
1118 $(eval $(call BuildPackage,luci-sgi-cgi))
1120 $(eval $(call BuildPackage,luci-theme-base))
1121 $(eval $(call BuildPackage,luci-theme-fledermaus))
1122 $(eval $(call BuildPackage,luci-theme-freifunk))
1123 $(eval $(call BuildPackage,luci-theme-freifunk-bno))
1124 $(eval $(call BuildPackage,luci-theme-freifunk-hannover))
1125 $(eval $(call BuildPackage,luci-theme-openwrt))
1126 $(eval $(call BuildPackage,luci-theme-openwrtlight))
1128 $(eval $(call BuildPackage,luci-i18n-german))
1129 $(eval $(call BuildPackage,luci-i18n-english))
1130 $(eval $(call BuildPackage,luci-i18n-french))
1131 $(eval $(call BuildPackage,luci-i18n-italian))
1132 $(eval $(call BuildPackage,luci-i18n-russian))
1133 $(eval $(call BuildPackage,luci-i18n-portuguese_brazilian))
1134 $(eval $(call BuildPackage,luci-i18n-japanese))
1135 $(eval $(call BuildPackage,luci-i18n-greek))
1136 $(eval $(call BuildPackage,luci-i18n-catalan))
1137 $(eval $(call BuildPackage,luci-i18n-portuguese))