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