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 +PACKAGE_luci-freifunk-community:remote-update
354 TITLE:=Freifunk Community Meta-Package
357 define Package/luci-freifunk-community/install
358 $(call Package/luci/install/template,$(1),applications/freifunk-community)
363 define Package/luci-admin-core
364 $(call Package/luci/webtemplate)
365 DEPENDS+=+luci-web +luci-cbi +luci-i18n-english
366 TITLE:=Web UI Core Module
369 define Package/luci-admin-core/conffiles
370 /etc/config/luci_hosts
371 /etc/config/luci_ethers
374 define Package/luci-admin-core/install
375 $(call Package/luci/install/template,$(1),modules/admin-core)
376 touch $(1)/etc/init.d/luci_fixtime || true
380 define Package/luci-admin-mini
381 $(call Package/luci/webtemplate)
382 DEPENDS+=+luci-admin-core
383 TITLE:=LuCI Essentials - stripped down and user-friendly
386 define Package/luci-admin-mini/install
387 $(call Package/luci/install/template,$(1),modules/admin-mini)
391 define Package/luci-admin-full
392 $(call Package/luci/webtemplate)
393 DEPENDS+=+luci-admin-core +luci-ipkg
394 TITLE:=LuCI Administration - full-featured for full control
397 define Package/luci-admin-full/install
398 $(call Package/luci/install/template,$(1),modules/admin-full)
402 define Package/luci-admin-rpc
403 $(call Package/luci/webtemplate)
405 TITLE:=LuCI RPC - JSON-RPC API
408 define Package/luci-admin-rpc/install
409 $(call Package/luci/install/template,$(1),modules/rpc)
413 define Package/luci-mod-freifunk
414 $(call Package/luci/fftemplate)
415 DEPENDS:=+luci-admin-full +luci-json +PACKAGE_luci-mod-freifunk:freifunk-firewall
416 TITLE:=LuCI Freifunk module
419 define Package/luci-mod-freifunk/conffiles
423 define Package/luci-mod-freifunk/install
424 $(call Package/luci/install/template,$(1),modules/freifunk)
431 define Package/luci-app-ffwizard-leipzig
432 $(call Package/luci/fftemplate)
433 TITLE:=Freifunk Leipzig configuration wizard
436 define Package/luci-app-ffwizard-leipzig/install
437 $(call Package/luci/install/template,$(1),applications/luci-ffwizard-leipzig)
441 define Package/luci-app-siitwizard
442 $(call Package/luci/fftemplate)
443 TITLE:=SIIT IPv4-over-IPv6 configuration wizard
444 DEPENDS:=+luci-admin-core +PACKAGE_luci-app-siitwizard:kmod-siit
447 define Package/luci-app-siitwizard/install
448 $(call Package/luci/install/template,$(1),applications/luci-siitwizard)
452 define Package/luci-app-firewall
453 $(call Package/luci/webtemplate)
454 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-firewall:firewall
455 TITLE:=Firewall and Portforwarding application
458 define Package/luci-app-firewall/install
459 $(call Package/luci/install/template,$(1),applications/luci-fw)
463 define Package/luci-app-olsr
464 $(call Package/luci/webtemplate)
465 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-olsr:olsrd-luci \
466 +PACKAGE_luci-app-olsr:olsrd-luci-mod-txtinfo
467 TITLE:=OLSR configuration and status module
470 define Package/luci-app-olsr/install
471 $(call Package/luci/install/template,$(1),applications/luci-olsr)
475 define Package/luci-app-qos
476 $(call Package/luci/webtemplate)
477 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-qos:qos-scripts
478 TITLE:=Quality of Service configuration module
481 define Package/luci-app-qos/install
482 $(call Package/luci/install/template,$(1),applications/luci-qos)
486 define Package/luci-app-splash
487 $(call Package/luci/fftemplate)
488 DEPENDS+=+PACKAGE_luci-app-splash:luci-nixio \
489 +PACKAGE_luci-app-splash:tc +PACKAGE_luci-app-splash:kmod-sched \
490 +PACKAGE_luci-app-splash:iptables-mod-nat-extra \
491 +PACKAGE_luci-app-splash:iptables-mod-ipopt
492 TITLE:=Freifunk DHCP-Splash application
495 define Package/luci-app-splash/conffiles
496 /etc/config/luci_splash
499 define Package/luci-app-splash/install
500 $(call Package/luci/install/template,$(1),applications/luci-splash)
504 define Package/luci-app-statistics
505 $(call Package/luci/webtemplate)
506 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-statistics:collectd \
507 +PACKAGE_luci-app-statistics:rrdtool1 \
508 +PACKAGE_luci-app-statistics:collectd-mod-rrdtool1 \
509 +PACKAGE_luci-app-statistics:collectd-mod-wireless \
510 +PACKAGE_luci-app-statistics:collectd-mod-interface \
511 +PACKAGE_luci-app-statistics:collectd-mod-load
512 TITLE:=LuCI Statistics Application
515 define Package/luci-app-statistics/conffiles
516 /etc/config/luci_statistics
519 define Package/luci-app-statistics/install
520 $(call Package/luci/install/template,$(1),applications/luci-statistics)
523 define Package/luci-app-diag-core
524 $(call Package/luci/webtemplate)
525 DEPENDS+=+luci-admin-core
526 TITLE:=LuCI Diagnostics Tools (Core)
529 define Package/luci-app-diag-devinfo
530 $(call Package/luci/webtemplate)
531 DEPENDS+=+luci-app-diag-core +smap +netdiscover +mac-to-devinfo +httping +smap-to-devinfo +netdiscover-to-devinfo
532 TITLE:=LuCI Diagnostics Tools (Device Info)
535 define Package/luci-app-voice-core
536 $(call Package/luci/webtemplate)
537 DEPENDS+=+luci-admin-core
538 TITLE:=LuCI Voice Software (Core)
541 define Package/luci-app-voice-diag
542 $(call Package/luci/webtemplate)
543 DEPENDS+=+luci-app-voice-core +luci-app-diag-devinfo
544 TITLE:=LuCI Voice Software (Diagnostics)
547 define Package/luci-app-diag-devinfo/conffiles
548 /etc/config/luci_devinfo
551 define Package/luci-app-diag-core/install
552 $(call Package/luci/install/template,$(1),applications/luci-diag-core)
555 define Package/luci-app-diag-devinfo/install
556 $(call Package/luci/install/template,$(1),applications/luci-diag-devinfo)
559 define Package/luci-app-voice-core/install
560 $(call Package/luci/install/template,$(1),applications/luci-voice-core)
563 define Package/luci-app-voice-diag/install
564 $(call Package/luci/install/template,$(1),applications/luci-voice-diag)
567 define Package/luci-app-upnp
568 $(call Package/luci/webtemplate)
569 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-upnp:miniupnpd
570 TITLE:=Universal Plug & Play configuration module
573 define Package/luci-app-upnp/install
574 $(call Package/luci/install/template,$(1),applications/luci-upnp)
578 define Package/luci-app-ntpc
579 $(call Package/luci/webtemplate)
580 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-ntpc:ntpclient
581 TITLE:=NTP time synchronisation client configuration module
584 define Package/luci-app-ntpc/install
585 $(call Package/luci/install/template,$(1),applications/luci-ntpc)
589 define Package/luci-app-ddns
590 $(call Package/luci/webtemplate)
591 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-ddns:ddns-scripts
592 TITLE:=Dynamic DNS configuration module
595 define Package/luci-app-ddns/install
596 $(call Package/luci/install/template,$(1),applications/luci-ddns)
600 define Package/luci-app-samba
601 $(call Package/luci/webtemplate)
602 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-samba:samba3
603 TITLE:=Network Shares - Samba SMB/CIFS module
606 define Package/luci-app-samba/install
607 $(call Package/luci/install/template,$(1),applications/luci-samba)
611 define Package/luci-app-uvc_streamer
612 $(call Package/luci/webtemplate)
613 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-uvc_streamer:uvc-streamer
614 TITLE:=Webcam Streaming - UVC-Streamer module
617 define Package/luci-app-uvc_streamer/install
618 $(call Package/luci/install/template,$(1),applications/luci-uvc_streamer)
622 define Package/luci-app-mmc_over_gpio
623 $(call Package/luci/webtemplate)
624 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-mmc_over_gpio:kmod-mmc-over-gpio
628 define Package/luci-app-mmc_over_gpio/install
629 $(call Package/luci/install/template,$(1),applications/luci-mmc_over_gpio)
633 define Package/luci-app-p910nd
634 $(call Package/luci/webtemplate)
635 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-p910nd:p910nd
636 TITLE:=p910nd - Printer server module
639 define Package/luci-app-p910nd/install
640 $(call Package/luci/install/template,$(1),applications/luci-p910nd)
644 define Package/luci-app-ushare
645 $(call Package/luci/webtemplate)
646 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-ushare:ushare
647 TITLE:=ushare - UPnP A/V & DLNA Media Server
650 define Package/luci-app-ushare/install
651 $(call Package/luci/install/template,$(1),applications/luci-ushare)
654 define Package/luci-app-hd_idle
655 $(call Package/luci/webtemplate)
656 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-hd_idle:hd-idle
660 define Package/luci-app-hd_idle/install
661 $(call Package/luci/install/template,$(1),applications/luci-hd_idle)
664 define Package/luci-app-tinyproxy
665 $(call Package/luci/webtemplate)
666 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-tinyproxy:tinyproxy
667 TITLE:=Tinyproxy - HTTP(S)-Proxy
670 define Package/luci-app-tinyproxy/install
671 $(call Package/luci/install/template,$(1),applications/luci-tinyproxy)
674 define Package/luci-app-initmgr
675 $(call Package/luci/webtemplate)
676 DEPENDS+=+luci-admin-full
677 TITLE:=LuCI Initscript Management
680 define Package/luci-app-initmgr/install
681 $(call Package/luci/install/template,$(1),applications/luci-initmgr)
684 define Package/luci-app-livestats
685 $(call Package/luci/webtemplate)
686 DEPENDS+=+luci-admin-core +luci-admin-rpc
687 TITLE:=LuCI Realtime Statistics
690 define Package/luci-app-livestats/install
691 $(call Package/luci/install/template,$(1),applications/luci-livestats)
694 define Package/luci-app-asterisk
695 $(call Package/luci/webtemplate)
696 TITLE:=LuCI Support for Asterisk PBX
697 DEPENDS+=@BROKEN +luci-admin-core +PACKAGE_luci-app-asterisk:asterisk14-xip-core
700 define Package/luci-app-asterisk/install
701 $(call Package/luci/install/template,$(1),applications/luci-asterisk)
704 define Package/luci-app-polipo
705 $(call Package/luci/webtemplate)
706 TITLE:=LuCI Support for the Polipo Proxy
707 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-polipo:polipo
710 define Package/luci-app-polipo/install
711 $(call Package/luci/install/template,$(1),applications/luci-polipo)
714 define Package/luci-app-openvpn
715 $(call Package/luci/webtemplate)
716 TITLE:=LuCI Support for OpenVPN
717 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-openvpn:openvpn
720 define Package/luci-app-openvpn/install
721 $(call Package/luci/install/template,$(1),applications/luci-openvpn)
724 define Package/luci-app-p2pblock
725 $(call Package/luci/webtemplate)
726 TITLE:=LuCI Support for the Freifunk P2P-Block addon
727 DEPENDS+=+luci-admin-core +luci-app-firewall \
728 +PACKAGE_luci-app-p2pblock:freifunk-p2pblock
731 define Package/luci-app-p2pblock/install
732 $(call Package/luci/install/template,$(1),applications/luci-p2pblock)
736 ### Server Gateway Interfaces ###
738 define Package/luci-sgi-cgi
739 $(call Package/luci/libtemplate)
743 define Package/luci-sgi-cgi/install
744 $(call Package/luci/install/template,$(1),libs/sgi-cgi)
748 define Package/luci-theme-base
749 $(call Package/luci/thtemplate)
751 TITLE:=Common base for all themes
754 define Package/luci-theme-base/install
755 $(call Package/luci/install/template,$(1),themes/base)
758 define Package/luci-theme-fledermaus
759 $(call Package/luci/fftemplate)
761 TITLE:=Fledermaus Theme
764 define Package/luci-theme-fledermaus/install
765 $(call Package/luci/install/template,$(1),themes/fledermaus)
768 define Package/luci-theme-freifunk
769 $(call Package/luci/fftemplate)
771 MAINTAINER:=Stefan Pirwitz <stefan-at-freifunk-bno-dot-de>
772 TITLE:=alternative Freifunk Theme
775 define Package/luci-theme-freifunk/install
776 $(call Package/luci/install/template,$(1),themes/freifunk)
779 define Package/luci-theme-freifunk-bno
780 $(call Package/luci/fftemplate)
782 MAINTAINER:=Stefan Pirwitz <stefan-at-freifunk-bno-dot-de>
783 TITLE:=Freifunk Berlin Nordost Theme
786 define Package/luci-theme-freifunk-bno/install
787 $(call Package/luci/install/template,$(1),themes/freifunk-bno)
790 define Package/luci-theme-freifunk-hannover
791 $(call Package/luci/fftemplate)
793 MAINTAINER:=Mikolas Bingemer <mickey-at-freifunk-hannover-dot-de>
794 TITLE:=Freifunk Hannover Theme
797 define Package/luci-theme-freifunk-hannover/install
798 $(call Package/luci/install/template,$(1),themes/freifunk-hannover)
801 define Package/luci-theme-openwrt
802 $(call Package/luci/thtemplate)
803 TITLE:=OpenWrt.org (default)
804 DEPENDS:=+luci-theme-base
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))