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