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