i18n: add Malay language
[project/luci.git] / contrib / package / luci / Makefile
1 include $(TOPDIR)/rules.mk
2
3 PKG_BRANCH:=trunk
4
5 ifeq ($(DUMP),)
6   USELOCAL:=$(shell grep luci ../../../.project 2>/dev/null >/dev/null && echo 1)
7 endif
8
9 PKG_NAME:=luci
10 PKG_RELEASE:=1
11
12 ifeq ($(USELOCAL),1)
13   PKG_VERSION:=0.9+svn
14 else
15   PKG_SOURCE_URL:=http://svn.luci.subsignal.org/luci/$(PKG_BRANCH)
16   ifeq ($(DUMP),)
17     PKG_REV:=$(shell LC_ALL=C svn info $(CURDIR) | sed -ne's/^Revision: //p')
18     PKG_VERSION:=0.9+svn$(PKG_REV)
19   endif
20   PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
21   PKG_SOURCE:=$(PKG_SOURCE_SUBDIR).tar.gz
22   PKG_SOURCE_PROTO:=svn
23   PKG_SOURCE_VERSION:=$(PKG_REV)
24 endif
25
26 PKG_BUILD_DEPENDS:=$(if $(STAGING_DIR_ROOT),lua/host)
27 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
28 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
29
30 LUA_TARGET:=source
31 LUCI_CFLAGS:=
32 PKG_SELECTED_MODULES:=
33
34 ifeq ($(BOARD),brcm-2.4)
35   MAKE_FLAGS += CRAP="1"
36 endif
37
38
39 include $(INCLUDE_DIR)/package.mk
40
41 ifeq ($(USELOCAL),1)
42   define Build/Prepare
43         mkdir -p $(PKG_BUILD_DIR)
44         $(TAR) c -C ../../../ . \
45                 --exclude=.pc --exclude=.svn --exclude=.git \
46                 --exclude='boa-0*' --exclude='*.o' --exclude='*.so' \
47                 --exclude=dist | \
48                         tar x -C $(PKG_BUILD_DIR)/
49   endef
50 endif
51
52 define Build/Configure
53 endef
54
55 ### Templates ###
56
57 define Package/luci/libtemplate
58   SECTION:=luci
59   CATEGORY:=LuCI
60   TITLE:=LuCI - Lua Configuration Interface
61   URL:=http://luci.freifunk-halle.net/
62   MAINTAINER:=Steven Barth <steven-at-midlink-dot-org>
63   SUBMENU:=Internal Libraries
64   DEPENDS:=+luci-core
65 endef
66
67 define Package/luci/webservertemplate
68   $(call Package/luci/libtemplate)
69   SUBMENU:=Webserver
70 endef
71
72 define Package/luci/fftemplate
73   $(call Package/luci/libtemplate)
74   SUBMENU:=Freifunk
75   DEPENDS:=+luci-mod-freifunk
76 endef
77
78 define Package/luci/i18ntemplate
79   $(call Package/luci/libtemplate)
80   SUBMENU:=Translations
81   DEPENDS:=+luci-web
82 endef
83
84 define Package/luci/thtemplate
85   $(call Package/luci/libtemplate)
86   SUBMENU:=Themes
87   DEPENDS:=+luci-web
88 endef
89
90 define Package/luci/maintemplate
91   $(call Package/luci/libtemplate)
92   SUBMENU:=
93 endef
94
95 define Package/luci/webtemplate
96   $(call Package/luci/libtemplate)
97   SUBMENU:=Components
98 endef
99
100 define Package/luci/collectiontemplate
101   $(call Package/luci/libtemplate)
102   SUBMENU:=Collections
103 endef
104
105
106 define Package/luci/install/template
107         $(CP) -a $(PKG_BUILD_DIR)/$(2)/dist/* $(1)/ -R
108         $(CP) -a $(PKG_BUILD_DIR)/$(2)/ipkg/* $(1)/CONTROL/ 2>/dev/null || true
109 endef
110
111
112
113 ### Core package ###
114
115 define Package/luci-core
116   $(call Package/luci/libtemplate)
117   DEPENDS:=+lua +luci-nixio
118   TITLE:=LuCI core libraries
119 endef
120
121 define Package/luci-core/install
122         $(call Package/luci/install/template,$(1),libs/core)
123         $(PKG_BUILD_DIR)/build/mkversion.sh $(1)/usr/lib/lua/luci/version.lua \
124                 "OpenWrt Firmware" \
125                 "$(OPENWRTVERSION)" \
126                 "$(PKG_BRANCH)" \
127                 "$(PKG_VERSION)"
128 endef
129
130 define Package/luci-core/config
131        choice
132                prompt "Build Target"
133                default PACKAGE_luci-core_source
134
135        config PACKAGE_luci-core_compile
136                bool "Precompiled"
137
138        config PACKAGE_luci-core_stripped
139                bool "Stripped"
140
141        config PACKAGE_luci-core_source
142                bool "Full Source"
143
144        endchoice
145 endef
146
147 ifneq ($(CONFIG_PACKAGE_luci-core_compile),)
148   LUA_TARGET:=compile
149 endif
150
151 ifneq ($(CONFIG_PACKAGE_luci-core_stripped),)
152   LUA_TARGET:=strip
153 endif
154
155 ifneq ($(CONFIG_PACKAGE_luci-core_zipped),)
156   LUA_TARGET:=gzip
157 endif
158
159
160 ### Libraries ###
161 define Package/luci-cbi
162   $(call Package/luci/libtemplate)
163   DEPENDS+=+luci-web +luci-uci
164   TITLE:=Configuration Binding Interface
165 endef
166
167 define Package/luci-cbi/install
168         $(call Package/luci/install/template,$(1),libs/cbi)
169 endef
170
171
172 define Package/luci-uci
173   $(call Package/luci/libtemplate)
174   DEPENDS+=+libuci-lua
175   TITLE:=High-Level UCI API
176 endef
177
178 define Package/luci-uci/install
179         $(call Package/luci/install/template,$(1),libs/uci)
180 endef
181
182
183 define Package/luci-fastindex
184   $(call Package/luci/libtemplate)
185   TITLE:=Fastindex indexing module
186 endef
187
188 define Package/luci-fastindex/install
189         $(call Package/luci/install/template,$(1),libs/fastindex)
190 endef
191
192
193 define Package/luci-http
194   $(call Package/luci/libtemplate)
195   TITLE:=HTTP Protocol implementation
196 endef
197
198 define Package/luci-http/install
199         $(call Package/luci/install/template,$(1),libs/http)
200 endef
201
202
203 define Package/luci-httpclient
204   $(call Package/luci/libtemplate)
205   TITLE:=HTTP(S) client library
206   DEPENDS+=+luci-http +luci-nixio
207 endef
208
209 define Package/luci-httpclient/install
210         $(call Package/luci/install/template,$(1),libs/httpclient)
211 endef
212
213
214 define Package/luci-ipkg
215   $(call Package/luci/libtemplate)
216   TITLE:=LuCI IPKG/OPKG call abstraction library
217 endef
218
219 define Package/luci-ipkg/install
220         $(call Package/luci/install/template,$(1),libs/ipkg)
221 endef
222
223
224 define Package/luci-json
225   $(call Package/luci/libtemplate)
226   TITLE:=LuCI JSON Library
227 endef
228
229 define Package/luci-json/install
230         $(call Package/luci/install/template,$(1),libs/json)
231 endef
232
233
234 define Package/luci-lmo
235   $(call Package/luci/libtemplate)
236   TITLE:=lmo
237 endef
238
239 define Package/luci-lmo/install
240         $(call Package/luci/install/template,$(1),libs/lmo)
241 endef
242
243
244 define Package/luci-luanet
245   $(call Package/luci/libtemplate)
246   TITLE:=luanet
247   DEPENDS+=+libiw
248 endef
249
250 define Package/luci-luanet/install
251         $(call Package/luci/install/template,$(1),libs/luanet)
252 endef
253
254
255 define Package/luci-iwinfo
256   $(call Package/luci/libtemplate)
257   TITLE:=Wireless abstration library
258 endef
259
260 define Package/luci-iwinfo/install
261         $(call Package/luci/install/template,$(1),libs/iwinfo)
262 endef
263
264
265 define Package/luci-lucid
266   $(call Package/luci/webservertemplate)
267   TITLE:=LuCId Full-Stack Webserver
268   DEPENDS+=+luci-nixio +luci-http +luci-px5g
269 endef
270
271 define Package/luci-lucid/install
272         $(call Package/luci/install/template,$(1),libs/lucid)
273         $(call Package/luci/install/template,$(1),libs/lucid-http)
274 endef
275
276
277
278 NIXIO_TLS:=
279
280 define Package/luci-nixio
281   $(call Package/luci/libtemplate)
282   TITLE:=NIXIO POSIX Library
283   DEPENDS:=+PACKAGE_luci-nixio_openssl:libopenssl +PACKAGE_luci-nixio_cyassl:libcyassl
284 endef
285
286 define Package/luci-nixio/install
287         $(call Package/luci/install/template,$(1),libs/nixio)
288 endef
289
290 define Package/luci-nixio/config
291         choice
292                 prompt "TLS Provider"
293                 default PACKAGE_luci-nixio_notls
294
295                 config PACKAGE_luci-nixio_notls
296                         bool "Disabled"
297
298                 config PACKAGE_luci-nixio_axtls
299                         bool "Builtin (axTLS)"
300
301                 config PACKAGE_luci-nixio_cyassl
302                         bool "CyaSSL"
303                         select PACKAGE_libcyassl
304
305                 config PACKAGE_luci-nixio_openssl
306                         bool "OpenSSL"
307                         select PACKAGE_libopenssl
308         endchoice
309 endef
310
311 ifneq ($(CONFIG_PACKAGE_luci-nixio_axtls),)
312   NIXIO_TLS:=axtls
313 endif
314
315 ifneq ($(CONFIG_PACKAGE_luci-nixio_openssl),)
316   NIXIO_TLS:=openssl
317 endif
318
319 ifneq ($(CONFIG_PACKAGE_luci-nixio_cyassl),)
320   NIXIO_TLS:=cyassl
321   LUCI_CFLAGS+=-I$(STAGING_DIR)/usr/include/cyassl
322 endif
323
324
325 define Package/luci-px5g
326   $(call Package/luci/webservertemplate)
327   TITLE:=RSA/X.509 Key Generator (required for LuCId SSL support)
328   DEPENDS:=+luci-nixio
329 endef
330
331 define Package/luci-px5g/install
332         $(call Package/luci/install/template,$(1),libs/px5g)
333 endef
334
335
336 define Package/luci-sys
337   $(call Package/luci/libtemplate)
338   TITLE:=LuCI Linux/POSIX system library
339   DEPENDS:=+luci-iwinfo
340 endef
341
342 define Package/luci-sys/install
343         $(call Package/luci/install/template,$(1),libs/sys)
344 endef
345
346
347 define Package/luci-web
348   $(call Package/luci/libtemplate)
349   DEPENDS+=+luci-http +luci-sys +luci-nixio +luci-uci \
350         +luci-sgi-cgi +luci-lmo
351   TITLE:=MVC Webframework
352   $(call Config,luci.main.lang,string,auto,Default Language)
353 endef
354
355 define Package/luci-web/conffiles
356 /etc/config/luci
357 endef
358
359 define Package/luci-web/install
360         $(call Package/luci/install/template,$(1),libs/web)
361 endef
362
363
364 define Package/luci-uvl
365   $(call Package/luci/libtemplate)
366   DEPENDS+=+luci-sys +luci-uci +luci-core
367   TITLE:=UVL - UCI Validation Layer
368 endef
369
370 define Package/luci-uvl/install
371         $(call Package/luci/install/template,$(1),libs/uvl)
372 endef
373
374
375
376 ### Community Packages ###
377
378 define Package/luci-freifunk-community
379   $(call Package/luci/fftemplate)
380   DEPENDS+= \
381    +luci-web +luci-app-splash \
382    +luci-app-ffwizard-leipzig \
383    +luci-i18n-german \
384    +PACKAGE_luci-freifunk-community:olsrd-luci +PACKAGE_luci-freifunk-community:olsrd-luci-mod-dyn-gw-plain \
385    +PACKAGE_luci-freifunk-community:olsrd-luci-mod-txtinfo +PACKAGE_luci-freifunk-community:olsrd-luci-mod-nameservice \
386    +PACKAGE_luci-freifunk-community:olsrd-luci-mod-watchdog +PACKAGE_luci-freifunk-community:kmod-tun \
387    +PACKAGE_luci-freifunk-community:ip +PACKAGE_luci-freifunk-community:freifunk-watchdog +luci-app-olsr
388   TITLE:=Freifunk Community Meta-Package
389 endef
390
391 define Package/luci-freifunk-community/install
392         $(call Package/luci/install/template,$(1),applications/freifunk-community)
393 endef
394
395 ### Modules ###
396
397 define Package/luci-admin-core
398   $(call Package/luci/webtemplate)
399   DEPENDS+=+luci-web +luci-cbi +luci-i18n-english
400   TITLE:=Web UI Core Module
401 endef
402
403 define Package/luci-admin-core/install
404         $(call Package/luci/install/template,$(1),modules/admin-core)
405         touch $(1)/etc/init.d/luci_fixtime || true
406 endef
407
408
409 define Package/luci-niu
410   $(call Package/luci/maintemplate)
411   DEPENDS+=+luci-admin-core @BROKEN
412   TITLE:=NIU - Next Generation Interface 
413 endef
414
415 define Package/luci-niu/install 
416         $(call Package/luci/install/template,$(1),modules/niu)
417 endef
418
419 define Package/luci-admin-mini
420   $(call Package/luci/webtemplate)
421   DEPENDS+=+luci-admin-core
422   TITLE:=LuCI Essentials - stripped down and user-friendly
423 endef
424
425 define Package/luci-admin-mini/install
426         $(call Package/luci/install/template,$(1),modules/admin-mini)
427 endef
428
429
430 define Package/luci-admin-full
431   $(call Package/luci/webtemplate)
432   DEPENDS+=+luci-admin-core +luci-ipkg
433   TITLE:=LuCI Administration - full-featured for full control
434 endef
435
436 define Package/luci-admin-full/install
437         $(call Package/luci/install/template,$(1),modules/admin-full)
438 endef
439
440
441 define Package/luci-admin-rpc
442   $(call Package/luci/webtemplate)
443   DEPENDS+=+luci-json
444   TITLE:=LuCI RPC - JSON-RPC API
445 endef
446
447 define Package/luci-admin-rpc/install
448         $(call Package/luci/install/template,$(1),modules/rpc)
449 endef
450
451
452 define Package/luci-mod-freifunk
453   $(call Package/luci/fftemplate)
454   DEPENDS:=+luci-admin-full +luci-json +PACKAGE_luci-mod-freifunk:freifunk-firewall
455   TITLE:=LuCI Freifunk module
456 endef
457
458 define Package/luci-mod-freifunk/conffiles
459 /etc/config/freifunk
460 endef
461
462 define Package/luci-mod-freifunk/install
463         $(call Package/luci/install/template,$(1),modules/freifunk)
464 endef
465
466
467
468 ### Applications ###
469
470 define Package/luci-app-ffwizard-leipzig
471   $(call Package/luci/fftemplate)
472   TITLE:=Freifunk Leipzig configuration wizard
473 endef
474
475 define Package/luci-app-ffwizard-leipzig/install
476         $(call Package/luci/install/template,$(1),applications/luci-ffwizard-leipzig)
477 endef
478
479
480 define Package/luci-app-siitwizard
481   $(call Package/luci/fftemplate)
482   TITLE:=SIIT IPv4-over-IPv6 configuration wizard
483   DEPENDS:=+luci-admin-core +PACKAGE_luci-app-siitwizard:kmod-siit
484 endef
485
486 define Package/luci-app-siitwizard/install
487         $(call Package/luci/install/template,$(1),applications/luci-siitwizard)
488 endef
489
490
491 define Package/luci-app-firewall
492   $(call Package/luci/webtemplate)
493   DEPENDS+=+luci-admin-core +PACKAGE_luci-app-firewall:firewall
494   TITLE:=Firewall and Portforwarding application
495 endef
496
497 define Package/luci-app-firewall/install
498         $(call Package/luci/install/template,$(1),applications/luci-fw)
499 endef
500
501
502 define Package/luci-app-olsr
503   $(call Package/luci/webtemplate)
504   DEPENDS+=+luci-admin-full +PACKAGE_luci-app-olsr:olsrd-luci \
505    +PACKAGE_luci-app-olsr:olsrd-luci-mod-txtinfo
506   TITLE:=OLSR configuration and status module
507 endef
508
509 define Package/luci-app-olsr/install
510         $(call Package/luci/install/template,$(1),applications/luci-olsr)
511 endef
512
513
514 define Package/luci-app-qos
515   $(call Package/luci/webtemplate)
516   DEPENDS+=+luci-admin-core +PACKAGE_luci-app-qos:qos-scripts
517   TITLE:=Quality of Service configuration module
518 endef
519
520 define Package/luci-app-qos/install
521         $(call Package/luci/install/template,$(1),applications/luci-qos)
522 endef
523
524
525 define Package/luci-app-splash
526   $(call Package/luci/fftemplate)
527   DEPENDS+=+PACKAGE_luci-app-splash:luci-nixio \
528    +PACKAGE_luci-app-splash:tc +PACKAGE_luci-app-splash:kmod-sched \
529    +PACKAGE_luci-app-splash:iptables-mod-nat-extra \
530    +PACKAGE_luci-app-splash:iptables-mod-ipopt
531   TITLE:=Freifunk DHCP-Splash application
532 endef
533
534 define Package/luci-app-splash/conffiles
535 /etc/config/luci_splash
536 endef
537
538 define Package/luci-app-splash/install
539         $(call Package/luci/install/template,$(1),applications/luci-splash)
540 endef
541
542
543 define Package/luci-app-statistics
544   $(call Package/luci/webtemplate)
545   DEPENDS+=+luci-admin-full +PACKAGE_luci-app-statistics:collectd \
546    +PACKAGE_luci-app-statistics:rrdtool1 \
547    +PACKAGE_luci-app-statistics:collectd-mod-rrdtool \
548    +PACKAGE_luci-app-statistics:collectd-mod-wireless \
549    +PACKAGE_luci-app-statistics:collectd-mod-interface \
550    +PACKAGE_luci-app-statistics:collectd-mod-load
551   TITLE:=LuCI Statistics Application
552 endef
553
554 define Package/luci-app-statistics/conffiles
555 /etc/config/luci_statistics
556 endef
557
558 define Package/luci-app-statistics/install
559         $(call Package/luci/install/template,$(1),applications/luci-statistics)
560 endef
561
562 define Package/luci-app-diag-core
563   $(call Package/luci/webtemplate)
564   DEPENDS+=+luci-admin-core 
565   TITLE:=LuCI Diagnostics Tools (Core)
566 endef
567
568 define Package/luci-app-diag-devinfo
569   $(call Package/luci/webtemplate)
570   DEPENDS+=+PACKAGE_luci-app-diag-devinfo:luci-app-diag-core \
571         +PACKAGE_luci-app-diag-devinfo:smap \
572         +PACKAGE_luci-app-diag-devinfo:netdiscover \
573         +PACKAGE_luci-app-diag-devinfo:mac-to-devinfo \
574         +PACKAGE_luci-app-diag-devinfo:httping \
575         +PACKAGE_luci-app-diag-devinfo:smap-to-devinfo \
576         +PACKAGE_luci-app-diag-devinfo:netdiscover-to-devinfo
577   TITLE:=LuCI Diagnostics Tools (Device Info)
578 endef
579
580 define Package/luci-app-voice-core
581   $(call Package/luci/webtemplate)
582   DEPENDS+=+luci-admin-core 
583   TITLE:=LuCI Voice Software (Core)
584 endef
585
586 define Package/luci-app-voice-diag
587   $(call Package/luci/webtemplate)
588   DEPENDS+=+PACKAGE_luci-app-voice-diag:luci-app-voice-core \
589      +PACKAGE_luci-app-voice-diag:luci-app-diag-devinfo
590   TITLE:=LuCI Voice Software (Diagnostics)
591 endef
592
593 define Package/luci-app-diag-devinfo/conffiles
594 /etc/config/luci_devinfo
595 endef
596
597 define Package/luci-app-diag-core/install
598         $(call Package/luci/install/template,$(1),applications/luci-diag-core)
599 endef
600
601 define Package/luci-app-diag-devinfo/install
602         $(call Package/luci/install/template,$(1),applications/luci-diag-devinfo)
603 endef
604
605 define Package/luci-app-voice-core/install
606         $(call Package/luci/install/template,$(1),applications/luci-voice-core)
607 endef
608
609 define Package/luci-app-voice-diag/install
610         $(call Package/luci/install/template,$(1),applications/luci-voice-diag)
611 endef
612
613 define Package/luci-app-upnp
614   $(call Package/luci/webtemplate)
615   DEPENDS+=+luci-admin-core +PACKAGE_luci-app-upnp:miniupnpd
616   TITLE:=Universal Plug & Play configuration module
617 endef
618
619 define Package/luci-app-upnp/install
620         $(call Package/luci/install/template,$(1),applications/luci-upnp)
621 endef
622
623
624 define Package/luci-app-ntpc
625   $(call Package/luci/webtemplate)
626   DEPENDS+=+luci-admin-core +PACKAGE_luci-app-ntpc:ntpclient
627   TITLE:=NTP time synchronisation client configuration module
628 endef
629
630 define Package/luci-app-ntpc/install
631         $(call Package/luci/install/template,$(1),applications/luci-ntpc)
632 endef
633
634
635 define Package/luci-app-ddns
636   $(call Package/luci/webtemplate)
637   DEPENDS+=+luci-admin-core +PACKAGE_luci-app-ddns:ddns-scripts
638   TITLE:=Dynamic DNS configuration module
639 endef
640
641 define Package/luci-app-ddns/install
642         $(call Package/luci/install/template,$(1),applications/luci-ddns)
643 endef
644
645
646 define Package/luci-app-samba
647   $(call Package/luci/webtemplate)
648   DEPENDS+=+luci-admin-full +PACKAGE_luci-app-samba:samba3
649   TITLE:=Network Shares - Samba SMB/CIFS module
650 endef
651
652 define Package/luci-app-samba/install
653         $(call Package/luci/install/template,$(1),applications/luci-samba)
654 endef
655
656
657 define Package/luci-app-mmc-over-gpio
658   $(call Package/luci/webtemplate)
659   DEPENDS+=+luci-admin-full +PACKAGE_luci-app-mmc-over-gpio:kmod-mmc-over-gpio
660   TITLE:=mmc_over_gpio
661 endef
662
663 define Package/luci-app-mmc-over-gpio/install
664         $(call Package/luci/install/template,$(1),applications/luci-mmc-over-gpio)
665 endef
666
667
668 define Package/luci-app-p910nd
669   $(call Package/luci/webtemplate)
670   DEPENDS+=+luci-admin-full +PACKAGE_luci-app-p910nd:p910nd
671   TITLE:=p910nd - Printer server module
672 endef
673
674 define Package/luci-app-p910nd/install
675         $(call Package/luci/install/template,$(1),applications/luci-p910nd)
676 endef
677
678
679 define Package/luci-app-ushare
680   $(call Package/luci/webtemplate)
681   DEPENDS+=+luci-admin-full +PACKAGE_luci-app-ushare:ushare
682   TITLE:=ushare - UPnP A/V & DLNA Media Server
683 endef
684
685 define Package/luci-app-ushare/install
686         $(call Package/luci/install/template,$(1),applications/luci-ushare)
687 endef
688
689 define Package/luci-app-hd-idle
690   $(call Package/luci/webtemplate)
691   DEPENDS+=+luci-admin-full +PACKAGE_luci-app-hd-idle:hd-idle
692   TITLE:=hd-idle
693 endef
694
695 define Package/luci-app-hd-idle/install
696         $(call Package/luci/install/template,$(1),applications/luci-hd-idle)
697 endef
698
699 define Package/luci-app-tinyproxy
700   $(call Package/luci/webtemplate)
701   DEPENDS+=+luci-admin-full +PACKAGE_luci-app-tinyproxy:tinyproxy
702   TITLE:=Tinyproxy - HTTP(S)-Proxy
703 endef
704
705 define Package/luci-app-tinyproxy/install
706         $(call Package/luci/install/template,$(1),applications/luci-tinyproxy)
707 endef
708
709 define Package/luci-app-initmgr
710   $(call Package/luci/webtemplate)
711   DEPENDS+=+luci-admin-full
712   TITLE:=LuCI Initscript Management
713 endef
714
715 define Package/luci-app-initmgr/install
716         $(call Package/luci/install/template,$(1),applications/luci-initmgr)
717 endef
718
719 define Package/luci-app-livestats
720   $(call Package/luci/webtemplate)
721   DEPENDS+=+luci-admin-core +luci-admin-rpc
722   TITLE:=LuCI Realtime Statistics
723 endef
724
725 define Package/luci-app-livestats/install
726         $(call Package/luci/install/template,$(1),applications/luci-livestats)
727 endef
728
729 define Package/luci-app-asterisk
730   $(call Package/luci/webtemplate)
731   TITLE:=LuCI Support for Asterisk PBX
732   DEPENDS+=@BROKEN +luci-admin-core +PACKAGE_luci-app-asterisk:asterisk14-xip-core
733 endef
734
735 define Package/luci-app-asterisk/install
736         $(call Package/luci/install/template,$(1),applications/luci-asterisk)
737 endef
738
739 define Package/luci-app-polipo
740   $(call Package/luci/webtemplate)
741   TITLE:=LuCI Support for the Polipo Proxy
742   DEPENDS+=+luci-admin-core +PACKAGE_luci-app-polipo:polipo
743 endef
744
745 define Package/luci-app-polipo/install
746         $(call Package/luci/install/template,$(1),applications/luci-polipo)
747 endef
748
749 define Package/luci-app-openvpn
750   $(call Package/luci/webtemplate)
751   TITLE:=LuCI Support for OpenVPN
752   DEPENDS+=+luci-admin-core +PACKAGE_luci-app-openvpn:openvpn
753 endef
754
755 define Package/luci-app-openvpn/install
756         $(call Package/luci/install/template,$(1),applications/luci-openvpn)
757 endef
758
759 define Package/luci-app-p2pblock
760   $(call Package/luci/webtemplate)
761   TITLE:=LuCI Support for the Freifunk P2P-Block addon
762   DEPENDS+=+luci-admin-core +luci-app-firewall \
763     +PACKAGE_luci-app-p2pblock:freifunk-p2pblock
764 endef
765
766 define Package/luci-app-p2pblock/install
767         $(call Package/luci/install/template,$(1),applications/luci-p2pblock)
768 endef
769
770 define Package/luci-app-multiwan
771   $(call Package/luci/webtemplate)
772   TITLE:=LuCI Support for the OpenWrt MultiWAN agent
773   DEPENDS+=+luci-admin-core +luci-app-firewall \
774     +PACKAGE_luci-app-multiwan:multiwan
775 endef
776
777 define Package/luci-app-multiwan/install
778         $(call Package/luci/install/template,$(1),applications/luci-multiwan)
779 endef
780
781 define Package/luci-app-wol
782   $(call Package/luci/webtemplate)
783   TITLE:=LuCI Support for Wake-on-LAN
784   DEPENDS+=+luci-admin-core +PACKAGE_luci-app-wol:etherwake
785 endef
786
787 define Package/luci-app-wol/install
788         $(call Package/luci/install/template,$(1),applications/luci-wol)
789 endef
790
791 define Package/luci-app-vnstat
792   $(call Package/luci/webtemplate)
793   TITLE:=LuCI Support for VnStat
794   DEPENDS+=+luci-admin-core +PACKAGE_luci-app-vnstat:vnstat \
795     +PACKAGE_luci-app-vnstat:vnstati
796 endef
797
798 define Package/luci-app-vnstat/install
799         $(call Package/luci/install/template,$(1),applications/luci-vnstat)
800 endef
801
802
803 ### Server Gateway Interfaces ###
804
805 define Package/luci-sgi-cgi
806   $(call Package/luci/webservertemplate)
807   TITLE:=CGI Gateway behind existing Webserver
808 endef
809
810 define Package/luci-sgi-cgi/install
811         $(call Package/luci/install/template,$(1),libs/sgi-cgi)
812 endef
813
814 define Package/luci-sgi-uhttpd
815   $(call Package/luci/libtemplate)
816   TITLE:=Binding for the uHTTPd server
817   DEPENDS+=+uhttpd +uhttpd-mod-lua
818 endef
819
820 define Package/luci-sgi-uhttpd/install
821         $(call Package/luci/install/template,$(1),libs/sgi-uhttpd)
822 endef
823
824
825 ### Themes ###
826 define Package/luci-theme-base
827   $(call Package/luci/thtemplate)
828   DEPENDS:=
829   TITLE:=Common base for all themes
830 endef
831
832 define Package/luci-theme-base/install
833         $(call Package/luci/install/template,$(1),themes/base)
834 endef
835
836 define Package/luci-theme-fledermaus
837   $(call Package/luci/fftemplate)
838   DEPENDS:=+luci-web
839   TITLE:=Fledermaus Theme
840 endef
841
842 define Package/luci-theme-fledermaus/install
843         $(call Package/luci/install/template,$(1),themes/fledermaus)
844 endef
845
846 define Package/luci-theme-freifunk
847   $(call Package/luci/fftemplate)
848   DEPENDS:=+luci-web
849   MAINTAINER:=Stefan Pirwitz <stefan-at-freifunk-bno-dot-de>
850   TITLE:=alternative Freifunk Theme
851 endef
852
853 define Package/luci-theme-freifunk/install
854         $(call Package/luci/install/template,$(1),themes/freifunk)
855 endef
856
857 define Package/luci-theme-freifunk-bno
858   $(call Package/luci/fftemplate)
859   DEPENDS:=+luci-web
860   MAINTAINER:=Stefan Pirwitz <stefan-at-freifunk-bno-dot-de>
861   TITLE:=Freifunk Berlin Nordost Theme
862 endef
863
864 define Package/luci-theme-freifunk-bno/install
865         $(call Package/luci/install/template,$(1),themes/freifunk-bno)
866 endef
867
868 define Package/luci-theme-freifunk-hannover
869   $(call Package/luci/fftemplate)
870   DEPENDS:=+luci-web
871   MAINTAINER:=Mikolas Bingemer <mickey-at-freifunk-hannover-dot-de>
872   TITLE:=Freifunk Hannover Theme
873 endef
874
875 define Package/luci-theme-freifunk-hannover/install
876         $(call Package/luci/install/template,$(1),themes/freifunk-hannover)
877 endef
878
879 define Package/luci-theme-openwrt
880   $(call Package/luci/thtemplate)
881   TITLE:=OpenWrt.org (default)
882   DEPENDS:=+luci-theme-base luci-core
883   DEFAULT:=y if PACKAGE_luci-core
884 endef
885
886 define Package/luci-theme-openwrt/install
887         $(call Package/luci/install/template,$(1),themes/openwrt.org)
888 endef
889
890 define Package/luci-theme-openwrtlight
891   $(call Package/luci/thtemplate)
892   TITLE:=OpenWrt.org - light variant without images
893   DEPENDS:=+luci-theme-base
894 endef
895
896 define Package/luci-theme-openwrtlight/install
897         $(call Package/luci/install/template,$(1),themes/openwrt-light)
898 endef
899
900
901 ### Translations ###
902 define Package/luci-i18n-german
903   $(call Package/luci/i18ntemplate)
904   TITLE:=German
905 endef
906
907 define Package/luci-i18n-german/install
908         $(call Package/luci/install/template,$(1),i18n/german)
909 endef
910
911
912 define Package/luci-i18n-english
913   $(call Package/luci/i18ntemplate)
914   TITLE:=English
915 endef
916
917 define Package/luci-i18n-english/install
918         $(call Package/luci/install/template,$(1),i18n/english)
919 endef
920
921
922 define Package/luci-i18n-french
923   $(call Package/luci/i18ntemplate)
924   TITLE:=French (by Florian Fainelli)
925 endef
926
927 define Package/luci-i18n-french/install
928         $(call Package/luci/install/template,$(1),i18n/french)
929 endef
930
931
932 define Package/luci-i18n-italian
933   $(call Package/luci/i18ntemplate)
934   TITLE:=Italian (by Matteo Croce)
935 endef
936
937 define Package/luci-i18n-italian/install
938         $(call Package/luci/install/template,$(1),i18n/italian)
939 endef
940
941
942 define Package/luci-i18n-russian
943   $(call Package/luci/i18ntemplate)
944   TITLE:=Russian (by Skryabin Dmitry)
945 endef
946
947 define Package/luci-i18n-russian/install
948         $(call Package/luci/install/template,$(1),i18n/russian)
949 endef
950
951
952 define Package/luci-i18n-portuguese_brazilian
953   $(call Package/luci/i18ntemplate)
954   TITLE:=Portuguese (Brazilian) (by Carlos Cesario)
955 endef
956
957 define Package/luci-i18n-portuguese_brazilian/install
958         $(call Package/luci/install/template,$(1),i18n/portuguese_brazilian)
959 endef
960
961
962 define Package/luci-i18n-japanese
963   $(call Package/luci/i18ntemplate)
964   TITLE:=Japanese (by Tsukasa Hamano)
965 endef
966
967 define Package/luci-i18n-japanese/install
968         $(call Package/luci/install/template,$(1),i18n/japanese)
969 endef
970
971
972 define Package/luci-i18n-greek
973   $(call Package/luci/i18ntemplate)
974   TITLE:=Greek (by Vasilis Tsiligiannis)
975 endef
976
977 define Package/luci-i18n-greek/install
978         $(call Package/luci/install/template,$(1),i18n/greek)
979 endef
980
981
982 define Package/luci-i18n-catalan
983   $(call Package/luci/i18ntemplate)
984   TITLE:=Catalan (by Eduard Duran)
985 endef
986
987 define Package/luci-i18n-catalan/install
988         $(call Package/luci/install/template,$(1),i18n/catalan)
989 endef
990
991
992 define Package/luci-i18n-portuguese
993   $(call Package/luci/i18ntemplate)
994   TITLE:=Portuguese (by Jose Monteiro)
995 endef
996
997 define Package/luci-i18n-portuguese/install
998         $(call Package/luci/install/template,$(1),i18n/portuguese)
999 endef
1000
1001
1002 define Package/luci-i18n-spanish
1003   $(call Package/luci/i18ntemplate)
1004   TITLE:=Spanish (by Guillermo Javier Nardoni)
1005 endef
1006
1007 define Package/luci-i18n-spanish/install
1008         $(call Package/luci/install/template,$(1),i18n/spanish)
1009 endef
1010
1011
1012 define Package/luci-i18n-vietnamese
1013   $(call Package/luci/i18ntemplate)
1014   TITLE:=Vietnamese (by Hong Phuc Dang)
1015 endef
1016
1017 define Package/luci-i18n-vietnamese/install
1018         $(call Package/luci/install/template,$(1),i18n/vietnamese)
1019 endef
1020
1021 define Package/luci-i18n-malay
1022   $(call Package/luci/i18ntemplate)
1023   TITLE:=Malay (by Teow Wai Chet)
1024 endef
1025
1026 define Package/luci-i18n-malay/install
1027         $(call Package/luci/install/template,$(1),i18n/malay)
1028 endef
1029
1030
1031 ### Collections ###
1032 define Package/luci
1033   $(call Package/luci/collectiontemplate)
1034   TITLE:=Standard OpenWrt set including full and mini admin and the standard theme
1035   DEPENDS:=+uhttpd +luci-admin-full +luci-admin-mini +luci-theme-openwrt \
1036     +luci-app-firewall +luci-app-initmgr
1037 endef
1038
1039 define Package/luci/install
1040         true
1041 endef
1042
1043
1044 define Package/luci-ssl
1045   $(call Package/luci/collectiontemplate)
1046   TITLE:=Standard OpenWrt set with https support
1047   DEPENDS:=+uhttpd +uhttpd-mod-tls +px5g +luci-admin-full +luci-admin-mini \
1048     +luci-theme-openwrt +luci-app-firewall +luci-app-initmgr
1049 endef
1050
1051 define Package/luci-ssl/install
1052         true
1053 endef
1054
1055
1056 define Package/luci-medium
1057   $(call Package/luci/collectiontemplate)
1058   TITLE:=Medium package set using only admin full and a theme without graphics
1059   DEPENDS:=+uhttpd +luci-admin-full +luci-theme-openwrtlight
1060 endef
1061
1062 define Package/luci-medium/install
1063         true
1064 endef
1065
1066
1067 define Package/luci-light
1068   $(call Package/luci/collectiontemplate)
1069   TITLE:=Minimum package set using only admin mini and a theme without graphics
1070   DEPENDS:=+uhttpd +luci-admin-mini +luci-theme-openwrtlight
1071 endef
1072
1073 define Package/luci-light/install
1074         true
1075 endef
1076
1077
1078 ### Compile ###
1079 ifneq ($(CONFIG_PACKAGE_luci-core),)
1080         PKG_SELECTED_MODULES+=libs/core
1081 endif
1082 ifneq ($(CONFIG_PACKAGE_luci-cbi),)
1083         PKG_SELECTED_MODULES+=libs/cbi
1084 endif
1085 ifneq ($(CONFIG_PACKAGE_luci-fastindex),)
1086         PKG_SELECTED_MODULES+=libs/fastindex
1087 endif
1088 ifneq ($(CONFIG_PACKAGE_luci-http),)
1089         PKG_SELECTED_MODULES+=libs/http
1090 endif
1091 ifneq ($(CONFIG_PACKAGE_luci-httpclient),)
1092         PKG_SELECTED_MODULES+=libs/httpclient
1093 endif
1094 ifneq ($(CONFIG_PACKAGE_luci-ipkg),)
1095         PKG_SELECTED_MODULES+=libs/ipkg
1096 endif
1097 ifneq ($(CONFIG_PACKAGE_luci-json),)
1098         PKG_SELECTED_MODULES+=libs/json
1099 endif
1100 ifneq ($(CONFIG_PACKAGE_luci-lmo),)
1101         PKG_SELECTED_MODULES+=libs/lmo
1102 endif
1103 ifneq ($(CONFIG_PACKAGE_luci-luanet),)
1104         PKG_SELECTED_MODULES+=libs/luanet
1105 endif
1106 ifneq ($(CONFIG_PACKAGE_luci-iwinfo),)
1107         PKG_SELECTED_MODULES+=libs/iwinfo
1108 endif
1109 ifneq ($(CONFIG_PACKAGE_luci-lucid),)
1110         PKG_SELECTED_MODULES+=libs/lucid libs/lucid-http
1111 endif
1112 ifneq ($(CONFIG_PACKAGE_luci-nixio),)
1113         PKG_SELECTED_MODULES+=libs/nixio
1114 endif
1115 ifneq ($(CONFIG_PACKAGE_luci-px5g),)
1116         PKG_SELECTED_MODULES+=libs/px5g
1117 endif
1118 ifneq ($(CONFIG_PACKAGE_luci-uci),)
1119         PKG_SELECTED_MODULES+=libs/uci
1120 endif
1121 ifneq ($(CONFIG_PACKAGE_luci-sys),)
1122         PKG_SELECTED_MODULES+=libs/sys
1123 endif
1124 ifneq ($(CONFIG_PACKAGE_luci-web),)
1125         PKG_SELECTED_MODULES+=libs/web
1126 endif
1127 ifneq ($(CONFIG_PACKAGE_luci-uvl),)
1128         PKG_SELECTED_MODULES+=libs/uvl
1129 endif
1130
1131 ifneq ($(CONFIG_PACKAGE_luci-admin-core),)
1132         PKG_SELECTED_MODULES+=modules/admin-core
1133 endif
1134 ifneq ($(CONFIG_PACKAGE_luci-admin-mini),)
1135         PKG_SELECTED_MODULES+=modules/admin-mini
1136 endif
1137 ifneq ($(CONFIG_PACKAGE_luci-admin-full),)
1138         PKG_SELECTED_MODULES+=modules/admin-full
1139 endif
1140 ifneq ($(CONFIG_PACKAGE_luci-niu),)
1141         PKG_SELECTED_MODULES+=modules/niu
1142 endif
1143 ifneq ($(CONFIG_PACKAGE_luci-admin-rpc),)
1144         PKG_SELECTED_MODULES+=modules/rpc
1145 endif
1146 ifneq ($(CONFIG_PACKAGE_luci-mod-freifunk),)
1147         PKG_SELECTED_MODULES+=modules/freifunk
1148 endif
1149
1150 ifneq ($(CONFIG_PACKAGE_luci-freifunk-community),)
1151         PKG_SELECTED_MODULES+=applications/freifunk-community
1152 endif
1153
1154 ifneq ($(CONFIG_PACKAGE_luci-app-ffwizard-leipzig),)
1155         PKG_SELECTED_MODULES+=applications/luci-ffwizard-leipzig
1156 endif
1157 ifneq ($(CONFIG_PACKAGE_luci-app-siitwizard),)
1158         PKG_SELECTED_MODULES+=applications/luci-siitwizard
1159 endif
1160 ifneq ($(CONFIG_PACKAGE_luci-app-firewall),)
1161         PKG_SELECTED_MODULES+=applications/luci-fw
1162 endif
1163 ifneq ($(CONFIG_PACKAGE_luci-app-olsr),)
1164         PKG_SELECTED_MODULES+=applications/luci-olsr
1165 endif
1166 ifneq ($(CONFIG_PACKAGE_luci-app-qos),)
1167         PKG_SELECTED_MODULES+=applications/luci-qos
1168 endif
1169 ifneq ($(CONFIG_PACKAGE_luci-app-splash),)
1170         PKG_SELECTED_MODULES+=applications/luci-splash
1171 endif
1172 ifneq ($(CONFIG_PACKAGE_luci-app-statistics),)
1173         PKG_SELECTED_MODULES+=applications/luci-statistics
1174 endif
1175 ifneq ($(CONFIG_PACKAGE_luci-app-voice-core),)
1176         PKG_SELECTED_MODULES+=applications/luci-voice-core
1177 endif
1178 ifneq ($(CONFIG_PACKAGE_luci-app-voice-diag),)
1179         PKG_SELECTED_MODULES+=applications/luci-voice-diag
1180 endif
1181 ifneq ($(CONFIG_PACKAGE_luci-app-diag-core),)
1182         PKG_SELECTED_MODULES+=applications/luci-diag-core
1183 endif
1184 ifneq ($(CONFIG_PACKAGE_luci-app-diag-devinfo),)
1185         PKG_SELECTED_MODULES+=applications/luci-diag-devinfo
1186 endif
1187 ifneq ($(CONFIG_PACKAGE_luci-app-upnp),)
1188         PKG_SELECTED_MODULES+=applications/luci-upnp
1189 endif
1190 ifneq ($(CONFIG_PACKAGE_luci-app-ntpc),)
1191         PKG_SELECTED_MODULES+=applications/luci-ntpc
1192 endif
1193 ifneq ($(CONFIG_PACKAGE_luci-app-ddns),)
1194         PKG_SELECTED_MODULES+=applications/luci-ddns
1195 endif
1196 ifneq ($(CONFIG_PACKAGE_luci-app-samba),)
1197         PKG_SELECTED_MODULES+=applications/luci-samba
1198 endif
1199 ifneq ($(CONFIG_PACKAGE_luci-app-mmc-over-gpio),)
1200         PKG_SELECTED_MODULES+=applications/luci-mmc-over-gpio
1201 endif
1202 ifneq ($(CONFIG_PACKAGE_luci-app-p910nd),)
1203         PKG_SELECTED_MODULES+=applications/luci-p910nd
1204 endif
1205 ifneq ($(CONFIG_PACKAGE_luci-app-ushare),)
1206         PKG_SELECTED_MODULES+=applications/luci-ushare
1207 endif
1208 ifneq ($(CONFIG_PACKAGE_luci-app-hd-idle),)
1209        PKG_SELECTED_MODULES+=applications/luci-hd-idle
1210 endif
1211 ifneq ($(CONFIG_PACKAGE_luci-app-tinyproxy),)
1212        PKG_SELECTED_MODULES+=applications/luci-tinyproxy
1213 endif
1214 ifneq ($(CONFIG_PACKAGE_luci-app-initmgr),)
1215        PKG_SELECTED_MODULES+=applications/luci-initmgr
1216 endif
1217 ifneq ($(CONFIG_PACKAGE_luci-app-livestats),)
1218        PKG_SELECTED_MODULES+=applications/luci-livestats
1219 endif
1220 ifneq ($(CONFIG_PACKAGE_luci-app-asterisk),)
1221        PKG_SELECTED_MODULES+=applications/luci-asterisk
1222 endif
1223 ifneq ($(CONFIG_PACKAGE_luci-app-polipo),)
1224        PKG_SELECTED_MODULES+=applications/luci-polipo
1225 endif
1226 ifneq ($(CONFIG_PACKAGE_luci-app-openvpn),)
1227        PKG_SELECTED_MODULES+=applications/luci-openvpn
1228 endif
1229 ifneq ($(CONFIG_PACKAGE_luci-app-p2pblock),)
1230        PKG_SELECTED_MODULES+=applications/luci-p2pblock
1231 endif
1232 ifneq ($(CONFIG_PACKAGE_luci-app-multiwan),)
1233        PKG_SELECTED_MODULES+=applications/luci-multiwan
1234 endif
1235 ifneq ($(CONFIG_PACKAGE_luci-app-wol),)
1236        PKG_SELECTED_MODULES+=applications/luci-wol
1237 endif
1238 ifneq ($(CONFIG_PACKAGE_luci-app-vnstat),)
1239        PKG_SELECTED_MODULES+=applications/luci-vnstat
1240 endif
1241
1242
1243 ifneq ($(CONFIG_PACKAGE_luci-sgi-cgi),)
1244         PKG_SELECTED_MODULES+=libs/sgi-cgi
1245 endif
1246 ifneq ($(CONFIG_PACKAGE_luci-sgi-uhttpd),)
1247         PKG_SELECTED_MODULES+=libs/sgi-uhttpd
1248 endif
1249 ifneq ($(CONFIG_PACKAGE_luci-sgi-luci),)
1250         PKG_SELECTED_MODULES+=libs/sgi-luci
1251 endif
1252
1253 ifneq ($(CONFIG_PACKAGE_luci-theme-base),)
1254         PKG_SELECTED_MODULES+=themes/base
1255 endif
1256 ifneq ($(CONFIG_PACKAGE_luci-theme-fledermaus),)
1257         PKG_SELECTED_MODULES+=themes/fledermaus
1258 endif
1259 ifneq ($(CONFIG_PACKAGE_luci-theme-freifunk-bno),)
1260         PKG_SELECTED_MODULES+=themes/freifunk-bno
1261 endif
1262 ifneq ($(CONFIG_PACKAGE_luci-theme-freifunk-hannover),)
1263         PKG_SELECTED_MODULES+=themes/freifunk-hannover
1264 endif
1265 ifneq ($(CONFIG_PACKAGE_luci-theme-freifunk),)
1266         PKG_SELECTED_MODULES+=themes/freifunk
1267 endif
1268 ifneq ($(CONFIG_PACKAGE_luci-theme-openwrt),)
1269         PKG_SELECTED_MODULES+=themes/openwrt.org
1270 endif
1271 ifneq ($(CONFIG_PACKAGE_luci-theme-openwrtlight),)
1272         PKG_SELECTED_MODULES+=themes/openwrt-light
1273 endif
1274
1275 ifneq ($(CONFIG_PACKAGE_luci-i18n-german),)
1276         PKG_SELECTED_MODULES+=i18n/german
1277 endif
1278 ifneq ($(CONFIG_PACKAGE_luci-i18n-english),)
1279         PKG_SELECTED_MODULES+=i18n/english
1280 endif
1281 ifneq ($(CONFIG_PACKAGE_luci-i18n-french),)
1282         PKG_SELECTED_MODULES+=i18n/french
1283 endif
1284 ifneq ($(CONFIG_PACKAGE_luci-i18n-italian),)
1285         PKG_SELECTED_MODULES+=i18n/italian
1286 endif
1287 ifneq ($(CONFIG_PACKAGE_luci-i18n-russian),)
1288         PKG_SELECTED_MODULES+=i18n/russian
1289 endif
1290 ifneq ($(CONFIG_PACKAGE_luci-i18n-portuguese_brazilian),)
1291         PKG_SELECTED_MODULES+=i18n/portuguese_brazilian
1292 endif
1293 ifneq ($(CONFIG_PACKAGE_luci-i18n-japanese),)
1294         PKG_SELECTED_MODULES+=i18n/japanese
1295 endif
1296 ifneq ($(CONFIG_PACKAGE_luci-i18n-greek),)
1297         PKG_SELECTED_MODULES+=i18n/greek
1298 endif
1299 ifneq ($(CONFIG_PACKAGE_luci-i18n-catalan),)
1300         PKG_SELECTED_MODULES+=i18n/catalan
1301 endif
1302 ifneq ($(CONFIG_PACKAGE_luci-i18n-portuguese),)
1303         PKG_SELECTED_MODULES+=i18n/portuguese
1304 endif
1305 ifneq ($(CONFIG_PACKAGE_luci-i18n-spanish),)
1306         PKG_SELECTED_MODULES+=i18n/spanish
1307 endif
1308 ifneq ($(CONFIG_PACKAGE_luci-i18n-vietnamese),)
1309         PKG_SELECTED_MODULES+=i18n/vietnamese
1310 endif
1311 ifneq ($(CONFIG_PACKAGE_luci-i18n-malay),)
1312         PKG_SELECTED_MODULES+=i18n/malay
1313 endif
1314
1315
1316 MAKE_FLAGS += \
1317         MODULES="$(PKG_SELECTED_MODULES)" \
1318         LUA_TARGET="$(LUA_TARGET)" \
1319         LUA_SHLIBS="-llua -lm -ldl -lcrypt" \
1320         CFLAGS="$(TARGET_CFLAGS) $(LUCI_CFLAGS) -I$(STAGING_DIR)/usr/include" \
1321         LDFLAGS="$(TARGET_LDFLAGS) -L$(STAGING_DIR)/usr/lib" \
1322         NIXIO_TLS="$(NIXIO_TLS)" OS="Linux"
1323
1324
1325 $(eval $(call BuildPackage,luci-core))
1326 $(eval $(call BuildPackage,luci-cbi))
1327 $(eval $(call BuildPackage,luci-fastindex))
1328 $(eval $(call BuildPackage,luci-http))
1329 $(eval $(call BuildPackage,luci-httpclient))
1330 $(eval $(call BuildPackage,luci-ipkg))
1331 $(eval $(call BuildPackage,luci-json))
1332 $(eval $(call BuildPackage,luci-lmo))
1333 $(eval $(call BuildPackage,luci-luanet))
1334 $(eval $(call BuildPackage,luci-iwinfo))
1335 $(eval $(call BuildPackage,luci-lucid))
1336 $(eval $(call BuildPackage,luci-nixio))
1337 $(eval $(call BuildPackage,luci-px5g))
1338 $(eval $(call BuildPackage,luci-uci))
1339 $(eval $(call BuildPackage,luci-sys))
1340 $(eval $(call BuildPackage,luci-web))
1341 $(eval $(call BuildPackage,luci-uvl))
1342
1343 $(eval $(call BuildPackage,luci-admin-core))
1344 $(eval $(call BuildPackage,luci-admin-mini))
1345 $(eval $(call BuildPackage,luci-admin-full))
1346 $(eval $(call BuildPackage,luci-niu))
1347 $(eval $(call BuildPackage,luci-admin-rpc))
1348 $(eval $(call BuildPackage,luci-mod-freifunk))
1349
1350 $(eval $(call BuildPackage,luci-freifunk-community))
1351
1352 $(eval $(call BuildPackage,luci-app-ffwizard-leipzig))
1353 $(eval $(call BuildPackage,luci-app-siitwizard))
1354 $(eval $(call BuildPackage,luci-app-firewall))
1355 $(eval $(call BuildPackage,luci-app-olsr))
1356 $(eval $(call BuildPackage,luci-app-qos))
1357 $(eval $(call BuildPackage,luci-app-splash))
1358 $(eval $(call BuildPackage,luci-app-statistics))
1359 $(eval $(call BuildPackage,luci-app-diag-core))
1360 $(eval $(call BuildPackage,luci-app-diag-devinfo))
1361 $(eval $(call BuildPackage,luci-app-voice-core))
1362 $(eval $(call BuildPackage,luci-app-voice-diag))
1363 $(eval $(call BuildPackage,luci-app-upnp))
1364 $(eval $(call BuildPackage,luci-app-ntpc))
1365 $(eval $(call BuildPackage,luci-app-ddns))
1366 $(eval $(call BuildPackage,luci-app-samba))
1367 $(eval $(call BuildPackage,luci-app-mmc-over-gpio))
1368 $(eval $(call BuildPackage,luci-app-p910nd))
1369 $(eval $(call BuildPackage,luci-app-ushare))
1370 $(eval $(call BuildPackage,luci-app-hd-idle))
1371 $(eval $(call BuildPackage,luci-app-tinyproxy))
1372 $(eval $(call BuildPackage,luci-app-initmgr))
1373 $(eval $(call BuildPackage,luci-app-livestats))
1374 $(eval $(call BuildPackage,luci-app-asterisk))
1375 $(eval $(call BuildPackage,luci-app-polipo))
1376 $(eval $(call BuildPackage,luci-app-openvpn))
1377 $(eval $(call BuildPackage,luci-app-p2pblock))
1378 $(eval $(call BuildPackage,luci-app-multiwan))
1379 $(eval $(call BuildPackage,luci-app-wol))
1380 $(eval $(call BuildPackage,luci-app-vnstat))
1381
1382 $(eval $(call BuildPackage,luci-sgi-cgi))
1383 $(eval $(call BuildPackage,luci-sgi-uhttpd))
1384
1385 $(eval $(call BuildPackage,luci-theme-base))
1386 $(eval $(call BuildPackage,luci-theme-fledermaus))
1387 $(eval $(call BuildPackage,luci-theme-freifunk))
1388 $(eval $(call BuildPackage,luci-theme-freifunk-bno))
1389 $(eval $(call BuildPackage,luci-theme-freifunk-hannover))
1390 $(eval $(call BuildPackage,luci-theme-openwrt))
1391 $(eval $(call BuildPackage,luci-theme-openwrtlight))
1392
1393 $(eval $(call BuildPackage,luci-i18n-german))
1394 $(eval $(call BuildPackage,luci-i18n-english))
1395 $(eval $(call BuildPackage,luci-i18n-french))
1396 $(eval $(call BuildPackage,luci-i18n-italian))
1397 $(eval $(call BuildPackage,luci-i18n-russian))
1398 $(eval $(call BuildPackage,luci-i18n-portuguese_brazilian))
1399 $(eval $(call BuildPackage,luci-i18n-japanese))
1400 $(eval $(call BuildPackage,luci-i18n-greek))
1401 $(eval $(call BuildPackage,luci-i18n-catalan))
1402 $(eval $(call BuildPackage,luci-i18n-portuguese))
1403 $(eval $(call BuildPackage,luci-i18n-spanish))
1404 $(eval $(call BuildPackage,luci-i18n-vietnamese))
1405 $(eval $(call BuildPackage,luci-i18n-malay))
1406
1407 $(eval $(call BuildPackage,luci))
1408 $(eval $(call BuildPackage,luci-ssl))
1409 $(eval $(call BuildPackage,luci-medium))
1410 $(eval $(call BuildPackage,luci-light))