Revised Makefiles a bit
[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-luci
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-luci
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/libtemplate)
320   TITLE:=PX5G RSA Keymaster
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/conffiles
396 /etc/config/luci_hosts
397 /etc/config/luci_ethers
398 endef
399
400 define Package/luci-admin-core/install
401         $(call Package/luci/install/template,$(1),modules/admin-core)
402         touch $(1)/etc/init.d/luci_fixtime || true
403 endef
404
405
406 define Package/luci-niu
407   $(call Package/luci/maintemplate)
408   DEPENDS+=+luci-admin-core @BROKEN
409   TITLE:=NIU - Next Generation Interface 
410 endef
411
412 define Package/luci-niu/install 
413         $(call Package/luci/install/template,$(1),modules/niu)
414 endef
415
416 define Package/luci-admin-mini
417   $(call Package/luci/webtemplate)
418   DEPENDS+=+luci-admin-core
419   TITLE:=LuCI Essentials - stripped down and user-friendly
420 endef
421
422 define Package/luci-admin-mini/install
423         $(call Package/luci/install/template,$(1),modules/admin-mini)
424 endef
425
426
427 define Package/luci-admin-full
428   $(call Package/luci/webtemplate)
429   DEPENDS+=+luci-admin-core +luci-ipkg
430   TITLE:=LuCI Administration - full-featured for full control
431 endef
432
433 define Package/luci-admin-full/install
434         $(call Package/luci/install/template,$(1),modules/admin-full)
435 endef
436
437
438 define Package/luci-admin-rpc
439   $(call Package/luci/webtemplate)
440   DEPENDS+=+luci-json
441   TITLE:=LuCI RPC - JSON-RPC API
442 endef
443
444 define Package/luci-admin-rpc/install
445         $(call Package/luci/install/template,$(1),modules/rpc)
446 endef
447
448
449 define Package/luci-mod-freifunk
450   $(call Package/luci/fftemplate)
451   DEPENDS:=+luci-admin-full +luci-json +PACKAGE_luci-mod-freifunk:freifunk-firewall
452   TITLE:=LuCI Freifunk module
453 endef
454
455 define Package/luci-mod-freifunk/conffiles
456 /etc/config/freifunk
457 endef
458
459 define Package/luci-mod-freifunk/install
460         $(call Package/luci/install/template,$(1),modules/freifunk)
461 endef
462
463
464
465 ### Applications ###
466
467 define Package/luci-app-ffwizard-leipzig
468   $(call Package/luci/fftemplate)
469   TITLE:=Freifunk Leipzig configuration wizard
470 endef
471
472 define Package/luci-app-ffwizard-leipzig/install
473         $(call Package/luci/install/template,$(1),applications/luci-ffwizard-leipzig)
474 endef
475
476
477 define Package/luci-app-siitwizard
478   $(call Package/luci/fftemplate)
479   TITLE:=SIIT IPv4-over-IPv6 configuration wizard
480   DEPENDS:=+luci-admin-core +PACKAGE_luci-app-siitwizard:kmod-siit
481 endef
482
483 define Package/luci-app-siitwizard/install
484         $(call Package/luci/install/template,$(1),applications/luci-siitwizard)
485 endef
486
487
488 define Package/luci-app-firewall
489   $(call Package/luci/webtemplate)
490   DEPENDS+=+luci-admin-core +PACKAGE_luci-app-firewall:firewall
491   TITLE:=Firewall and Portforwarding application
492 endef
493
494 define Package/luci-app-firewall/install
495         $(call Package/luci/install/template,$(1),applications/luci-fw)
496 endef
497
498
499 define Package/luci-app-olsr
500   $(call Package/luci/webtemplate)
501   DEPENDS+=+luci-admin-full +PACKAGE_luci-app-olsr:olsrd-luci \
502    +PACKAGE_luci-app-olsr:olsrd-luci-mod-txtinfo
503   TITLE:=OLSR configuration and status module
504 endef
505
506 define Package/luci-app-olsr/install
507         $(call Package/luci/install/template,$(1),applications/luci-olsr)
508 endef
509
510
511 define Package/luci-app-qos
512   $(call Package/luci/webtemplate)
513   DEPENDS+=+luci-admin-core +PACKAGE_luci-app-qos:qos-scripts
514   TITLE:=Quality of Service configuration module
515 endef
516
517 define Package/luci-app-qos/install
518         $(call Package/luci/install/template,$(1),applications/luci-qos)
519 endef
520
521
522 define Package/luci-app-splash
523   $(call Package/luci/fftemplate)
524   DEPENDS+=+PACKAGE_luci-app-splash:luci-nixio \
525    +PACKAGE_luci-app-splash:tc +PACKAGE_luci-app-splash:kmod-sched \
526    +PACKAGE_luci-app-splash:iptables-mod-nat-extra \
527    +PACKAGE_luci-app-splash:iptables-mod-ipopt
528   TITLE:=Freifunk DHCP-Splash application
529 endef
530
531 define Package/luci-app-splash/conffiles
532 /etc/config/luci_splash
533 endef
534
535 define Package/luci-app-splash/install
536         $(call Package/luci/install/template,$(1),applications/luci-splash)
537 endef
538
539
540 define Package/luci-app-statistics
541   $(call Package/luci/webtemplate)
542   DEPENDS+=+luci-admin-full +PACKAGE_luci-app-statistics:collectd \
543    +PACKAGE_luci-app-statistics:rrdtool1 \
544    +PACKAGE_luci-app-statistics:collectd-mod-rrdtool1 \
545    +PACKAGE_luci-app-statistics:collectd-mod-wireless \
546    +PACKAGE_luci-app-statistics:collectd-mod-interface \
547    +PACKAGE_luci-app-statistics:collectd-mod-load
548   TITLE:=LuCI Statistics Application
549 endef
550
551 define Package/luci-app-statistics/conffiles
552 /etc/config/luci_statistics
553 endef
554
555 define Package/luci-app-statistics/install
556         $(call Package/luci/install/template,$(1),applications/luci-statistics)
557 endef
558
559 define Package/luci-app-diag-core
560   $(call Package/luci/webtemplate)
561   DEPENDS+=+PACKAGE_luci-app-diag-core:luci-admin-core 
562   TITLE:=LuCI Diagnostics Tools (Core)
563 endef
564
565 define Package/luci-app-diag-devinfo
566   $(call Package/luci/webtemplate)
567   DEPENDS+=+PACKAGE_luci_app-diag-devinfo:luci-app-diag-core \
568         +PACKAGE_luci-app-diag-devinfo:smap \
569         +PACKAGE_luci-app-diag-devinfo:netdiscover \
570         +PACKAGE_luci-app-diag-devinfo:mac-to-devinfo \
571         +PACKAGE_luci-app-diag-devinfo:httping \
572         +PACKAGE_luci-app-diag-devinfo:smap-to-devinfo \
573         +PACAKGE_luci-app-diag-devinfo:netdiscover-to-devinfo
574   TITLE:=LuCI Diagnostics Tools (Device Info)
575 endef
576
577 define Package/luci-app-voice-core
578   $(call Package/luci/webtemplate)
579   DEPENDS+=+PACKAGE_luci-app-voice-core:luci-admin-core 
580   TITLE:=LuCI Voice Software (Core)
581 endef
582
583 define Package/luci-app-voice-diag
584   $(call Package/luci/webtemplate)
585   DEPENDS+=+PACKAGE_luci-app-voice-diag:luci-app-voice-core \
586         +PACKAGE_luci-apps-voice-diag:luci-app-diag-devinfo
587   TITLE:=LuCI Voice Software (Diagnostics)
588 endef
589
590 define Package/luci-app-diag-devinfo/conffiles
591 /etc/config/luci_devinfo
592 endef
593
594 define Package/luci-app-diag-core/install
595         $(call Package/luci/install/template,$(1),applications/luci-diag-core)
596 endef
597
598 define Package/luci-app-diag-devinfo/install
599         $(call Package/luci/install/template,$(1),applications/luci-diag-devinfo)
600 endef
601
602 define Package/luci-app-voice-core/install
603         $(call Package/luci/install/template,$(1),applications/luci-voice-core)
604 endef
605
606 define Package/luci-app-voice-diag/install
607         $(call Package/luci/install/template,$(1),applications/luci-voice-diag)
608 endef
609
610 define Package/luci-app-upnp
611   $(call Package/luci/webtemplate)
612   DEPENDS+=+luci-admin-core +PACKAGE_luci-app-upnp:miniupnpd
613   TITLE:=Universal Plug & Play configuration module
614 endef
615
616 define Package/luci-app-upnp/install
617         $(call Package/luci/install/template,$(1),applications/luci-upnp)
618 endef
619
620
621 define Package/luci-app-ntpc
622   $(call Package/luci/webtemplate)
623   DEPENDS+=+luci-admin-core +PACKAGE_luci-app-ntpc:ntpclient
624   TITLE:=NTP time synchronisation client configuration module
625 endef
626
627 define Package/luci-app-ntpc/install
628         $(call Package/luci/install/template,$(1),applications/luci-ntpc)
629 endef
630
631
632 define Package/luci-app-ddns
633   $(call Package/luci/webtemplate)
634   DEPENDS+=+luci-admin-core +PACKAGE_luci-app-ddns:ddns-scripts
635   TITLE:=Dynamic DNS configuration module
636 endef
637
638 define Package/luci-app-ddns/install
639         $(call Package/luci/install/template,$(1),applications/luci-ddns)
640 endef
641
642
643 define Package/luci-app-samba
644   $(call Package/luci/webtemplate)
645   DEPENDS+=+luci-admin-full +PACKAGE_luci-app-samba:samba3
646   TITLE:=Network Shares - Samba SMB/CIFS module
647 endef
648
649 define Package/luci-app-samba/install
650         $(call Package/luci/install/template,$(1),applications/luci-samba)
651 endef
652
653
654 define Package/luci-app-uvc_streamer
655   $(call Package/luci/webtemplate)
656   DEPENDS+=+luci-admin-full +PACKAGE_luci-app-uvc_streamer:uvc-streamer
657   TITLE:=Webcam Streaming - UVC-Streamer module
658 endef
659
660 define Package/luci-app-uvc_streamer/install
661         $(call Package/luci/install/template,$(1),applications/luci-uvc_streamer)
662 endef
663
664
665 define Package/luci-app-mmc_over_gpio
666   $(call Package/luci/webtemplate)
667   DEPENDS+=+luci-admin-full +PACKAGE_luci-app-mmc_over_gpio:kmod-mmc-over-gpio
668   TITLE:=mmc_over_gpio
669 endef
670
671 define Package/luci-app-mmc_over_gpio/install
672         $(call Package/luci/install/template,$(1),applications/luci-mmc_over_gpio)
673 endef
674
675
676 define Package/luci-app-p910nd
677   $(call Package/luci/webtemplate)
678   DEPENDS+=+luci-admin-full +PACKAGE_luci-app-p910nd:p910nd
679   TITLE:=p910nd - Printer server module
680 endef
681
682 define Package/luci-app-p910nd/install
683         $(call Package/luci/install/template,$(1),applications/luci-p910nd)
684 endef
685
686
687 define Package/luci-app-ushare
688   $(call Package/luci/webtemplate)
689   DEPENDS+=+luci-admin-full +PACKAGE_luci-app-ushare:ushare
690   TITLE:=ushare - UPnP A/V & DLNA Media Server
691 endef
692
693 define Package/luci-app-ushare/install
694         $(call Package/luci/install/template,$(1),applications/luci-ushare)
695 endef
696
697 define Package/luci-app-hd_idle
698   $(call Package/luci/webtemplate)
699   DEPENDS+=+luci-admin-full +PACKAGE_luci-app-hd_idle:hd-idle
700   TITLE:=hd-idle
701 endef
702
703 define Package/luci-app-hd_idle/install
704         $(call Package/luci/install/template,$(1),applications/luci-hd_idle)
705 endef
706
707 define Package/luci-app-tinyproxy
708   $(call Package/luci/webtemplate)
709   DEPENDS+=+luci-admin-full +PACKAGE_luci-app-tinyproxy:tinyproxy
710   TITLE:=Tinyproxy - HTTP(S)-Proxy
711 endef
712
713 define Package/luci-app-tinyproxy/install
714         $(call Package/luci/install/template,$(1),applications/luci-tinyproxy)
715 endef
716
717 define Package/luci-app-initmgr
718   $(call Package/luci/webtemplate)
719   DEPENDS+=+luci-admin-full
720   TITLE:=LuCI Initscript Management
721 endef
722
723 define Package/luci-app-initmgr/install
724         $(call Package/luci/install/template,$(1),applications/luci-initmgr)
725 endef
726
727 define Package/luci-app-livestats
728   $(call Package/luci/webtemplate)
729   DEPENDS+=+luci-admin-core +luci-admin-rpc
730   TITLE:=LuCI Realtime Statistics
731 endef
732
733 define Package/luci-app-livestats/install
734         $(call Package/luci/install/template,$(1),applications/luci-livestats)
735 endef
736
737 define Package/luci-app-asterisk
738   $(call Package/luci/webtemplate)
739   TITLE:=LuCI Support for Asterisk PBX
740   DEPENDS+=@BROKEN +luci-admin-core +PACKAGE_luci-app-asterisk:asterisk14-xip-core
741 endef
742
743 define Package/luci-app-asterisk/install
744         $(call Package/luci/install/template,$(1),applications/luci-asterisk)
745 endef
746
747 define Package/luci-app-polipo
748   $(call Package/luci/webtemplate)
749   TITLE:=LuCI Support for the Polipo Proxy
750   DEPENDS+=+luci-admin-core +PACKAGE_luci-app-polipo:polipo
751 endef
752
753 define Package/luci-app-polipo/install
754         $(call Package/luci/install/template,$(1),applications/luci-polipo)
755 endef
756
757 define Package/luci-app-openvpn
758   $(call Package/luci/webtemplate)
759   TITLE:=LuCI Support for OpenVPN
760   DEPENDS+=+luci-admin-core +PACKAGE_luci-app-openvpn:openvpn
761 endef
762
763 define Package/luci-app-openvpn/install
764         $(call Package/luci/install/template,$(1),applications/luci-openvpn)
765 endef
766
767 define Package/luci-app-p2pblock
768   $(call Package/luci/webtemplate)
769   TITLE:=LuCI Support for the Freifunk P2P-Block addon
770   DEPENDS+=+luci-admin-core +luci-app-firewall \
771     +PACKAGE_luci-app-p2pblock:freifunk-p2pblock
772 endef
773
774 define Package/luci-app-p2pblock/install
775         $(call Package/luci/install/template,$(1),applications/luci-p2pblock)
776 endef
777
778
779 ### Server Gateway Interfaces ###
780
781 define Package/luci-sgi-cgi
782   $(call Package/luci/webservertemplate)
783   TITLE:=CGI Gateway behind existing Webserver
784 endef
785
786 define Package/luci-sgi-cgi/install
787         $(call Package/luci/install/template,$(1),libs/sgi-cgi)
788 endef
789
790 ### Themes ###
791 define Package/luci-theme-base
792   $(call Package/luci/thtemplate)
793   DEPENDS:=+luci-web
794   TITLE:=Common base for all themes
795 endef
796
797 define Package/luci-theme-base/install
798         $(call Package/luci/install/template,$(1),themes/base)
799 endef
800
801 define Package/luci-theme-fledermaus
802   $(call Package/luci/fftemplate)
803   DEPENDS:=+luci-web
804   TITLE:=Fledermaus Theme
805 endef
806
807 define Package/luci-theme-fledermaus/install
808         $(call Package/luci/install/template,$(1),themes/fledermaus)
809 endef
810
811 define Package/luci-theme-freifunk
812   $(call Package/luci/fftemplate)
813   DEPENDS:=+luci-web
814   MAINTAINER:=Stefan Pirwitz <stefan-at-freifunk-bno-dot-de>
815   TITLE:=alternative Freifunk Theme
816 endef
817
818 define Package/luci-theme-freifunk/install
819         $(call Package/luci/install/template,$(1),themes/freifunk)
820 endef
821
822 define Package/luci-theme-freifunk-bno
823   $(call Package/luci/fftemplate)
824   DEPENDS:=+luci-web
825   MAINTAINER:=Stefan Pirwitz <stefan-at-freifunk-bno-dot-de>
826   TITLE:=Freifunk Berlin Nordost Theme
827 endef
828
829 define Package/luci-theme-freifunk-bno/install
830         $(call Package/luci/install/template,$(1),themes/freifunk-bno)
831 endef
832
833 define Package/luci-theme-freifunk-hannover
834   $(call Package/luci/fftemplate)
835   DEPENDS:=+luci-web
836   MAINTAINER:=Mikolas Bingemer <mickey-at-freifunk-hannover-dot-de>
837   TITLE:=Freifunk Hannover Theme
838 endef
839
840 define Package/luci-theme-freifunk-hannover/install
841         $(call Package/luci/install/template,$(1),themes/freifunk-hannover)
842 endef
843
844 define Package/luci-theme-openwrt
845   $(call Package/luci/thtemplate)
846   TITLE:=OpenWrt.org (default)
847   DEPENDS:=+luci-theme-base luci-core
848   DEFAULT:=y if PACKAGE_luci-core
849 endef
850
851 define Package/luci-theme-openwrt/install
852         $(call Package/luci/install/template,$(1),themes/openwrt.org)
853 endef
854
855 define Package/luci-theme-openwrtlight
856   $(call Package/luci/thtemplate)
857   TITLE:=OpenWrt.org - light variant without images
858   DEPENDS:=+luci-theme-base
859 endef
860
861 define Package/luci-theme-openwrtlight/install
862         $(call Package/luci/install/template,$(1),themes/openwrt-light)
863 endef
864
865
866 ### Translations ###
867 define Package/luci-i18n-german
868   $(call Package/luci/i18ntemplate)
869   TITLE:=German
870 endef
871
872 define Package/luci-i18n-german/install
873         $(call Package/luci/install/template,$(1),i18n/german)
874 endef
875
876
877 define Package/luci-i18n-english
878   $(call Package/luci/i18ntemplate)
879   TITLE:=English
880 endef
881
882 define Package/luci-i18n-english/install
883         $(call Package/luci/install/template,$(1),i18n/english)
884 endef
885
886
887 define Package/luci-i18n-french
888   $(call Package/luci/i18ntemplate)
889   TITLE:=French (by Florian Fainelli)
890 endef
891
892 define Package/luci-i18n-french/install
893         $(call Package/luci/install/template,$(1),i18n/french)
894 endef
895
896
897 define Package/luci-i18n-italian
898   $(call Package/luci/i18ntemplate)
899   TITLE:=Italian (by Matteo Croce)
900 endef
901
902 define Package/luci-i18n-italian/install
903         $(call Package/luci/install/template,$(1),i18n/italian)
904 endef
905
906
907 define Package/luci-i18n-russian
908   $(call Package/luci/i18ntemplate)
909   TITLE:=Russian (by Skryabin Dmitry)
910 endef
911
912 define Package/luci-i18n-russian/install
913         $(call Package/luci/install/template,$(1),i18n/russian)
914 endef
915
916
917 define Package/luci-i18n-portuguese_brazilian
918   $(call Package/luci/i18ntemplate)
919   TITLE:=Portuguese (Brazilian) (by Carlos Cesario)
920 endef
921
922 define Package/luci-i18n-portuguese_brazilian/install
923         $(call Package/luci/install/template,$(1),i18n/portuguese_brazilian)
924 endef
925
926
927 define Package/luci-i18n-japanese
928   $(call Package/luci/i18ntemplate)
929   TITLE:=Japanese (by Tsukasa Hamano)
930 endef
931
932 define Package/luci-i18n-japanese/install
933         $(call Package/luci/install/template,$(1),i18n/japanese)
934 endef
935
936
937 define Package/luci-i18n-greek
938   $(call Package/luci/i18ntemplate)
939   TITLE:=Greek (by Vasilis Tsiligiannis)
940 endef
941
942 define Package/luci-i18n-greek/install
943         $(call Package/luci/install/template,$(1),i18n/greek)
944 endef
945
946
947 define Package/luci-i18n-catalan
948   $(call Package/luci/i18ntemplate)
949   TITLE:=Catalan (by Eduard Duran)
950 endef
951
952 define Package/luci-i18n-catalan/install
953         $(call Package/luci/install/template,$(1),i18n/catalan)
954 endef
955
956
957 define Package/luci-i18n-portuguese
958   $(call Package/luci/i18ntemplate)
959   TITLE:=Portuguese (by Jose Monteiro)
960 endef
961
962 define Package/luci-i18n-portuguese/install
963         $(call Package/luci/install/template,$(1),i18n/portuguese)
964 endef
965
966
967 define Package/luci-i18n-spanish
968   $(call Package/luci/i18ntemplate)
969   TITLE:=Spanish (by Guillermo Javier Nardoni)
970 endef
971
972 define Package/luci-i18n-spanish/install
973         $(call Package/luci/install/template,$(1),i18n/spanish)
974 endef
975
976
977 define Package/luci-i18n-vietnamese
978   $(call Package/luci/i18ntemplate)
979   TITLE:=Vietnamese (by Hong Phuc Dang)
980 endef
981
982 define Package/luci-i18n-vietnamese/install
983         $(call Package/luci/install/template,$(1),i18n/vietnamese)
984 endef
985
986
987 ### Collections ###
988 define Package/luci-kamikaze
989   $(call Package/luci/collectiontemplate)
990   TITLE:=Standard OpenWrt Kamikaze set including full and mini admin and the standard theme
991   DEPENDS:=+luci-admin-full +luci-admin-mini +luci-theme-openwrt +luci-app-firewall
992 endef
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 ### Compile ###
1001 ifneq ($(CONFIG_PACKAGE_luci-core),)
1002         PKG_SELECTED_MODULES+=libs/core
1003 endif
1004 ifneq ($(CONFIG_PACKAGE_luci-cbi),)
1005         PKG_SELECTED_MODULES+=libs/cbi
1006 endif
1007 ifneq ($(CONFIG_PACKAGE_luci-fastindex),)
1008         PKG_SELECTED_MODULES+=libs/fastindex
1009 endif
1010 ifneq ($(CONFIG_PACKAGE_luci-http),)
1011         PKG_SELECTED_MODULES+=libs/http
1012 endif
1013 ifneq ($(CONFIG_PACKAGE_luci-httpclient),)
1014         PKG_SELECTED_MODULES+=libs/httpclient
1015 endif
1016 ifneq ($(CONFIG_PACKAGE_luci-ipkg),)
1017         PKG_SELECTED_MODULES+=libs/ipkg
1018 endif
1019 ifneq ($(CONFIG_PACKAGE_luci-json),)
1020         PKG_SELECTED_MODULES+=libs/json
1021 endif
1022 ifneq ($(CONFIG_PACKAGE_luci-lmo),)
1023         PKG_SELECTED_MODULES+=libs/lmo
1024 endif
1025 ifneq ($(CONFIG_PACKAGE_luci-luanet),)
1026         PKG_SELECTED_MODULES+=libs/luanet
1027 endif
1028 ifneq ($(CONFIG_PACKAGE_luci-iwinfo),)
1029         PKG_SELECTED_MODULES+=libs/iwinfo
1030 endif
1031 ifneq ($(CONFIG_PACKAGE_luci-lucid),)
1032         PKG_SELECTED_MODULES+=libs/lucid libs/lucid-http
1033 endif
1034 ifneq ($(CONFIG_PACKAGE_luci-nixio),)
1035         PKG_SELECTED_MODULES+=libs/nixio
1036 endif
1037 ifneq ($(CONFIG_PACKAGE_luci-px5g),)
1038         PKG_SELECTED_MODULES+=libs/px5g
1039 endif
1040 ifneq ($(CONFIG_PACKAGE_luci-uci),)
1041         PKG_SELECTED_MODULES+=libs/uci
1042 endif
1043 ifneq ($(CONFIG_PACKAGE_luci-sys),)
1044         PKG_SELECTED_MODULES+=libs/sys
1045 endif
1046 ifneq ($(CONFIG_PACKAGE_luci-web),)
1047         PKG_SELECTED_MODULES+=libs/web
1048 endif
1049 ifneq ($(CONFIG_PACKAGE_luci-uvl),)
1050         PKG_SELECTED_MODULES+=libs/uvl
1051 endif
1052
1053 ifneq ($(CONFIG_PACKAGE_luci-admin-core),)
1054         PKG_SELECTED_MODULES+=modules/admin-core
1055 endif
1056 ifneq ($(CONFIG_PACKAGE_luci-admin-mini),)
1057         PKG_SELECTED_MODULES+=modules/admin-mini
1058 endif
1059 ifneq ($(CONFIG_PACKAGE_luci-admin-full),)
1060         PKG_SELECTED_MODULES+=modules/admin-full
1061 endif
1062 ifneq ($(CONFIG_PACKAGE_luci-niu),)
1063         PKG_SELECTED_MODULES+=modules/niu
1064 endif
1065 ifneq ($(CONFIG_PACKAGE_luci-admin-rpc),)
1066         PKG_SELECTED_MODULES+=modules/rpc
1067 endif
1068 ifneq ($(CONFIG_PACKAGE_luci-mod-freifunk),)
1069         PKG_SELECTED_MODULES+=modules/freifunk
1070 endif
1071
1072 ifneq ($(CONFIG_PACKAGE_luci-freifunk-community),)
1073         PKG_SELECTED_MODULES+=applications/freifunk-community
1074 endif
1075
1076 ifneq ($(CONFIG_PACKAGE_luci-app-ffwizard-leipzig),)
1077         PKG_SELECTED_MODULES+=applications/luci-ffwizard-leipzig
1078 endif
1079 ifneq ($(CONFIG_PACKAGE_luci-app-siitwizard),)
1080         PKG_SELECTED_MODULES+=applications/luci-siitwizard
1081 endif
1082 ifneq ($(CONFIG_PACKAGE_luci-app-firewall),)
1083         PKG_SELECTED_MODULES+=applications/luci-fw
1084 endif
1085 ifneq ($(CONFIG_PACKAGE_luci-app-olsr),)
1086         PKG_SELECTED_MODULES+=applications/luci-olsr
1087 endif
1088 ifneq ($(CONFIG_PACKAGE_luci-app-qos),)
1089         PKG_SELECTED_MODULES+=applications/luci-qos
1090 endif
1091 ifneq ($(CONFIG_PACKAGE_luci-app-splash),)
1092         PKG_SELECTED_MODULES+=applications/luci-splash
1093 endif
1094 ifneq ($(CONFIG_PACKAGE_luci-app-statistics),)
1095         PKG_SELECTED_MODULES+=applications/luci-statistics
1096 endif
1097 ifneq ($(CONFIG_PACKAGE_luci-app-voice-core),)
1098         PKG_SELECTED_MODULES+=applications/luci-voice-core
1099 endif
1100 ifneq ($(CONFIG_PACKAGE_luci-app-voice-diag),)
1101         PKG_SELECTED_MODULES+=applications/luci-voice-diag
1102 endif
1103 ifneq ($(CONFIG_PACKAGE_luci-app-diag-core),)
1104         PKG_SELECTED_MODULES+=applications/luci-diag-core
1105 endif
1106 ifneq ($(CONFIG_PACKAGE_luci-app-diag-devinfo),)
1107         PKG_SELECTED_MODULES+=applications/luci-diag-devinfo
1108 endif
1109 ifneq ($(CONFIG_PACKAGE_luci-app-upnp),)
1110         PKG_SELECTED_MODULES+=applications/luci-upnp
1111 endif
1112 ifneq ($(CONFIG_PACKAGE_luci-app-ntpc),)
1113         PKG_SELECTED_MODULES+=applications/luci-ntpc
1114 endif
1115 ifneq ($(CONFIG_PACKAGE_luci-app-ddns),)
1116         PKG_SELECTED_MODULES+=applications/luci-ddns
1117 endif
1118 ifneq ($(CONFIG_PACKAGE_luci-app-samba),)
1119         PKG_SELECTED_MODULES+=applications/luci-samba
1120 endif
1121 ifneq ($(CONFIG_PACKAGE_luci-app-uvc_streamer),)
1122         PKG_SELECTED_MODULES+=applications/luci-uvc_streamer
1123 endif
1124 ifneq ($(CONFIG_PACKAGE_luci-app-mmc_over_gpio),)
1125         PKG_SELECTED_MODULES+=applications/luci-mmc_over_gpio
1126 endif
1127 ifneq ($(CONFIG_PACKAGE_luci-app-p910nd),)
1128         PKG_SELECTED_MODULES+=applications/luci-p910nd
1129 endif
1130 ifneq ($(CONFIG_PACKAGE_luci-app-ushare),)
1131         PKG_SELECTED_MODULES+=applications/luci-ushare
1132 endif
1133 ifneq ($(CONFIG_PACKAGE_luci-app-hd_idle),)
1134        PKG_SELECTED_MODULES+=applications/luci-hd_idle
1135 endif
1136 ifneq ($(CONFIG_PACKAGE_luci-app-tinyproxy),)
1137        PKG_SELECTED_MODULES+=applications/luci-tinyproxy
1138 endif
1139 ifneq ($(CONFIG_PACKAGE_luci-app-initmgr),)
1140        PKG_SELECTED_MODULES+=applications/luci-initmgr
1141 endif
1142 ifneq ($(CONFIG_PACKAGE_luci-app-livestats),)
1143        PKG_SELECTED_MODULES+=applications/luci-livestats
1144 endif
1145 ifneq ($(CONFIG_PACKAGE_luci-app-asterisk),)
1146        PKG_SELECTED_MODULES+=applications/luci-asterisk
1147 endif
1148 ifneq ($(CONFIG_PACKAGE_luci-app-polipo),)
1149        PKG_SELECTED_MODULES+=applications/luci-polipo
1150 endif
1151 ifneq ($(CONFIG_PACKAGE_luci-app-openvpn),)
1152        PKG_SELECTED_MODULES+=applications/luci-openvpn
1153 endif
1154 ifneq ($(CONFIG_PACKAGE_luci-app-p2pblock),)
1155        PKG_SELECTED_MODULES+=applications/luci-p2pblock
1156 endif
1157
1158
1159 ifneq ($(CONFIG_PACKAGE_luci-sgi-cgi),)
1160         PKG_SELECTED_MODULES+=libs/sgi-cgi
1161 endif
1162 ifneq ($(CONFIG_PACKAGE_luci-sgi-luci),)
1163         PKG_SELECTED_MODULES+=libs/sgi-luci
1164 endif
1165
1166 ifneq ($(CONFIG_PACKAGE_luci-theme-base),)
1167         PKG_SELECTED_MODULES+=themes/base
1168 endif
1169 ifneq ($(CONFIG_PACKAGE_luci-theme-fledermaus),)
1170         PKG_SELECTED_MODULES+=themes/fledermaus
1171 endif
1172 ifneq ($(CONFIG_PACKAGE_luci-theme-freifunk-bno),)
1173         PKG_SELECTED_MODULES+=themes/freifunk-bno
1174 endif
1175 ifneq ($(CONFIG_PACKAGE_luci-theme-freifunk-hannover),)
1176         PKG_SELECTED_MODULES+=themes/freifunk-hannover
1177 endif
1178 ifneq ($(CONFIG_PACKAGE_luci-theme-freifunk),)
1179         PKG_SELECTED_MODULES+=themes/freifunk
1180 endif
1181 ifneq ($(CONFIG_PACKAGE_luci-theme-openwrt),)
1182         PKG_SELECTED_MODULES+=themes/openwrt.org
1183 endif
1184 ifneq ($(CONFIG_PACKAGE_luci-theme-openwrtlight),)
1185         PKG_SELECTED_MODULES+=themes/openwrt-light
1186 endif
1187
1188 ifneq ($(CONFIG_PACKAGE_luci-i18n-german),)
1189         PKG_SELECTED_MODULES+=i18n/german
1190 endif
1191 ifneq ($(CONFIG_PACKAGE_luci-i18n-english),)
1192         PKG_SELECTED_MODULES+=i18n/english
1193 endif
1194 ifneq ($(CONFIG_PACKAGE_luci-i18n-french),)
1195         PKG_SELECTED_MODULES+=i18n/french
1196 endif
1197 ifneq ($(CONFIG_PACKAGE_luci-i18n-italian),)
1198         PKG_SELECTED_MODULES+=i18n/italian
1199 endif
1200 ifneq ($(CONFIG_PACKAGE_luci-i18n-russian),)
1201         PKG_SELECTED_MODULES+=i18n/russian
1202 endif
1203 ifneq ($(CONFIG_PACKAGE_luci-i18n-portuguese_brazilian),)
1204         PKG_SELECTED_MODULES+=i18n/portuguese_brazilian
1205 endif
1206 ifneq ($(CONFIG_PACKAGE_luci-i18n-japanese),)
1207         PKG_SELECTED_MODULES+=i18n/japanese
1208 endif
1209 ifneq ($(CONFIG_PACKAGE_luci-i18n-greek),)
1210         PKG_SELECTED_MODULES+=i18n/greek
1211 endif
1212 ifneq ($(CONFIG_PACKAGE_luci-i18n-catalan),)
1213         PKG_SELECTED_MODULES+=i18n/catalan
1214 endif
1215 ifneq ($(CONFIG_PACKAGE_luci-i18n-portuguese),)
1216         PKG_SELECTED_MODULES+=i18n/portuguese
1217 endif
1218 ifneq ($(CONFIG_PACKAGE_luci-i18n-spanish),)
1219         PKG_SELECTED_MODULES+=i18n/spanish
1220 endif
1221 ifneq ($(CONFIG_PACKAGE_luci-i18n-vietnamese),)
1222         PKG_SELECTED_MODULES+=i18n/vietnamese
1223 endif
1224
1225
1226 MAKE_FLAGS += \
1227         MODULES="$(PKG_SELECTED_MODULES)" \
1228         LUA_TARGET="$(LUA_TARGET)" \
1229         LUA_SHLIBS="-llua -lm -ldl -lcrypt" \
1230         CFLAGS="$(TARGET_CFLAGS) $(LUCI_CFLAGS) -I$(STAGING_DIR)/usr/include" \
1231         LDFLAGS="$(TARGET_LDFLAGS) -L$(STAGING_DIR)/usr/lib" \
1232         NIXIO_TLS="$(NIXIO_TLS)" OS="Linux"
1233
1234
1235 $(eval $(call BuildPackage,luci-core))
1236 $(eval $(call BuildPackage,luci-cbi))
1237 $(eval $(call BuildPackage,luci-fastindex))
1238 $(eval $(call BuildPackage,luci-http))
1239 $(eval $(call BuildPackage,luci-httpclient))
1240 $(eval $(call BuildPackage,luci-ipkg))
1241 $(eval $(call BuildPackage,luci-json))
1242 $(eval $(call BuildPackage,luci-lmo))
1243 $(eval $(call BuildPackage,luci-luanet))
1244 $(eval $(call BuildPackage,luci-iwinfo))
1245 $(eval $(call BuildPackage,luci-lucid))
1246 $(eval $(call BuildPackage,luci-nixio))
1247 $(eval $(call BuildPackage,luci-px5g))
1248 $(eval $(call BuildPackage,luci-uci))
1249 $(eval $(call BuildPackage,luci-sys))
1250 $(eval $(call BuildPackage,luci-web))
1251 $(eval $(call BuildPackage,luci-uvl))
1252
1253 $(eval $(call BuildPackage,luci-admin-core))
1254 $(eval $(call BuildPackage,luci-admin-mini))
1255 $(eval $(call BuildPackage,luci-admin-full))
1256 $(eval $(call BuildPackage,luci-niu))
1257 $(eval $(call BuildPackage,luci-admin-rpc))
1258 $(eval $(call BuildPackage,luci-mod-freifunk))
1259
1260 $(eval $(call BuildPackage,luci-freifunk-community))
1261
1262 $(eval $(call BuildPackage,luci-app-ffwizard-leipzig))
1263 $(eval $(call BuildPackage,luci-app-siitwizard))
1264 $(eval $(call BuildPackage,luci-app-firewall))
1265 $(eval $(call BuildPackage,luci-app-olsr))
1266 $(eval $(call BuildPackage,luci-app-qos))
1267 $(eval $(call BuildPackage,luci-app-splash))
1268 $(eval $(call BuildPackage,luci-app-statistics))
1269 $(eval $(call BuildPackage,luci-app-diag-core))
1270 $(eval $(call BuildPackage,luci-app-diag-devinfo))
1271 $(eval $(call BuildPackage,luci-app-voice-core))
1272 $(eval $(call BuildPackage,luci-app-voice-diag))
1273 $(eval $(call BuildPackage,luci-app-upnp))
1274 $(eval $(call BuildPackage,luci-app-ntpc))
1275 $(eval $(call BuildPackage,luci-app-ddns))
1276 $(eval $(call BuildPackage,luci-app-samba))
1277 $(eval $(call BuildPackage,luci-app-uvc_streamer))
1278 $(eval $(call BuildPackage,luci-app-mmc_over_gpio))
1279 $(eval $(call BuildPackage,luci-app-p910nd))
1280 $(eval $(call BuildPackage,luci-app-ushare))
1281 $(eval $(call BuildPackage,luci-app-hd_idle))
1282 $(eval $(call BuildPackage,luci-app-tinyproxy))
1283 $(eval $(call BuildPackage,luci-app-initmgr))
1284 $(eval $(call BuildPackage,luci-app-livestats))
1285 $(eval $(call BuildPackage,luci-app-asterisk))
1286 $(eval $(call BuildPackage,luci-app-polipo))
1287 $(eval $(call BuildPackage,luci-app-openvpn))
1288 $(eval $(call BuildPackage,luci-app-p2pblock))
1289
1290 $(eval $(call BuildPackage,luci-sgi-cgi))
1291
1292 $(eval $(call BuildPackage,luci-theme-base))
1293 $(eval $(call BuildPackage,luci-theme-fledermaus))
1294 $(eval $(call BuildPackage,luci-theme-freifunk))
1295 $(eval $(call BuildPackage,luci-theme-freifunk-bno))
1296 $(eval $(call BuildPackage,luci-theme-freifunk-hannover))
1297 $(eval $(call BuildPackage,luci-theme-openwrt))
1298 $(eval $(call BuildPackage,luci-theme-openwrtlight))
1299
1300 $(eval $(call BuildPackage,luci-i18n-german))
1301 $(eval $(call BuildPackage,luci-i18n-english))
1302 $(eval $(call BuildPackage,luci-i18n-french))
1303 $(eval $(call BuildPackage,luci-i18n-italian))
1304 $(eval $(call BuildPackage,luci-i18n-russian))
1305 $(eval $(call BuildPackage,luci-i18n-portuguese_brazilian))
1306 $(eval $(call BuildPackage,luci-i18n-japanese))
1307 $(eval $(call BuildPackage,luci-i18n-greek))
1308 $(eval $(call BuildPackage,luci-i18n-catalan))
1309 $(eval $(call BuildPackage,luci-i18n-portuguese))
1310 $(eval $(call BuildPackage,luci-i18n-spanish))
1311 $(eval $(call BuildPackage,luci-i18n-vietnamese))
1312
1313 $(eval $(call BuildPackage,luci-kamikaze))
1314 $(eval $(call BuildPackage,luci-light))