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