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
31 PKG_SELECTED_MODULES:=
33 ifeq ($(BOARD),brcm-2.4)
34 MAKE_FLAGS += CRAP="1"
38 include $(INCLUDE_DIR)/package.mk
42 mkdir -p $(PKG_BUILD_DIR)
43 $(TAR) c -C ../../../ . \
44 --exclude=.pc --exclude=.svn --exclude=.git \
45 --exclude='boa-0*' --exclude='*.o' --exclude='*.so' \
47 tar x -C $(PKG_BUILD_DIR)/
51 define Build/Configure
56 define Package/luci/libtemplate
59 TITLE:=LuCI - Lua Configuration Interface
60 URL:=http://luci.freifunk-halle.net/
61 MAINTAINER:=Steven Barth <steven-at-midlink-dot-org>
66 define Package/luci/fftemplate
67 $(call Package/luci/libtemplate)
69 DEPENDS:=+luci-mod-freifunk
72 define Package/luci/i18ntemplate
73 $(call Package/luci/libtemplate)
78 define Package/luci/thtemplate
79 $(call Package/luci/libtemplate)
84 define Package/luci/webtemplate
85 $(call Package/luci/libtemplate)
90 define Package/luci/install/template
91 $(CP) -a $(PKG_BUILD_DIR)/$(2)/dist/* $(1)/ -R
92 $(CP) -a $(PKG_BUILD_DIR)/$(2)/ipkg/* $(1)/CONTROL/ 2>/dev/null || true
99 define Package/luci-core
100 $(call Package/luci/libtemplate)
101 DEPENDS:=+lua +luci-nixio
102 TITLE:=LuCI core libraries
105 define Package/luci-core/install
106 $(call Package/luci/install/template,$(1),libs/core)
107 $(PKG_BUILD_DIR)/build/mkversion.sh $(1)/usr/lib/lua/luci/version.lua \
109 "$(OPENWRTVERSION)" \
114 define Package/luci-core/config
116 prompt "Build Target"
117 default PACKAGE_luci-core_source
119 config PACKAGE_luci-core_compile
122 config PACKAGE_luci-core_stripped
125 config PACKAGE_luci-core_source
131 ifneq ($(CONFIG_PACKAGE_luci-core_compile),)
135 ifneq ($(CONFIG_PACKAGE_luci-core_stripped),)
139 ifneq ($(CONFIG_PACKAGE_luci-core_zipped),)
145 define Package/luci-cbi
146 $(call Package/luci/libtemplate)
147 DEPENDS+=+luci-web +luci-uvl +luci-uci
148 TITLE:=Configuration Binding Interface
151 define Package/luci-cbi/install
152 $(call Package/luci/install/template,$(1),libs/cbi)
156 define Package/luci-uci
157 $(call Package/luci/libtemplate)
159 TITLE:=High-Level UCI API
162 define Package/luci-uci/install
163 $(call Package/luci/install/template,$(1),libs/uci)
167 define Package/luci-fastindex
168 $(call Package/luci/libtemplate)
169 TITLE:=Fastindex indexing module
172 define Package/luci-fastindex/install
173 $(call Package/luci/install/template,$(1),libs/fastindex)
177 define Package/luci-http
178 $(call Package/luci/libtemplate)
179 TITLE:=HTTP Protocol implementation
182 define Package/luci-http/install
183 $(call Package/luci/install/template,$(1),libs/http)
187 define Package/luci-httpclient
188 $(call Package/luci/libtemplate)
189 TITLE:=HTTP(S) client library
190 DEPENDS+=+luci-http +luci-nixio
193 define Package/luci-httpclient/install
194 $(call Package/luci/install/template,$(1),libs/httpclient)
198 define Package/luci-ipkg
199 $(call Package/luci/libtemplate)
200 TITLE:=LuCI IPKG/OPKG call abstraction library
203 define Package/luci-ipkg/install
204 $(call Package/luci/install/template,$(1),libs/ipkg)
208 define Package/luci-json
209 $(call Package/luci/libtemplate)
210 TITLE:=LuCI JSON Library
213 define Package/luci-json/install
214 $(call Package/luci/install/template,$(1),libs/json)
218 define Package/luci-lmo
219 $(call Package/luci/libtemplate)
223 define Package/luci-lmo/install
224 $(call Package/luci/install/template,$(1),libs/lmo)
228 define Package/luci-luanet
229 $(call Package/luci/libtemplate)
234 define Package/luci-luanet/install
235 $(call Package/luci/install/template,$(1),libs/luanet)
239 define Package/luci-lucid
240 $(call Package/luci/libtemplate)
241 TITLE:=LuCId Superserver
242 DEPENDS+=+luci-nixio +luci-http +luci-px5g
245 define Package/luci-lucid/install
246 $(call Package/luci/install/template,$(1),libs/lucid)
247 $(call Package/luci/install/template,$(1),libs/lucid-http)
254 define Package/luci-nixio
255 $(call Package/luci/libtemplate)
256 TITLE:=NIXIO POSIX Library
257 DEPENDS:=+PACKAGE_luci-nixio_openssl:libopenssl +PACKAGE_luci-nixio_cyassl:libcyassl-luci
260 define Package/luci-nixio/install
261 $(call Package/luci/install/template,$(1),libs/nixio)
264 define Package/luci-nixio/config
266 prompt "TLS Provider"
267 default PACKAGE_luci-nixio_axtls
269 config PACKAGE_luci-nixio_axtls
270 bool "Builtin (axTLS)"
272 config PACKAGE_luci-nixio_cyassl
274 select PACKAGE_libcyassl-luci
276 config PACKAGE_luci-nixio_openssl
278 select PACKAGE_libopenssl
282 ifneq ($(CONFIG_PACKAGE_luci-nixio_openssl),)
286 ifneq ($(CONFIG_PACKAGE_luci-nixio_cyassl),)
288 LUCI_CFLAGS+=-I$(STAGING_DIR)/usr/include/cyassl
292 define Package/luci-px5g
293 $(call Package/luci/libtemplate)
294 TITLE:=PX5G RSA Keymaster
298 define Package/luci-px5g/install
299 $(call Package/luci/install/template,$(1),libs/px5g)
303 define Package/luci-sys
304 $(call Package/luci/libtemplate)
305 TITLE:=LuCI Linux/POSIX system library
308 define Package/luci-sys/install
309 $(call Package/luci/install/template,$(1),libs/sys)
313 define Package/luci-web
314 $(call Package/luci/libtemplate)
315 DEPENDS+=+luci-http +luci-sys +luci-uci +luci-lucid +luci-sgi-cgi +luci-lmo
316 TITLE:=MVC Webframework
317 $(call Config,luci.main.lang,string,en,Default Language)
320 define Package/luci-web/conffiles
324 define Package/luci-web/install
325 $(call Package/luci/install/template,$(1),libs/web)
329 define Package/luci-uvl
330 $(call Package/luci/libtemplate)
331 DEPENDS+=+luci-sys +luci-uci +luci-core
332 TITLE:=UVL - UCI Validation Layer
335 define Package/luci-uvl/install
336 $(call Package/luci/install/template,$(1),libs/uvl)
341 ### Community Packages ###
343 define Package/luci-freifunk-community
344 $(call Package/luci/fftemplate)
346 +luci-lucid +luci-sgi-cgi +luci-app-splash \
347 +luci-app-ffwizard-leipzig \
349 +PACKAGE_luci-freifunk-community:olsrd-luci +PACKAGE_luci-freifunk-community:olsrd-luci-mod-dyn-gw-plain \
350 +PACKAGE_luci-freifunk-community:olsrd-luci-mod-txtinfo +PACKAGE_luci-freifunk-community:olsrd-luci-mod-nameservice \
351 +PACKAGE_luci-freifunk-community:olsrd-luci-mod-watchdog +PACKAGE_luci-freifunk-community:kmod-tun \
352 +PACKAGE_luci-freifunk-community:ip +PACKAGE_luci-freifunk-community:freifunk-watchdog +luci-app-olsr
353 TITLE:=Freifunk Community Meta-Package
356 define Package/luci-freifunk-community/install
357 $(call Package/luci/install/template,$(1),applications/freifunk-community)
362 define Package/luci-admin-core
363 $(call Package/luci/webtemplate)
364 DEPENDS+=+luci-web +luci-cbi +luci-i18n-english
365 TITLE:=Web UI Core Module
368 define Package/luci-admin-core/conffiles
369 /etc/config/luci_hosts
370 /etc/config/luci_ethers
373 define Package/luci-admin-core/install
374 $(call Package/luci/install/template,$(1),modules/admin-core)
375 touch $(1)/etc/init.d/luci_fixtime || true
379 define Package/luci-admin-mini
380 $(call Package/luci/webtemplate)
381 DEPENDS+=+luci-admin-core
382 TITLE:=LuCI Essentials - stripped down and user-friendly
385 define Package/luci-admin-mini/install
386 $(call Package/luci/install/template,$(1),modules/admin-mini)
390 define Package/luci-admin-full
391 $(call Package/luci/webtemplate)
392 DEPENDS+=+luci-admin-core +luci-ipkg
393 TITLE:=LuCI Administration - full-featured for full control
396 define Package/luci-admin-full/install
397 $(call Package/luci/install/template,$(1),modules/admin-full)
401 define Package/luci-admin-rpc
402 $(call Package/luci/webtemplate)
404 TITLE:=LuCI RPC - JSON-RPC API
407 define Package/luci-admin-rpc/install
408 $(call Package/luci/install/template,$(1),modules/rpc)
412 define Package/luci-mod-freifunk
413 $(call Package/luci/fftemplate)
414 DEPENDS:=+luci-admin-full +luci-json +PACKAGE_luci-mod-freifunk:freifunk-firewall
415 TITLE:=LuCI Freifunk module
418 define Package/luci-mod-freifunk/conffiles
422 define Package/luci-mod-freifunk/install
423 $(call Package/luci/install/template,$(1),modules/freifunk)
430 define Package/luci-app-ffwizard-leipzig
431 $(call Package/luci/fftemplate)
432 TITLE:=Freifunk Leipzig configuration wizard
435 define Package/luci-app-ffwizard-leipzig/install
436 $(call Package/luci/install/template,$(1),applications/luci-ffwizard-leipzig)
440 define Package/luci-app-siitwizard
441 $(call Package/luci/fftemplate)
442 TITLE:=SIIT IPv4-over-IPv6 configuration wizard
443 DEPENDS:=+luci-admin-core +PACKAGE_luci-app-siitwizard:kmod-siit
446 define Package/luci-app-siitwizard/install
447 $(call Package/luci/install/template,$(1),applications/luci-siitwizard)
451 define Package/luci-app-firewall
452 $(call Package/luci/webtemplate)
453 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-firewall:firewall
454 TITLE:=Firewall and Portforwarding application
457 define Package/luci-app-firewall/install
458 $(call Package/luci/install/template,$(1),applications/luci-fw)
462 define Package/luci-app-olsr
463 $(call Package/luci/webtemplate)
464 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-olsr:olsrd-luci \
465 +PACKAGE_luci-app-olsr:olsrd-luci-mod-txtinfo
466 TITLE:=OLSR configuration and status module
469 define Package/luci-app-olsr/install
470 $(call Package/luci/install/template,$(1),applications/luci-olsr)
474 define Package/luci-app-qos
475 $(call Package/luci/webtemplate)
476 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-qos:qos-scripts
477 TITLE:=Quality of Service configuration module
480 define Package/luci-app-qos/install
481 $(call Package/luci/install/template,$(1),applications/luci-qos)
485 define Package/luci-app-splash
486 $(call Package/luci/fftemplate)
487 DEPENDS+=+PACKAGE_luci-app-splash:luci-nixio \
488 +PACKAGE_luci-app-splash:tc +PACKAGE_luci-app-splash:kmod-sched \
489 +PACKAGE_luci-app-splash:iptables-mod-nat-extra \
490 +PACKAGE_luci-app-splash:iptables-mod-ipopt
491 TITLE:=Freifunk DHCP-Splash application
494 define Package/luci-app-splash/conffiles
495 /etc/config/luci_splash
498 define Package/luci-app-splash/install
499 $(call Package/luci/install/template,$(1),applications/luci-splash)
503 define Package/luci-app-statistics
504 $(call Package/luci/webtemplate)
505 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-statistics:collectd \
506 +PACKAGE_luci-app-statistics:rrdtool1 \
507 +PACKAGE_luci-app-statistics:collectd-mod-rrdtool1 \
508 +PACKAGE_luci-app-statistics:collectd-mod-wireless \
509 +PACKAGE_luci-app-statistics:collectd-mod-interface \
510 +PACKAGE_luci-app-statistics:collectd-mod-load
511 TITLE:=LuCI Statistics Application
514 define Package/luci-app-statistics/conffiles
515 /etc/config/luci_statistics
518 define Package/luci-app-statistics/install
519 $(call Package/luci/install/template,$(1),applications/luci-statistics)
522 define Package/luci-app-diag-core
523 $(call Package/luci/webtemplate)
524 DEPENDS+=+luci-admin-core
525 TITLE:=LuCI Diagnostics Tools (Core)
528 define Package/luci-app-diag-devinfo
529 $(call Package/luci/webtemplate)
530 DEPENDS+=+luci-app-diag-core +smap +netdiscover +mac-to-devinfo +httping +smap-to-devinfo +netdiscover-to-devinfo
531 TITLE:=LuCI Diagnostics Tools (Device Info)
534 define Package/luci-app-voice-core
535 $(call Package/luci/webtemplate)
536 DEPENDS+=+luci-admin-core
537 TITLE:=LuCI Voice Software (Core)
540 define Package/luci-app-voice-diag
541 $(call Package/luci/webtemplate)
542 DEPENDS+=+luci-app-voice-core +luci-app-diag-devinfo
543 TITLE:=LuCI Voice Software (Diagnostics)
546 define Package/luci-app-diag-devinfo/conffiles
547 /etc/config/luci_devinfo
550 define Package/luci-app-diag-core/install
551 $(call Package/luci/install/template,$(1),applications/luci-diag-core)
554 define Package/luci-app-diag-devinfo/install
555 $(call Package/luci/install/template,$(1),applications/luci-diag-devinfo)
558 define Package/luci-app-voice-core/install
559 $(call Package/luci/install/template,$(1),applications/luci-voice-core)
562 define Package/luci-app-voice-diag/install
563 $(call Package/luci/install/template,$(1),applications/luci-voice-diag)
566 define Package/luci-app-upnp
567 $(call Package/luci/webtemplate)
568 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-upnp:miniupnpd
569 TITLE:=Universal Plug & Play configuration module
572 define Package/luci-app-upnp/install
573 $(call Package/luci/install/template,$(1),applications/luci-upnp)
577 define Package/luci-app-ntpc
578 $(call Package/luci/webtemplate)
579 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-ntpc:ntpclient
580 TITLE:=NTP time synchronisation client configuration module
583 define Package/luci-app-ntpc/install
584 $(call Package/luci/install/template,$(1),applications/luci-ntpc)
588 define Package/luci-app-ddns
589 $(call Package/luci/webtemplate)
590 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-ddns:ddns-scripts
591 TITLE:=Dynamic DNS configuration module
594 define Package/luci-app-ddns/install
595 $(call Package/luci/install/template,$(1),applications/luci-ddns)
599 define Package/luci-app-samba
600 $(call Package/luci/webtemplate)
601 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-samba:samba3
602 TITLE:=Network Shares - Samba SMB/CIFS module
605 define Package/luci-app-samba/install
606 $(call Package/luci/install/template,$(1),applications/luci-samba)
610 define Package/luci-app-uvc_streamer
611 $(call Package/luci/webtemplate)
612 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-uvc_streamer:uvc-streamer
613 TITLE:=Webcam Streaming - UVC-Streamer module
616 define Package/luci-app-uvc_streamer/install
617 $(call Package/luci/install/template,$(1),applications/luci-uvc_streamer)
621 define Package/luci-app-mmc_over_gpio
622 $(call Package/luci/webtemplate)
623 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-mmc_over_gpio:kmod-mmc-over-gpio
627 define Package/luci-app-mmc_over_gpio/install
628 $(call Package/luci/install/template,$(1),applications/luci-mmc_over_gpio)
632 define Package/luci-app-p910nd
633 $(call Package/luci/webtemplate)
634 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-p910nd:p910nd
635 TITLE:=p910nd - Printer server module
638 define Package/luci-app-p910nd/install
639 $(call Package/luci/install/template,$(1),applications/luci-p910nd)
643 define Package/luci-app-ushare
644 $(call Package/luci/webtemplate)
645 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-ushare:ushare
646 TITLE:=ushare - UPnP A/V & DLNA Media Server
649 define Package/luci-app-ushare/install
650 $(call Package/luci/install/template,$(1),applications/luci-ushare)
653 define Package/luci-app-hd_idle
654 $(call Package/luci/webtemplate)
655 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-hd_idle:hd-idle
659 define Package/luci-app-hd_idle/install
660 $(call Package/luci/install/template,$(1),applications/luci-hd_idle)
663 define Package/luci-app-tinyproxy
664 $(call Package/luci/webtemplate)
665 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-tinyproxy:tinyproxy
666 TITLE:=Tinyproxy - HTTP(S)-Proxy
669 define Package/luci-app-tinyproxy/install
670 $(call Package/luci/install/template,$(1),applications/luci-tinyproxy)
673 define Package/luci-app-initmgr
674 $(call Package/luci/webtemplate)
675 DEPENDS+=+luci-admin-full
676 TITLE:=LuCI Initscript Management
679 define Package/luci-app-initmgr/install
680 $(call Package/luci/install/template,$(1),applications/luci-initmgr)
683 define Package/luci-app-livestats
684 $(call Package/luci/webtemplate)
685 DEPENDS+=+luci-admin-core +luci-admin-rpc
686 TITLE:=LuCI Realtime Statistics
689 define Package/luci-app-livestats/install
690 $(call Package/luci/install/template,$(1),applications/luci-livestats)
693 define Package/luci-app-asterisk
694 $(call Package/luci/webtemplate)
695 TITLE:=LuCI Support for Asterisk PBX
696 DEPENDS+=@BROKEN +luci-admin-core +PACKAGE_luci-app-asterisk:asterisk14-xip-core
699 define Package/luci-app-asterisk/install
700 $(call Package/luci/install/template,$(1),applications/luci-asterisk)
703 define Package/luci-app-polipo
704 $(call Package/luci/webtemplate)
705 TITLE:=LuCI Support for the Polipo Proxy
706 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-polipo:polipo
709 define Package/luci-app-polipo/install
710 $(call Package/luci/install/template,$(1),applications/luci-polipo)
713 define Package/luci-app-openvpn
714 $(call Package/luci/webtemplate)
715 TITLE:=LuCI Support for OpenVPN
716 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-openvpn:openvpn
719 define Package/luci-app-openvpn/install
720 $(call Package/luci/install/template,$(1),applications/luci-openvpn)
723 define Package/luci-app-p2pblock
724 $(call Package/luci/webtemplate)
725 TITLE:=LuCI Support for the Freifunk P2P-Block addon
726 DEPENDS+=+luci-admin-core +luci-app-firewall \
727 +PACKAGE_luci-app-p2pblock:freifunk-p2pblock
730 define Package/luci-app-p2pblock/install
731 $(call Package/luci/install/template,$(1),applications/luci-p2pblock)
735 ### Server Gateway Interfaces ###
737 define Package/luci-sgi-cgi
738 $(call Package/luci/libtemplate)
742 define Package/luci-sgi-cgi/install
743 $(call Package/luci/install/template,$(1),libs/sgi-cgi)
747 define Package/luci-theme-base
748 $(call Package/luci/thtemplate)
750 TITLE:=Common base for all themes
753 define Package/luci-theme-base/install
754 $(call Package/luci/install/template,$(1),themes/base)
757 define Package/luci-theme-fledermaus
758 $(call Package/luci/fftemplate)
760 TITLE:=Fledermaus Theme
763 define Package/luci-theme-fledermaus/install
764 $(call Package/luci/install/template,$(1),themes/fledermaus)
767 define Package/luci-theme-freifunk
768 $(call Package/luci/fftemplate)
770 MAINTAINER:=Stefan Pirwitz <stefan-at-freifunk-bno-dot-de>
771 TITLE:=alternative Freifunk Theme
774 define Package/luci-theme-freifunk/install
775 $(call Package/luci/install/template,$(1),themes/freifunk)
778 define Package/luci-theme-freifunk-bno
779 $(call Package/luci/fftemplate)
781 MAINTAINER:=Stefan Pirwitz <stefan-at-freifunk-bno-dot-de>
782 TITLE:=Freifunk Berlin Nordost Theme
785 define Package/luci-theme-freifunk-bno/install
786 $(call Package/luci/install/template,$(1),themes/freifunk-bno)
789 define Package/luci-theme-freifunk-hannover
790 $(call Package/luci/fftemplate)
792 MAINTAINER:=Mikolas Bingemer <mickey-at-freifunk-hannover-dot-de>
793 TITLE:=Freifunk Hannover Theme
796 define Package/luci-theme-freifunk-hannover/install
797 $(call Package/luci/install/template,$(1),themes/freifunk-hannover)
800 define Package/luci-theme-openwrt
801 $(call Package/luci/thtemplate)
802 TITLE:=OpenWrt.org (default)
803 DEPENDS:=+luci-theme-base luci-core
804 DEFAULT:=y if PACKAGE_luci-core
807 define Package/luci-theme-openwrt/install
808 $(call Package/luci/install/template,$(1),themes/openwrt.org)
811 define Package/luci-theme-openwrtlight
812 $(call Package/luci/thtemplate)
813 TITLE:=OpenWrt.org - light variant without images
814 DEPENDS:=+luci-theme-base
817 define Package/luci-theme-openwrtlight/install
818 $(call Package/luci/install/template,$(1),themes/openwrt-light)
823 define Package/luci-i18n-german
824 $(call Package/luci/i18ntemplate)
828 define Package/luci-i18n-german/install
829 $(call Package/luci/install/template,$(1),i18n/german)
833 define Package/luci-i18n-english
834 $(call Package/luci/i18ntemplate)
838 define Package/luci-i18n-english/install
839 $(call Package/luci/install/template,$(1),i18n/english)
843 define Package/luci-i18n-french
844 $(call Package/luci/i18ntemplate)
845 TITLE:=French (by Florian Fainelli)
848 define Package/luci-i18n-french/install
849 $(call Package/luci/install/template,$(1),i18n/french)
853 define Package/luci-i18n-italian
854 $(call Package/luci/i18ntemplate)
855 TITLE:=Italian (by Matteo Croce)
858 define Package/luci-i18n-italian/install
859 $(call Package/luci/install/template,$(1),i18n/italian)
863 define Package/luci-i18n-russian
864 $(call Package/luci/i18ntemplate)
865 TITLE:=Russian (by Skryabin Dmitry)
868 define Package/luci-i18n-russian/install
869 $(call Package/luci/install/template,$(1),i18n/russian)
873 define Package/luci-i18n-portuguese_brazilian
874 $(call Package/luci/i18ntemplate)
875 TITLE:=Portuguese (Brazilian) (by Carlos Cesario)
878 define Package/luci-i18n-portuguese_brazilian/install
879 $(call Package/luci/install/template,$(1),i18n/portuguese_brazilian)
883 define Package/luci-i18n-japanese
884 $(call Package/luci/i18ntemplate)
885 TITLE:=Japanese (by Tsukasa Hamano)
888 define Package/luci-i18n-japanese/install
889 $(call Package/luci/install/template,$(1),i18n/japanese)
893 define Package/luci-i18n-greek
894 $(call Package/luci/i18ntemplate)
895 TITLE:=Greek (by Vasilis Tsiligiannis)
898 define Package/luci-i18n-greek/install
899 $(call Package/luci/install/template,$(1),i18n/greek)
903 define Package/luci-i18n-catalan
904 $(call Package/luci/i18ntemplate)
905 TITLE:=Catalan (by Eduard Duran)
908 define Package/luci-i18n-catalan/install
909 $(call Package/luci/install/template,$(1),i18n/catalan)
913 define Package/luci-i18n-portuguese
914 $(call Package/luci/i18ntemplate)
915 TITLE:=Portuguese (by Jose Monteiro)
918 define Package/luci-i18n-portuguese/install
919 $(call Package/luci/install/template,$(1),i18n/portuguese)
923 define Package/luci-i18n-spanish
924 $(call Package/luci/i18ntemplate)
925 TITLE:=Spanish (by Guillermo Javier Nardoni)
928 define Package/luci-i18n-spanish/install
929 $(call Package/luci/install/template,$(1),i18n/spanish)
934 ifneq ($(CONFIG_PACKAGE_luci-core),)
935 PKG_SELECTED_MODULES+=libs/core
937 ifneq ($(CONFIG_PACKAGE_luci-cbi),)
938 PKG_SELECTED_MODULES+=libs/cbi
940 ifneq ($(CONFIG_PACKAGE_luci-fastindex),)
941 PKG_SELECTED_MODULES+=libs/fastindex
943 ifneq ($(CONFIG_PACKAGE_luci-http),)
944 PKG_SELECTED_MODULES+=libs/http
946 ifneq ($(CONFIG_PACKAGE_luci-httpclient),)
947 PKG_SELECTED_MODULES+=libs/httpclient
949 ifneq ($(CONFIG_PACKAGE_luci-ipkg),)
950 PKG_SELECTED_MODULES+=libs/ipkg
952 ifneq ($(CONFIG_PACKAGE_luci-json),)
953 PKG_SELECTED_MODULES+=libs/json
955 ifneq ($(CONFIG_PACKAGE_luci-lmo),)
956 PKG_SELECTED_MODULES+=libs/lmo
958 ifneq ($(CONFIG_PACKAGE_luci-luanet),)
959 PKG_SELECTED_MODULES+=libs/luanet
961 ifneq ($(CONFIG_PACKAGE_luci-lucid),)
962 PKG_SELECTED_MODULES+=libs/lucid libs/lucid-http
964 ifneq ($(CONFIG_PACKAGE_luci-nixio),)
965 PKG_SELECTED_MODULES+=libs/nixio
967 ifneq ($(CONFIG_PACKAGE_luci-px5g),)
968 PKG_SELECTED_MODULES+=libs/px5g
970 ifneq ($(CONFIG_PACKAGE_luci-uci),)
971 PKG_SELECTED_MODULES+=libs/uci
973 ifneq ($(CONFIG_PACKAGE_luci-sys),)
974 PKG_SELECTED_MODULES+=libs/sys
976 ifneq ($(CONFIG_PACKAGE_luci-web),)
977 PKG_SELECTED_MODULES+=libs/web
979 ifneq ($(CONFIG_PACKAGE_luci-uvl),)
980 PKG_SELECTED_MODULES+=libs/uvl
983 ifneq ($(CONFIG_PACKAGE_luci-admin-core),)
984 PKG_SELECTED_MODULES+=modules/admin-core
986 ifneq ($(CONFIG_PACKAGE_luci-admin-mini),)
987 PKG_SELECTED_MODULES+=modules/admin-mini
989 ifneq ($(CONFIG_PACKAGE_luci-admin-full),)
990 PKG_SELECTED_MODULES+=modules/admin-full
992 ifneq ($(CONFIG_PACKAGE_luci-admin-rpc),)
993 PKG_SELECTED_MODULES+=modules/rpc
995 ifneq ($(CONFIG_PACKAGE_luci-mod-freifunk),)
996 PKG_SELECTED_MODULES+=modules/freifunk
999 ifneq ($(CONFIG_PACKAGE_luci-freifunk-community),)
1000 PKG_SELECTED_MODULES+=applications/freifunk-community
1003 ifneq ($(CONFIG_PACKAGE_luci-app-ffwizard-leipzig),)
1004 PKG_SELECTED_MODULES+=applications/luci-ffwizard-leipzig
1006 ifneq ($(CONFIG_PACKAGE_luci-app-siitwizard),)
1007 PKG_SELECTED_MODULES+=applications/luci-siitwizard
1009 ifneq ($(CONFIG_PACKAGE_luci-app-firewall),)
1010 PKG_SELECTED_MODULES+=applications/luci-fw
1012 ifneq ($(CONFIG_PACKAGE_luci-app-olsr),)
1013 PKG_SELECTED_MODULES+=applications/luci-olsr
1015 ifneq ($(CONFIG_PACKAGE_luci-app-qos),)
1016 PKG_SELECTED_MODULES+=applications/luci-qos
1018 ifneq ($(CONFIG_PACKAGE_luci-app-splash),)
1019 PKG_SELECTED_MODULES+=applications/luci-splash
1021 ifneq ($(CONFIG_PACKAGE_luci-app-statistics),)
1022 PKG_SELECTED_MODULES+=applications/luci-statistics
1024 ifneq ($(CONFIG_PACKAGE_luci-app-voice-core),)
1025 PKG_SELECTED_MODULES+=applications/luci-voice-core
1027 ifneq ($(CONFIG_PACKAGE_luci-app-voice-diag),)
1028 PKG_SELECTED_MODULES+=applications/luci-voice-diag
1030 ifneq ($(CONFIG_PACKAGE_luci-app-diag-core),)
1031 PKG_SELECTED_MODULES+=applications/luci-diag-core
1033 ifneq ($(CONFIG_PACKAGE_luci-app-diag-devinfo),)
1034 PKG_SELECTED_MODULES+=applications/luci-diag-devinfo
1036 ifneq ($(CONFIG_PACKAGE_luci-app-upnp),)
1037 PKG_SELECTED_MODULES+=applications/luci-upnp
1039 ifneq ($(CONFIG_PACKAGE_luci-app-ntpc),)
1040 PKG_SELECTED_MODULES+=applications/luci-ntpc
1042 ifneq ($(CONFIG_PACKAGE_luci-app-ddns),)
1043 PKG_SELECTED_MODULES+=applications/luci-ddns
1045 ifneq ($(CONFIG_PACKAGE_luci-app-samba),)
1046 PKG_SELECTED_MODULES+=applications/luci-samba
1048 ifneq ($(CONFIG_PACKAGE_luci-app-uvc_streamer),)
1049 PKG_SELECTED_MODULES+=applications/luci-uvc_streamer
1051 ifneq ($(CONFIG_PACKAGE_luci-app-mmc_over_gpio),)
1052 PKG_SELECTED_MODULES+=applications/luci-mmc_over_gpio
1054 ifneq ($(CONFIG_PACKAGE_luci-app-p910nd),)
1055 PKG_SELECTED_MODULES+=applications/luci-p910nd
1057 ifneq ($(CONFIG_PACKAGE_luci-app-ushare),)
1058 PKG_SELECTED_MODULES+=applications/luci-ushare
1060 ifneq ($(CONFIG_PACKAGE_luci-app-hd_idle),)
1061 PKG_SELECTED_MODULES+=applications/luci-hd_idle
1063 ifneq ($(CONFIG_PACKAGE_luci-app-tinyproxy),)
1064 PKG_SELECTED_MODULES+=applications/luci-tinyproxy
1066 ifneq ($(CONFIG_PACKAGE_luci-app-initmgr),)
1067 PKG_SELECTED_MODULES+=applications/luci-initmgr
1069 ifneq ($(CONFIG_PACKAGE_luci-app-livestats),)
1070 PKG_SELECTED_MODULES+=applications/luci-livestats
1072 ifneq ($(CONFIG_PACKAGE_luci-app-asterisk),)
1073 PKG_SELECTED_MODULES+=applications/luci-asterisk
1075 ifneq ($(CONFIG_PACKAGE_luci-app-polipo),)
1076 PKG_SELECTED_MODULES+=applications/luci-polipo
1078 ifneq ($(CONFIG_PACKAGE_luci-app-openvpn),)
1079 PKG_SELECTED_MODULES+=applications/luci-openvpn
1081 ifneq ($(CONFIG_PACKAGE_luci-app-p2pblock),)
1082 PKG_SELECTED_MODULES+=applications/luci-p2pblock
1086 ifneq ($(CONFIG_PACKAGE_luci-sgi-cgi),)
1087 PKG_SELECTED_MODULES+=libs/sgi-cgi
1089 ifneq ($(CONFIG_PACKAGE_luci-sgi-luci),)
1090 PKG_SELECTED_MODULES+=libs/sgi-luci
1093 ifneq ($(CONFIG_PACKAGE_luci-theme-base),)
1094 PKG_SELECTED_MODULES+=themes/base
1096 ifneq ($(CONFIG_PACKAGE_luci-theme-fledermaus),)
1097 PKG_SELECTED_MODULES+=themes/fledermaus
1099 ifneq ($(CONFIG_PACKAGE_luci-theme-freifunk-bno),)
1100 PKG_SELECTED_MODULES+=themes/freifunk-bno
1102 ifneq ($(CONFIG_PACKAGE_luci-theme-freifunk-hannover),)
1103 PKG_SELECTED_MODULES+=themes/freifunk-hannover
1105 ifneq ($(CONFIG_PACKAGE_luci-theme-freifunk),)
1106 PKG_SELECTED_MODULES+=themes/freifunk
1108 ifneq ($(CONFIG_PACKAGE_luci-theme-openwrt),)
1109 PKG_SELECTED_MODULES+=themes/openwrt.org
1111 ifneq ($(CONFIG_PACKAGE_luci-theme-openwrtlight),)
1112 PKG_SELECTED_MODULES+=themes/openwrt-light
1115 ifneq ($(CONFIG_PACKAGE_luci-i18n-german),)
1116 PKG_SELECTED_MODULES+=i18n/german
1118 ifneq ($(CONFIG_PACKAGE_luci-i18n-english),)
1119 PKG_SELECTED_MODULES+=i18n/english
1121 ifneq ($(CONFIG_PACKAGE_luci-i18n-french),)
1122 PKG_SELECTED_MODULES+=i18n/french
1124 ifneq ($(CONFIG_PACKAGE_luci-i18n-italian),)
1125 PKG_SELECTED_MODULES+=i18n/italian
1127 ifneq ($(CONFIG_PACKAGE_luci-i18n-russian),)
1128 PKG_SELECTED_MODULES+=i18n/russian
1130 ifneq ($(CONFIG_PACKAGE_luci-i18n-portuguese_brazilian),)
1131 PKG_SELECTED_MODULES+=i18n/portuguese_brazilian
1133 ifneq ($(CONFIG_PACKAGE_luci-i18n-japanese),)
1134 PKG_SELECTED_MODULES+=i18n/japanese
1136 ifneq ($(CONFIG_PACKAGE_luci-i18n-greek),)
1137 PKG_SELECTED_MODULES+=i18n/greek
1139 ifneq ($(CONFIG_PACKAGE_luci-i18n-catalan),)
1140 PKG_SELECTED_MODULES+=i18n/catalan
1142 ifneq ($(CONFIG_PACKAGE_luci-i18n-portuguese),)
1143 PKG_SELECTED_MODULES+=i18n/portuguese
1145 ifneq ($(CONFIG_PACKAGE_luci-i18n-spanish),)
1146 PKG_SELECTED_MODULES+=i18n/spanish
1151 MODULES="$(PKG_SELECTED_MODULES)" \
1152 LUA_TARGET="$(LUA_TARGET)" \
1153 LUA_SHLIBS="-llua -lm -ldl -lcrypt" \
1154 CFLAGS="$(TARGET_CFLAGS) $(LUCI_CFLAGS) -I$(STAGING_DIR)/usr/include" \
1155 LDFLAGS="$(TARGET_LDFLAGS) -L$(STAGING_DIR)/usr/lib" \
1156 NIXIO_TLS="$(NIXIO_TLS)" OS="Linux"
1159 $(eval $(call BuildPackage,luci-core))
1160 $(eval $(call BuildPackage,luci-cbi))
1161 $(eval $(call BuildPackage,luci-fastindex))
1162 $(eval $(call BuildPackage,luci-http))
1163 $(eval $(call BuildPackage,luci-httpclient))
1164 $(eval $(call BuildPackage,luci-ipkg))
1165 $(eval $(call BuildPackage,luci-json))
1166 $(eval $(call BuildPackage,luci-lmo))
1167 $(eval $(call BuildPackage,luci-luanet))
1168 $(eval $(call BuildPackage,luci-lucid))
1169 $(eval $(call BuildPackage,luci-nixio))
1170 $(eval $(call BuildPackage,luci-px5g))
1171 $(eval $(call BuildPackage,luci-uci))
1172 $(eval $(call BuildPackage,luci-sys))
1173 $(eval $(call BuildPackage,luci-web))
1174 $(eval $(call BuildPackage,luci-uvl))
1176 $(eval $(call BuildPackage,luci-admin-core))
1177 $(eval $(call BuildPackage,luci-admin-mini))
1178 $(eval $(call BuildPackage,luci-admin-full))
1179 $(eval $(call BuildPackage,luci-admin-rpc))
1180 $(eval $(call BuildPackage,luci-mod-freifunk))
1182 $(eval $(call BuildPackage,luci-freifunk-community))
1184 $(eval $(call BuildPackage,luci-app-ffwizard-leipzig))
1185 $(eval $(call BuildPackage,luci-app-siitwizard))
1186 $(eval $(call BuildPackage,luci-app-firewall))
1187 $(eval $(call BuildPackage,luci-app-olsr))
1188 $(eval $(call BuildPackage,luci-app-qos))
1189 $(eval $(call BuildPackage,luci-app-splash))
1190 $(eval $(call BuildPackage,luci-app-statistics))
1191 $(eval $(call BuildPackage,luci-app-diag-core))
1192 $(eval $(call BuildPackage,luci-app-diag-devinfo))
1193 $(eval $(call BuildPackage,luci-app-voice-core))
1194 $(eval $(call BuildPackage,luci-app-voice-diag))
1195 $(eval $(call BuildPackage,luci-app-upnp))
1196 $(eval $(call BuildPackage,luci-app-ntpc))
1197 $(eval $(call BuildPackage,luci-app-ddns))
1198 $(eval $(call BuildPackage,luci-app-samba))
1199 $(eval $(call BuildPackage,luci-app-uvc_streamer))
1200 $(eval $(call BuildPackage,luci-app-mmc_over_gpio))
1201 $(eval $(call BuildPackage,luci-app-p910nd))
1202 $(eval $(call BuildPackage,luci-app-ushare))
1203 $(eval $(call BuildPackage,luci-app-hd_idle))
1204 $(eval $(call BuildPackage,luci-app-tinyproxy))
1205 $(eval $(call BuildPackage,luci-app-initmgr))
1206 $(eval $(call BuildPackage,luci-app-livestats))
1207 $(eval $(call BuildPackage,luci-app-asterisk))
1208 $(eval $(call BuildPackage,luci-app-polipo))
1209 $(eval $(call BuildPackage,luci-app-openvpn))
1210 $(eval $(call BuildPackage,luci-app-p2pblock))
1212 $(eval $(call BuildPackage,luci-sgi-cgi))
1214 $(eval $(call BuildPackage,luci-theme-base))
1215 $(eval $(call BuildPackage,luci-theme-fledermaus))
1216 $(eval $(call BuildPackage,luci-theme-freifunk))
1217 $(eval $(call BuildPackage,luci-theme-freifunk-bno))
1218 $(eval $(call BuildPackage,luci-theme-freifunk-hannover))
1219 $(eval $(call BuildPackage,luci-theme-openwrt))
1220 $(eval $(call BuildPackage,luci-theme-openwrtlight))
1222 $(eval $(call BuildPackage,luci-i18n-german))
1223 $(eval $(call BuildPackage,luci-i18n-english))
1224 $(eval $(call BuildPackage,luci-i18n-french))
1225 $(eval $(call BuildPackage,luci-i18n-italian))
1226 $(eval $(call BuildPackage,luci-i18n-russian))
1227 $(eval $(call BuildPackage,luci-i18n-portuguese_brazilian))
1228 $(eval $(call BuildPackage,luci-i18n-japanese))
1229 $(eval $(call BuildPackage,luci-i18n-greek))
1230 $(eval $(call BuildPackage,luci-i18n-catalan))
1231 $(eval $(call BuildPackage,luci-i18n-portuguese))
1232 $(eval $(call BuildPackage,luci-i18n-spanish))