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