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