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