* luci/libs: changed template for tblsection to save more vertical space
[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.7+svn
14 else
15 PKG_SOURCE_URL:=http://dev.leipzig.freifunk.net/svn/ff-luci/$(PKG_BRANCH)
16 ifeq ($(DUMP),)
17 PKG_REV:=$(shell LC_ALL=C svn info ${PKG_SOURCE_URL} | sed -ne's/^Last Changed Rev: //p')
18 PKG_VERSION:=0.7+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_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
27 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
28
29 PKG_BUILD_DEPENDS:=libnotimpl
30 LUA_TARGET:=source
31 PKG_SELECTED_MODULES:=
32
33
34 include $(INCLUDE_DIR)/package.mk
35
36 ifeq ($(USELOCAL),1)
37 define Build/Prepare
38 mkdir -p $(PKG_BUILD_DIR)
39 $(TAR) c -C ../../../ . \
40 --exclude=.pc --exclude=.svn --exclude=.git \
41 --exclude='boa-0*' --exclude='*.o' --exclude='*.so' \
42 --exclude=dist | \
43 tar x -C $(PKG_BUILD_DIR)/
44 endef
45 endif
46
47 define Build/Configure
48 endef
49
50 ### Templates ###
51
52 define Package/luci/libtemplate
53 SECTION:=admin
54 CATEGORY:=Administration
55 TITLE:=LuCI - Lua Configuration Interface
56 URL:=http://luci.freifunk-halle.net/
57 MAINTAINER:=Steven Barth <steven-at-midlink-dot-org>
58 SUBMENU:=LuCI Libraries
59 DEPENDS:=+luci-core
60 endef
61
62 define Package/luci/fftemplate
63 $(call Package/luci/libtemplate)
64 SUBMENU:=LuCI Freifunk Support (PARTLY BROKEN)
65 DEPENDS:=+luci-mod-freifunk @BROKEN
66 endef
67
68 define Package/luci/httpdtemplate
69 $(call Package/luci/libtemplate)
70 SUBMENU:=LuCI Non-Forking HTTP-Daemon (EXPERIMENTAL)
71 DEPENDS:=+luci-httpd
72 endef
73
74 define Package/luci/i18ntemplate
75 $(call Package/luci/libtemplate)
76 SUBMENU:=LuCI Translations
77 DEPENDS:=+luci-web
78 endef
79
80 define Package/luci/thtemplate
81 $(call Package/luci/libtemplate)
82 SUBMENU:=LuCI Themes
83 DEPENDS:=+luci-web
84 endef
85
86 define Package/luci/webtemplate
87 $(call Package/luci/libtemplate)
88 SUBMENU:=LuCI Components
89 endef
90
91
92 define Package/luci/install/template
93 $(CP) -a $(PKG_BUILD_DIR)/$(2)/dist/* $(1)/ -R
94 $(CP) -a $(PKG_BUILD_DIR)/$(2)/ipkg/* $(1)/CONTROL/ 2>/dev/null || true
95 endef
96
97
98
99 ### Core package ###
100
101 define Package/luci-core
102 $(call Package/luci/libtemplate)
103 DEPENDS:=+lua +luaposix +bitlib
104 TITLE:=LuCI core libraries
105 endef
106
107 define Package/luci-core/install
108 $(call Package/luci/install/template,$(1),libs/core)
109 endef
110
111 define Package/luci-core/config
112 choice
113 prompt "Build Target"
114 default PACKAGE_luci-core_source
115
116 config PACKAGE_luci-core_compile
117 bool "Precompiled"
118
119 config PACKAGE_luci-core_stripped
120 bool "Stripped"
121
122 config PACKAGE_luci-core_source
123 bool "Full Source"
124
125 endchoice
126 endef
127
128 ifneq ($(CONFIG_PACKAGE_luci-core_compile),)
129 LUA_TARGET:=compile
130 endif
131
132 ifneq ($(CONFIG_PACKAGE_luci-core_stripped),)
133 LUA_TARGET:=strip
134 endif
135
136
137 ### Libraries ###
138 define Package/luci-cbi
139 $(call Package/luci/libtemplate)
140 DEPENDS+=+luci-web
141 TITLE:=Configuration Binding Interface
142 endef
143
144 define Package/luci-cbi/install
145 $(call Package/luci/install/template,$(1),libs/cbi)
146 endef
147
148
149 define Package/luci-uci
150 $(call Package/luci/libtemplate)
151 DEPENDS+=+libuci-lua
152 TITLE:=High-Level UCI API
153 endef
154
155 define Package/luci-uci/install
156 $(call Package/luci/install/template,$(1),libs/uci)
157 endef
158
159
160 define Package/luci-fastindex
161 $(call Package/luci/libtemplate)
162 TITLE:=Fastindex indexing module
163 endef
164
165 define Package/luci-fastindex/install
166 $(call Package/luci/install/template,$(1),libs/fastindex)
167 endef
168
169
170 define Package/luci-http
171 $(call Package/luci/libtemplate)
172 TITLE:=HTTP Protocol implementation
173 endef
174
175 define Package/luci-http/install
176 $(call Package/luci/install/template,$(1),libs/http)
177 endef
178
179
180 define Package/luci-ipkg
181 $(call Package/luci/libtemplate)
182 TITLE:=LuCI IPKG/OPKG call abstraction library
183 endef
184
185 define Package/luci-ipkg/install
186 $(call Package/luci/install/template,$(1),libs/ipkg)
187 endef
188
189
190 define Package/luci-sys
191 $(call Package/luci/libtemplate)
192 TITLE:=LuCI Linux/POSIX system library
193 endef
194
195 define Package/luci-sys/install
196 $(call Package/luci/install/template,$(1),libs/sys)
197 endef
198
199
200 define Package/luci-web
201 $(call Package/luci/libtemplate)
202 DEPENDS+=+luci-http +luci-sys +luci-addons +luci-uci +luci-sgi-cgi
203 TITLE:=MVC Webframework
204 endef
205
206 define Package/luci-web/conffiles
207 /etc/config/luci
208 endef
209
210 define Package/luci-web/install
211 $(call Package/luci/install/template,$(1),libs/web)
212 endef
213
214
215
216 ### HTTPD ###
217
218 define Package/luci-httpd
219 $(call Package/luci/httpdtemplate)
220 DEPENDS:=+luci-http +luasocket
221 TITLE:=Server Core
222 endef
223
224 define Package/luci-httpd/install
225 $(call Package/luci/install/template,$(1),libs/httpd)
226 endef
227
228
229
230 ### Community Packages ###
231
232 define Package/luci-ff-halle
233 $(call Package/luci/fftemplate)
234 DEPENDS+= \
235 +luci-sgi-cgi +luci-app-splash +luci-app-olsr \
236 +luci-app-ffwizard-leipzig \
237 +luci-theme-fledermaus \
238 +luci-i18n-german \
239 +olsrd +olsrd-mod-dyn-gw +olsrd-mod-txtinfo +olsrd-mod-nameservice \
240 +kmod-tun +ip
241 TITLE:=Freifunk Halle Community Meta-Package
242 endef
243
244 define Package/luci-ff-halle/install
245 $(call Package/luci/install/template,$(1),applications/community-halle)
246 endef
247
248
249 define Package/luci-ff-leipzig
250 $(call Package/luci/fftemplate)
251 DEPENDS+= \
252 +luci-sgi-cgi +luci-app-splash +luci-app-olsr \
253 +luci-app-ffwizard-leipzig \
254 +luci-theme-fledermaus \
255 +luci-i18n-german \
256 +olsrd +olsrd-mod-dyn-gw +olsrd-mod-txtinfo +olsrd-mod-nameservice \
257 +kmod-tun +ip
258 TITLE:=Freifunk Leipzig Community Meta-Package
259 endef
260
261 define Package/luci-ff-leipzig/install
262 $(call Package/luci/install/template,$(1),applications/community-leipzig)
263 endef
264
265
266 define Package/luci-ff-hannover
267 $(call Package/luci/fftemplate)
268 DEPENDS+= \
269 +luci-sgi-cgi +luci-app-splash +luci-app-olsr \
270 +luci-theme-fledermaus \
271 +luci-i18n-german \
272 +olsrd +olsrd-mod-dyn-gw +olsrd-mod-txtinfo +olsrd-mod-nameservice
273 TITLE:=Freifunk Hannover Community Meta-Package
274 URL:=http://www.freifunk-hannover.de/
275 MAINTAINER:=Mickey Knox <mickey-at-netfreaks-dot-org>
276 endef
277
278 define Package/luci-ff-hannover/install
279 $(call Package/luci/install/template,$(1),applications/community-hannover)
280 endef
281
282
283 define Package/luci-ff-berlin
284 $(call Package/luci/fftemplate)
285 DEPENDS+= \
286 +luci-sgi-cgi +luci-app-splash +luci-app-olsr \
287 +luci-theme-fledermaus \
288 +luci-i18n-german \
289 +olsrd +olsrd-mod-dyn-gw +olsrd-mod-txtinfo +olsrd-mod-nameservice
290 TITLE:=Freifunk Berlin Community Meta-Package
291 endef
292
293 define Package/luci-ff-berlin/install
294 $(call Package/luci/install/template,$(1),applications/community-berlin)
295 endef
296
297 define Package/luci-ff-augsburg
298 $(call Package/luci/fftemplate)
299 DEPENDS+= \
300 +luci-sgi-cgi +luci-app-splash +luci-app-olsr \
301 +luci-theme-fledermaus \
302 +luci-i18n-german \
303 +olsrd +olsrd-mod-dyn-gw +olsrd-mod-txtinfo +olsrd-mod-nameservice
304 TITLE:=Freifunk Augsburg Community Meta-Package
305 endef
306
307 define Package/luci-ff-augsburg/install
308 $(call Package/luci/install/template,$(1),applications/community-augsburg)
309 endef
310
311 ### Modules ###
312
313 define Package/luci-admin-core
314 $(call Package/luci/webtemplate)
315 DEPENDS+=+luci-web +luci-cbi +luci-theme-openwrt +luci-i18n-english
316 TITLE:=Web UI Core Module
317 endef
318
319 define Package/luci-admin-core/install
320 $(call Package/luci/install/template,$(1),modules/admin-core)
321 endef
322
323
324 define Package/luci-admin-mini
325 $(call Package/luci/webtemplate)
326 DEPENDS+=+luci-admin-core
327 TITLE:=LuCI Essentials - casual user's interface
328 endef
329
330 define Package/luci-admin-mini/install
331 $(call Package/luci/install/template,$(1),modules/admin-mini)
332 endef
333
334
335 define Package/luci-admin-full
336 $(call Package/luci/webtemplate)
337 DEPENDS+=+luci-admin-core +luci-ipkg
338 TITLE:=LuCI Administration - power user's interface
339 endef
340
341 define Package/luci-admin-full/install
342 $(call Package/luci/install/template,$(1),modules/admin-full)
343 endef
344
345
346 define Package/luci-mod-freifunk
347 $(call Package/luci/fftemplate)
348 DEPENDS:=+luci-admin-full
349 TITLE:=LuCI Freifunk module
350 endef
351
352 define Package/luci-mod-freifunk/conffiles
353 /etc/config/freifunk
354 endef
355
356 define Package/luci-mod-freifunk/install
357 $(call Package/luci/install/template,$(1),modules/freifunk)
358 endef
359
360
361
362 ### Applications ###
363
364 define Package/luci-app-ffwizard-leipzig
365 $(call Package/luci/fftemplate)
366 DEPENDS+=+luci-app-firewall
367 TITLE:=Freifunk Leipzig configuration wizard
368 endef
369
370 define Package/luci-app-ffwizard-leipzig/install
371 $(call Package/luci/install/template,$(1),applications/luci-ffwizard-leipzig)
372 endef
373
374
375 define Package/luci-app-firewall
376 $(call Package/luci/webtemplate)
377 DEPENDS+=+luci-admin-core +firewall
378 TITLE:=Firewall and Portforwarding application
379 endef
380
381 define Package/luci-app-firewall/install
382 $(call Package/luci/install/template,$(1),applications/luci-fw)
383 endef
384
385
386 define Package/luci-app-olsr
387 $(call Package/luci/webtemplate)
388 DEPENDS+=+luci-admin-full +olsrd +olsrd-mod-txtinfo
389 TITLE:=OLSR configuration and status module
390 endef
391
392 define Package/luci-app-olsr/install
393 $(call Package/luci/install/template,$(1),applications/luci-olsr)
394 endef
395
396
397 define Package/luci-app-qos
398 $(call Package/luci/webtemplate)
399 DEPENDS+=+luci-admin-core +qos-scripts
400 TITLE:=Quality of Service configuration module
401 endef
402
403 define Package/luci-app-qos/install
404 $(call Package/luci/install/template,$(1),applications/luci-qos)
405 endef
406
407
408 define Package/luci-app-splash
409 $(call Package/luci/fftemplate)
410 DEPENDS+=+luasocket +firewall
411 TITLE:=Freifunk DHCP-Splash application
412 endef
413
414 define Package/luci-app-splash/conffiles
415 /etc/config/luci_splash
416 endef
417
418 define Package/luci-app-splash/install
419 $(call Package/luci/install/template,$(1),applications/luci-splash)
420 endef
421
422
423 define Package/luci-app-statistics
424 $(call Package/luci/webtemplate)
425 DEPENDS+=+luci-admin-full +collectd +collectd-mod-rrdtool1 +rrdtool1
426 TITLE:=LuCI Statistics Application
427 endef
428
429 define Package/luci-app-statistics/conffiles
430 /etc/config/luci_statistics
431 endef
432
433 define Package/luci-app-statistics/install
434 $(call Package/luci/install/template,$(1),applications/luci-statistics)
435 endef
436
437
438 define Package/luci-app-upnp
439 $(call Package/luci/webtemplate)
440 DEPENDS+=+luci-admin-core +miniupnpd
441 TITLE:=Universal Plug & Play configuration module
442 endef
443
444 define Package/luci-app-upnp/install
445 $(call Package/luci/install/template,$(1),applications/luci-upnp)
446 endef
447
448
449 define Package/luci-app-ntpc
450 $(call Package/luci/webtemplate)
451 DEPENDS+=+luci-admin-core +ntpclient
452 TITLE:=NTP time synchronisation client configuration module
453 endef
454
455 define Package/luci-app-ntpc/install
456 $(call Package/luci/install/template,$(1),applications/luci-ntpc)
457 endef
458
459
460 define Package/luci-app-ddns
461 $(call Package/luci/webtemplate)
462 DEPENDS+=+luci-admin-core +ddns-scripts
463 TITLE:=Dynamic DNS configuration module
464 endef
465
466 define Package/luci-app-ddns/install
467 $(call Package/luci/install/template,$(1),applications/luci-ddns)
468 endef
469
470
471 define Package/luci-app-samba
472 $(call Package/luci/webtemplate)
473 DEPENDS+=+luci-admin-full +samba3
474 TITLE:=Network Shares - Samba SMB/CIFS module
475 endef
476
477 define Package/luci-app-samba/install
478 $(call Package/luci/install/template,$(1),applications/luci-samba)
479 endef
480
481
482 ### Server Gateway Interfaces ###
483
484 define Package/luci-sgi-cgi
485 $(call Package/luci/libtemplate)
486 TITLE:=SGI for CGI
487 endef
488
489 define Package/luci-sgi-cgi/install
490 $(call Package/luci/install/template,$(1),libs/sgi-cgi)
491 endef
492
493 define Package/luci-sgi-luci
494 $(call Package/luci/libtemplate)
495 DEPENDS+=+luci-httpd
496 TITLE:=SGI for LuCI HTTPD
497 endef
498
499 define Package/luci-sgi-luci/install
500 $(call Package/luci/install/template,$(1),libs/sgi-luci)
501 endef
502
503 define Package/luci-sgi-webuci
504 $(call Package/luci/libtemplate)
505 TITLE:=SGI for Webuci
506 endef
507
508 define Package/luci-sgi-webuci/install
509 $(call Package/luci/install/template,$(1),libs/sgi-webuci)
510 endef
511
512 ### Themes ###
513 define Package/luci-theme-fledermaus
514 $(call Package/luci/fftemplate)
515 DEPENDS:=+luci-web
516 TITLE:=Fledermaus Theme
517 endef
518
519 define Package/luci-theme-fledermaus/install
520 $(call Package/luci/install/template,$(1),themes/fledermaus)
521 endef
522
523 define Package/luci-theme-openwrt
524 $(call Package/luci/thtemplate)
525 TITLE:=OpenWRT.org (default)
526 endef
527
528 define Package/luci-theme-openwrt/install
529 $(call Package/luci/install/template,$(1),themes/openwrt.org)
530 endef
531
532 define Package/luci-theme-openwrtlight
533 $(call Package/luci/thtemplate)
534 TITLE:=OpenWRT.org - light variant without images
535 endef
536
537 define Package/luci-theme-openwrtlight/install
538 $(call Package/luci/install/template,$(1),themes/openwrt-light)
539 endef
540
541
542 ### Translations ###
543 define Package/luci-i18n-german
544 $(call Package/luci/i18ntemplate)
545 TITLE:=German
546 endef
547
548 define Package/luci-i18n-german/install
549 $(call Package/luci/install/template,$(1),i18n/german)
550 endef
551
552
553 define Package/luci-i18n-english
554 $(call Package/luci/i18ntemplate)
555 TITLE:=English
556 endef
557
558 define Package/luci-i18n-english/install
559 $(call Package/luci/install/template,$(1),i18n/english)
560 endef
561
562
563 define Package/luci-i18n-french
564 $(call Package/luci/i18ntemplate)
565 TITLE:=French
566 endef
567
568 define Package/luci-i18n-french/install
569 $(call Package/luci/install/template,$(1),i18n/french)
570 endef
571
572
573
574
575 ### Compile ###
576 ifneq ($(CONFIG_PACKAGE_luci-core),)
577 PKG_SELECTED_MODULES+=libs/core
578 endif
579 ifneq ($(CONFIG_PACKAGE_luci-cbi),)
580 PKG_SELECTED_MODULES+=libs/cbi
581 endif
582 ifneq ($(CONFIG_PACKAGE_luci-fastindex),)
583 PKG_SELECTED_MODULES+=libs/fastindex
584 endif
585 ifneq ($(CONFIG_PACKAGE_luci-http),)
586 PKG_SELECTED_MODULES+=libs/http
587 endif
588 ifneq ($(CONFIG_PACKAGE_luci-ipkg),)
589 PKG_SELECTED_MODULES+=libs/ipkg
590 endif
591 ifneq ($(CONFIG_PACKAGE_luci-uci),)
592 PKG_SELECTED_MODULES+=libs/uci
593 endif
594 ifneq ($(CONFIG_PACKAGE_luci-sys),)
595 PKG_SELECTED_MODULES+=libs/sys
596 endif
597 ifneq ($(CONFIG_PACKAGE_luci-web),)
598 PKG_SELECTED_MODULES+=libs/web
599 endif
600
601 ifneq ($(CONFIG_PACKAGE_luci-httpd),)
602 PKG_SELECTED_MODULES+=libs/httpd
603 endif
604
605 ifneq ($(CONFIG_PACKAGE_luci-ff-halle),)
606 PKG_SELECTED_MODULES+=applications/community-halle
607 endif
608 ifneq ($(CONFIG_PACKAGE_luci-ff-leipzig),)
609 PKG_SELECTED_MODULES+=applications/community-leipzig
610 endif
611 ifneq ($(CONFIG_PACKAGE_luci-ff-hannover),)
612 PKG_SELECTED_MODULES+=applications/community-hannover
613 endif
614 ifneq ($(CONFIG_PACKAGE_luci-ff-berlin),)
615 PKG_SELECTED_MODULES+=applications/community-berlin
616 endif
617 ifneq ($(CONFIG_PACKAGE_luci-ff-augsburg),)
618 PKG_SELECTED_MODULES+=applications/community-augsburg
619 endif
620
621 ifneq ($(CONFIG_PACKAGE_luci-admin-core),)
622 PKG_SELECTED_MODULES+=modules/admin-core
623 endif
624 ifneq ($(CONFIG_PACKAGE_luci-admin-mini),)
625 PKG_SELECTED_MODULES+=modules/admin-mini
626 endif
627 ifneq ($(CONFIG_PACKAGE_luci-admin-full),)
628 PKG_SELECTED_MODULES+=modules/admin-full
629 endif
630 ifneq ($(CONFIG_PACKAGE_luci-mod-freifunk),)
631 PKG_SELECTED_MODULES+=modules/freifunk
632 endif
633
634 ifneq ($(CONFIG_PACKAGE_luci-app-ffwizard-leipzig),)
635 PKG_SELECTED_MODULES+=applications/luci-ffwizard-leipzig
636 endif
637 ifneq ($(CONFIG_PACKAGE_luci-app-firewall),)
638 PKG_SELECTED_MODULES+=applications/luci-fw
639 endif
640 ifneq ($(CONFIG_PACKAGE_luci-app-olsr),)
641 PKG_SELECTED_MODULES+=applications/luci-olsr
642 endif
643 ifneq ($(CONFIG_PACKAGE_luci-app-qos),)
644 PKG_SELECTED_MODULES+=applications/luci-qos
645 endif
646 ifneq ($(CONFIG_PACKAGE_luci-app-splash),)
647 PKG_SELECTED_MODULES+=applications/luci-splash
648 endif
649 ifneq ($(CONFIG_PACKAGE_luci-app-statistics),)
650 PKG_SELECTED_MODULES+=applications/luci-statistics
651 endif
652 ifneq ($(CONFIG_PACKAGE_luci-app-upnp),)
653 PKG_SELECTED_MODULES+=applications/luci-upnp
654 endif
655 ifneq ($(CONFIG_PACKAGE_luci-app-ntpc),)
656 PKG_SELECTED_MODULES+=applications/luci-ntpc
657 endif
658 ifneq ($(CONFIG_PACKAGE_luci-app-ddns),)
659 PKG_SELECTED_MODULES+=applications/luci-ddns
660 endif
661 ifneq ($(CONFIG_PACKAGE_luci-app-samba),)
662 PKG_SELECTED_MODULES+=applications/luci-samba
663 endif
664
665
666 ifneq ($(CONFIG_PACKAGE_luci-sgi-cgi),)
667 PKG_SELECTED_MODULES+=libs/sgi-cgi
668 endif
669 ifneq ($(CONFIG_PACKAGE_luci-sgi-luci),)
670 PKG_SELECTED_MODULES+=libs/sgi-luci
671 endif
672 ifneq ($(CONFIG_PACKAGE_luci-sgi-webuci),)
673 PKG_SELECTED_MODULES+=libs/sgi-webuci
674 endif
675
676 ifneq ($(CONFIG_PACKAGE_luci-theme-fledermaus),)
677 PKG_SELECTED_MODULES+=themes/fledermaus
678 endif
679 ifneq ($(CONFIG_PACKAGE_luci-theme-openwrt),)
680 PKG_SELECTED_MODULES+=themes/openwrt.org
681 endif
682 ifneq ($(CONFIG_PACKAGE_luci-theme-openwrtlight),)
683 PKG_SELECTED_MODULES+=themes/openwrt-light
684 endif
685
686 ifneq ($(CONFIG_PACKAGE_luci-i18n-german),)
687 PKG_SELECTED_MODULES+=i18n/german
688 endif
689 ifneq ($(CONFIG_PACKAGE_luci-i18n-english),)
690 PKG_SELECTED_MODULES+=i18n/english
691 endif
692 ifneq ($(CONFIG_PACKAGE_luci-i18n-french),)
693 PKG_SELECTED_MODULES+=i18n/french
694 endif
695
696
697 MAKE_FLAGS += \
698 MODULES="$(PKG_SELECTED_MODULES)" \
699 LUA_TARGET="$(LUA_TARGET)" \
700 LUA_SHLIBS="-llua -lm" \
701 CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" \
702 LDFLAGS="$(TARGET_LDFLAGS) -L$(STAGING_DIR)/usr/lib" \
703 OS="Linux"
704
705
706 $(eval $(call BuildPackage,luci-core))
707 $(eval $(call BuildPackage,luci-cbi))
708 $(eval $(call BuildPackage,luci-fastindex))
709 $(eval $(call BuildPackage,luci-http))
710 $(eval $(call BuildPackage,luci-ipkg))
711 $(eval $(call BuildPackage,luci-uci))
712 $(eval $(call BuildPackage,luci-sys))
713 $(eval $(call BuildPackage,luci-web))
714
715 $(eval $(call BuildPackage,luci-httpd))
716
717 $(eval $(call BuildPackage,luci-ff-halle))
718 $(eval $(call BuildPackage,luci-ff-leipzig))
719 $(eval $(call BuildPackage,luci-ff-hannover))
720 $(eval $(call BuildPackage,luci-ff-berlin))
721 $(eval $(call BuildPackage,luci-ff-augsburg))
722
723 $(eval $(call BuildPackage,luci-admin-core))
724 $(eval $(call BuildPackage,luci-admin-mini))
725 $(eval $(call BuildPackage,luci-admin-full))
726 $(eval $(call BuildPackage,luci-mod-freifunk))
727
728 $(eval $(call BuildPackage,luci-app-ffwizard-leipzig))
729 $(eval $(call BuildPackage,luci-app-firewall))
730 $(eval $(call BuildPackage,luci-app-olsr))
731 $(eval $(call BuildPackage,luci-app-qos))
732 $(eval $(call BuildPackage,luci-app-splash))
733 $(eval $(call BuildPackage,luci-app-statistics))
734 $(eval $(call BuildPackage,luci-app-upnp))
735 $(eval $(call BuildPackage,luci-app-ntpc))
736 $(eval $(call BuildPackage,luci-app-ddns))
737 $(eval $(call BuildPackage,luci-app-samba))
738
739 $(eval $(call BuildPackage,luci-sgi-cgi))
740 $(eval $(call BuildPackage,luci-sgi-luci))
741 $(eval $(call BuildPackage,luci-sgi-webuci))
742
743 $(eval $(call BuildPackage,luci-theme-fledermaus))
744 $(eval $(call BuildPackage,luci-theme-openwrt))
745 $(eval $(call BuildPackage,luci-theme-openwrtlight))
746
747 $(eval $(call BuildPackage,luci-i18n-german))
748 $(eval $(call BuildPackage,luci-i18n-english))
749 $(eval $(call BuildPackage,luci-i18n-french))