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