root/luci/trunk/contrib/package/luci/Makefile @ 3841

Revision 3841, 23.5 KB (checked in by jow, 4 years ago)

luci/applications: add experimental SIIT setup assistant

Line 
1include $(TOPDIR)/rules.mk
2
3PKG_BRANCH:=trunk
4
5ifeq ($(DUMP),)
6  USELOCAL:=$(shell grep luci ../../../.project 2>/dev/null >/dev/null && echo 1)
7endif
8
9PKG_NAME:=luci
10PKG_RELEASE:=1
11
12ifeq ($(USELOCAL),1)
13  PKG_VERSION:=0.9+svn
14else
15  PKG_SOURCE_URL:=http://svn.luci.subsignal.org/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.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)
24endif
25
26PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
27PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
28
29PKG_BUILD_DEPENDS:=libnotimpl
30LUA_TARGET:=source
31PKG_SELECTED_MODULES:=
32
33
34include $(INCLUDE_DIR)/package.mk
35
36ifeq ($(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
45endif
46
47define Build/Configure
48endef
49
50### Templates ###
51
52define 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
60endef
61
62define Package/luci/fftemplate
63  $(call Package/luci/libtemplate)
64  SUBMENU:=LuCI Freifunk Support (GERMAN ONLY)
65  DEPENDS:=+luci-mod-freifunk
66endef
67
68define Package/luci/httpdtemplate
69  $(call Package/luci/libtemplate)
70  SUBMENU:=LuCI Non-Forking HTTP-Daemon (EXPERIMENTAL)
71  DEPENDS:=+luci-httpd
72endef
73
74define Package/luci/i18ntemplate
75  $(call Package/luci/libtemplate)
76  SUBMENU:=LuCI Translations
77  DEPENDS:=+luci-web
78endef
79
80define Package/luci/thtemplate
81  $(call Package/luci/libtemplate)
82  SUBMENU:=LuCI Themes
83  DEPENDS:=+luci-web
84endef
85
86define Package/luci/webtemplate
87  $(call Package/luci/libtemplate)
88  SUBMENU:=LuCI Components
89endef
90
91
92define 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
95endef
96
97
98
99### Core package ###
100
101define Package/luci-core
102  $(call Package/luci/libtemplate)
103  DEPENDS:=+lua
104  TITLE:=LuCI core libraries
105endef
106
107define Package/luci-core/install
108    $(call Package/luci/install/template,$(1),libs/core)
109endef
110
111define 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
126endef
127
128ifneq ($(CONFIG_PACKAGE_luci-core_compile),)
129  LUA_TARGET:=compile
130endif
131
132ifneq ($(CONFIG_PACKAGE_luci-core_stripped),)
133  LUA_TARGET:=strip
134endif
135
136
137### Libraries ###
138define Package/luci-cbi
139  $(call Package/luci/libtemplate)
140  DEPENDS+=+luci-web +luci-uvl +luci-uci
141  TITLE:=Configuration Binding Interface
142endef
143
144define Package/luci-cbi/install
145    $(call Package/luci/install/template,$(1),libs/cbi)
146endef
147
148
149define Package/luci-uci
150  $(call Package/luci/libtemplate)
151  DEPENDS+=+libuci-lua
152  TITLE:=High-Level UCI API
153endef
154
155define Package/luci-uci/install
156    $(call Package/luci/install/template,$(1),libs/uci)
157endef
158
159
160define Package/luci-fastindex
161  $(call Package/luci/libtemplate)
162  TITLE:=Fastindex indexing module
163endef
164
165define Package/luci-fastindex/install
166    $(call Package/luci/install/template,$(1),libs/fastindex)
167endef
168
169
170define Package/luci-http
171  $(call Package/luci/libtemplate)
172  TITLE:=HTTP Protocol implementation
173endef
174
175define Package/luci-http/install
176    $(call Package/luci/install/template,$(1),libs/http)
177endef
178
179
180define Package/luci-ipkg
181  $(call Package/luci/libtemplate)
182  TITLE:=LuCI IPKG/OPKG call abstraction library
183endef
184
185define Package/luci-ipkg/install
186    $(call Package/luci/install/template,$(1),libs/ipkg)
187endef
188
189
190define Package/luci-json
191  $(call Package/luci/libtemplate)
192  TITLE:=LuCI JSON Library
193endef
194
195define Package/luci-json/install
196    $(call Package/luci/install/template,$(1),libs/json)
197endef
198
199
200define Package/luci-sys
201  $(call Package/luci/libtemplate)
202  TITLE:=LuCI Linux/POSIX system library
203endef
204
205define Package/luci-sys/install
206    $(call Package/luci/install/template,$(1),libs/sys)
207endef
208
209
210define Package/luci-web
211  $(call Package/luci/libtemplate)
212  DEPENDS+=+luci-http +luci-sys +luci-uci +luci-sgi-cgi
213  TITLE:=MVC Webframework
214endef
215
216define Package/luci-web/conffiles
217/etc/config/luci
218endef
219
220define Package/luci-web/install
221    $(call Package/luci/install/template,$(1),libs/web)
222endef
223
224
225define Package/luci-uvl
226  $(call Package/luci/libtemplate)
227  DEPENDS+=+luci-sys +luci-uci +luci-core
228  TITLE:=UVL - UCI Validation Layer
229endef
230
231define Package/luci-uvl/install
232    $(call Package/luci/install/template,$(1),libs/uvl)
233endef
234
235
236
237### HTTPD ###
238
239define Package/luci-httpd
240  $(call Package/luci/httpdtemplate)
241  DEPENDS:=+luci-http +luasocket
242  TITLE:=Server Core
243endef
244
245define Package/luci-httpd/install
246    $(call Package/luci/install/template,$(1),libs/httpd)
247endef
248
249
250
251### Community Packages ###
252
253define Package/luci-freifunk-community
254  $(call Package/luci/fftemplate)
255  DEPENDS+= \
256   +luci-sgi-cgi +luci-app-splash +luci-app-olsr \
257   +luci-app-ffwizard-leipzig \
258   +luci-theme-fledermaus \
259   +luci-i18n-german \
260   +olsrd-luci +olsrd-luci-mod-dyn-gw +olsrd-luci-mod-txtinfo +olsrd-luci-mod-nameservice \
261   +kmod-tun +ip
262  TITLE:=Freifunk Community Meta-Package
263endef
264
265define Package/luci-freifunk-community/install
266    $(call Package/luci/install/template,$(1),applications/freifunk-community)
267endef
268
269### Modules ###
270
271define Package/luci-admin-core
272  $(call Package/luci/webtemplate)
273  DEPENDS+=+luci-web +luci-cbi +luci-theme-openwrt +luci-i18n-english
274  TITLE:=Web UI Core Module
275endef
276
277define Package/luci-admin-core/conffiles
278/etc/config/luci_hosts
279/etc/config/luci_ethers
280endef
281
282define Package/luci-admin-core/install
283    $(call Package/luci/install/template,$(1),modules/admin-core)
284endef
285
286
287define Package/luci-admin-mini
288  $(call Package/luci/webtemplate)
289  DEPENDS+=+luci-admin-core
290  TITLE:=LuCI Essentials - stripped down and user-friendly
291endef
292
293define Package/luci-admin-mini/install
294    $(call Package/luci/install/template,$(1),modules/admin-mini)
295endef
296
297
298define Package/luci-admin-full
299  $(call Package/luci/webtemplate)
300  DEPENDS+=+luci-admin-core +luci-ipkg
301  TITLE:=LuCI Administration - full-featured for full control
302endef
303
304define Package/luci-admin-full/install
305    $(call Package/luci/install/template,$(1),modules/admin-full)
306endef
307
308
309define Package/luci-admin-rpc
310  $(call Package/luci/webtemplate)
311  DEPENDS+=+luci-json
312  TITLE:=LuCI RPC - JSON-RPC API
313endef
314
315define Package/luci-admin-rpc/install
316    $(call Package/luci/install/template,$(1),modules/rpc)
317endef
318
319
320define Package/luci-mod-freifunk
321  $(call Package/luci/fftemplate)
322  DEPENDS:=+luci-admin-full
323  TITLE:=LuCI Freifunk module
324endef
325
326define Package/luci-mod-freifunk/conffiles
327/etc/config/freifunk
328endef
329
330define Package/luci-mod-freifunk/install
331    $(call Package/luci/install/template,$(1),modules/freifunk)
332endef
333
334
335
336### Applications ###
337
338define Package/luci-app-ffwizard-leipzig
339  $(call Package/luci/fftemplate)
340  TITLE:=Freifunk Leipzig configuration wizard
341endef
342
343define Package/luci-app-ffwizard-leipzig/install
344    $(call Package/luci/install/template,$(1),applications/luci-ffwizard-leipzig)
345endef
346
347
348define Package/luci-app-siitwizard
349  $(call Package/luci/fftemplate)
350  TITLE:=SIIT IPv4-over-IPv6 configuration wizard
351endef
352
353define Package/luci-app-siitwizard/install
354    $(call Package/luci/install/template,$(1),applications/luci-siitwizard)
355endef
356
357
358define Package/luci-app-firewall
359  $(call Package/luci/webtemplate)
360  DEPENDS+=+luci-admin-core
361  TITLE:=Firewall and Portforwarding application
362endef
363
364define Package/luci-app-firewall/install
365    $(call Package/luci/install/template,$(1),applications/luci-fw)
366endef
367
368
369define Package/luci-app-olsr
370  $(call Package/luci/webtemplate)
371  DEPENDS+=+luci-admin-full +olsrd-luci +olsrd-luci-mod-txtinfo
372  TITLE:=OLSR configuration and status module
373endef
374
375define Package/luci-app-olsr/install
376    $(call Package/luci/install/template,$(1),applications/luci-olsr)
377endef
378
379
380define Package/luci-app-qos
381  $(call Package/luci/webtemplate)
382  DEPENDS+=+luci-admin-core +qos-scripts
383  TITLE:=Quality of Service configuration module
384endef
385
386define Package/luci-app-qos/install
387    $(call Package/luci/install/template,$(1),applications/luci-qos)
388endef
389
390
391define Package/luci-app-splash
392  $(call Package/luci/fftemplate)
393  DEPENDS+=+luasocket
394  TITLE:=Freifunk DHCP-Splash application
395endef
396
397define Package/luci-app-splash/conffiles
398/etc/config/luci_splash
399endef
400
401define Package/luci-app-splash/install
402    $(call Package/luci/install/template,$(1),applications/luci-splash)
403endef
404
405
406define Package/luci-app-statistics
407  $(call Package/luci/webtemplate)
408  DEPENDS+=+luci-admin-full +collectd +collectd-mod-rrdtool1 +rrdtool1
409  TITLE:=LuCI Statistics Application
410endef
411
412define Package/luci-app-statistics/conffiles
413/etc/config/luci_statistics
414endef
415
416define Package/luci-app-statistics/install
417    $(call Package/luci/install/template,$(1),applications/luci-statistics)
418endef
419
420
421define Package/luci-app-upnp
422  $(call Package/luci/webtemplate)
423  DEPENDS+=+luci-admin-core +miniupnpd
424  TITLE:=Universal Plug & Play configuration module
425endef
426
427define Package/luci-app-upnp/install
428    $(call Package/luci/install/template,$(1),applications/luci-upnp)
429endef
430
431
432define Package/luci-app-ntpc
433  $(call Package/luci/webtemplate)
434  DEPENDS+=+luci-admin-core +ntpclient
435  TITLE:=NTP time synchronisation client configuration module
436endef
437
438define Package/luci-app-ntpc/install
439    $(call Package/luci/install/template,$(1),applications/luci-ntpc)
440endef
441
442
443define Package/luci-app-ddns
444  $(call Package/luci/webtemplate)
445  DEPENDS+=+luci-admin-core +ddns-scripts
446  TITLE:=Dynamic DNS configuration module
447endef
448
449define Package/luci-app-ddns/install
450    $(call Package/luci/install/template,$(1),applications/luci-ddns)
451endef
452
453
454define Package/luci-app-samba
455  $(call Package/luci/webtemplate)
456  DEPENDS+=+luci-admin-full +samba3
457  TITLE:=Network Shares - Samba SMB/CIFS module
458endef
459
460define Package/luci-app-samba/install
461    $(call Package/luci/install/template,$(1),applications/luci-samba)
462endef
463
464
465define Package/luci-app-uvc_streamer
466  $(call Package/luci/webtemplate)
467  DEPENDS+=+luci-admin-full +uvc-streamer
468  TITLE:=Webcam Streaming - UVC-Streamer module
469endef
470
471define Package/luci-app-uvc_streamer/install
472        $(call Package/luci/install/template,$(1),applications/luci-uvc_streamer)
473endef
474
475
476define Package/luci-app-mmc_over_gpio
477  $(call Package/luci/webtemplate)
478  DEPENDS+=+luci-admin-full +kmod-mmc-over-gpio
479  TITLE:=mmc_over_gpio
480endef
481
482define Package/luci-app-mmc_over_gpio/install
483        $(call Package/luci/install/template,$(1),applications/luci-mmc_over_gpio)
484endef
485
486
487define Package/luci-app-p910nd
488  $(call Package/luci/webtemplate)
489  DEPENDS+=+luci-admin-full +p910nd
490  TITLE:=p910nd - Printer server module
491endef
492
493define Package/luci-app-p910nd/install
494        $(call Package/luci/install/template,$(1),applications/luci-p910nd)
495endef
496
497
498define Package/luci-app-ushare
499  $(call Package/luci/webtemplate)
500  DEPENDS+=+luci-admin-full +ushare
501  TITLE:=ushare - UPnP A/V & DLNA Media Server
502endef
503
504define Package/luci-app-ushare/install
505        $(call Package/luci/install/template,$(1),applications/luci-ushare)
506endef
507
508define Package/luci-app-hd_idle
509  $(call Package/luci/webtemplate)
510  DEPENDS+=+luci-admin-full +hd-idle
511  TITLE:=hd-idle
512endef
513
514define Package/luci-app-hd_idle/install
515        $(call Package/luci/install/template,$(1),applications/luci-hd_idle)
516endef
517
518define Package/luci-app-tinyproxy
519  $(call Package/luci/webtemplate)
520  DEPENDS+=+luci-admin-full +tinyproxy
521  TITLE:=Tinyproxy - HTTP(S)-Proxy
522endef
523
524define Package/luci-app-tinyproxy/install
525        $(call Package/luci/install/template,$(1),applications/luci-tinyproxy)
526endef
527
528define Package/luci-app-initmgr
529  $(call Package/luci/webtemplate)
530  DEPENDS+=+luci-admin-full
531  TITLE:=LuCI Initscript Management
532endef
533
534define Package/luci-app-initmgr/install
535        $(call Package/luci/install/template,$(1),applications/luci-initmgr)
536endef
537
538define Package/luci-app-livestats
539  $(call Package/luci/webtemplate)
540  DEPENDS+=+luci-admin-full +luci-admin-rpc
541  TITLE:=LuCI Realtime Statistics (Experimental)
542endef
543
544define Package/luci-app-livestats/install
545        $(call Package/luci/install/template,$(1),applications/luci-livestats)
546endef
547
548define Package/luci-app-asterisk
549  $(call Package/luci/webtemplate)
550  TITLE:=LuCI Support for Asterisk PBX (Incomplete)
551endef
552
553define Package/luci-app-asterisk/install
554        $(call Package/luci/install/template,$(1),applications/luci-asterisk)
555endef
556
557define Package/luci-app-polipo
558  $(call Package/luci/webtemplate)
559  TITLE:=LuCI Support for the Polipo Proxy
560  DEPENDS+=+luci-admin-core +polipo
561endef
562
563define Package/luci-app-polipo/install
564        $(call Package/luci/install/template,$(1),applications/luci-polipo)
565endef
566
567
568### Server Gateway Interfaces ###
569
570define Package/luci-sgi-cgi
571  $(call Package/luci/libtemplate)
572  TITLE:=SGI for CGI
573endef
574
575define Package/luci-sgi-cgi/install
576    $(call Package/luci/install/template,$(1),libs/sgi-cgi)
577endef
578
579define Package/luci-sgi-luci
580  $(call Package/luci/libtemplate)
581  DEPENDS+=+luci-httpd
582  TITLE:=SGI for LuCI HTTPD
583endef
584
585define Package/luci-sgi-luci/install
586    $(call Package/luci/install/template,$(1),libs/sgi-luci)
587endef
588
589define Package/luci-sgi-webuci
590  $(call Package/luci/libtemplate)
591  TITLE:=SGI for Webuci
592endef
593
594define Package/luci-sgi-webuci/install
595    $(call Package/luci/install/template,$(1),libs/sgi-webuci)
596endef
597
598### Themes ###
599define Package/luci-theme-base
600  $(call Package/luci/thtemplate)
601  DEPENDS:=+luci-web
602  TITLE:=Common base for all themes
603endef
604
605define Package/luci-theme-base/install
606    $(call Package/luci/install/template,$(1),themes/base)
607endef
608
609define Package/luci-theme-fledermaus
610  $(call Package/luci/fftemplate)
611  DEPENDS:=+luci-web
612  TITLE:=Fledermaus Theme
613endef
614
615define Package/luci-theme-fledermaus/install
616    $(call Package/luci/install/template,$(1),themes/fledermaus)
617endef
618
619define Package/luci-theme-freifunk
620  $(call Package/luci/thtemplate)
621  DEPENDS:=+luci-web
622  MAINTAINER:=Stefan Pirwitz <stefan-at-freifunk-bno-dot-de>
623  TITLE:=alternative Freifunk Theme
624endef
625
626define Package/luci-theme-freifunk/install
627        $(call Package/luci/install/template,$(1),themes/freifunk)
628endef
629
630define Package/luci-theme-freifunk-bno
631  $(call Package/luci/thtemplate)
632  DEPENDS:=+luci-web
633  MAINTAINER:=Stefan Pirwitz <stefan-at-freifunk-bno-dot-de>
634  TITLE:=Freifunk Berlin Nordost Theme
635endef
636
637define Package/luci-theme-freifunk-bno/install
638    $(call Package/luci/install/template,$(1),themes/freifunk-bno)
639endef
640
641define Package/luci-theme-openwrt
642  $(call Package/luci/thtemplate)
643  TITLE:=OpenWrt.org (default)
644  DEPENDS:=+luci-theme-base
645endef
646
647define Package/luci-theme-openwrt/install
648    $(call Package/luci/install/template,$(1),themes/openwrt.org)
649endef
650
651define Package/luci-theme-openwrtlight
652  $(call Package/luci/thtemplate)
653  TITLE:=OpenWrt.org - light variant without images
654  DEPENDS:=+luci-theme-base
655endef
656
657define Package/luci-theme-openwrtlight/install
658    $(call Package/luci/install/template,$(1),themes/openwrt-light)
659endef
660
661
662### Translations ###
663define Package/luci-i18n-german
664  $(call Package/luci/i18ntemplate)
665  TITLE:=German
666endef
667
668define Package/luci-i18n-german/install
669    $(call Package/luci/install/template,$(1),i18n/german)
670endef
671
672
673define Package/luci-i18n-english
674  $(call Package/luci/i18ntemplate)
675  TITLE:=English
676endef
677
678define Package/luci-i18n-english/install
679    $(call Package/luci/install/template,$(1),i18n/english)
680endef
681
682
683define Package/luci-i18n-french
684  $(call Package/luci/i18ntemplate)
685  TITLE:=French (by Florian Fainelli)
686endef
687
688define Package/luci-i18n-french/install
689    $(call Package/luci/install/template,$(1),i18n/french)
690endef
691
692
693define Package/luci-i18n-russian
694  $(call Package/luci/i18ntemplate)
695  TITLE:=Russian (by Skryabin Dmitry)
696endef
697
698define Package/luci-i18n-russian/install
699    $(call Package/luci/install/template,$(1),i18n/russian)
700endef
701
702
703define Package/luci-i18n-portuguese_brazilian
704  $(call Package/luci/i18ntemplate)
705  TITLE:=Portuguese (Brazilian) (by Carlos Cesario)
706endef
707
708define Package/luci-i18n-portuguese_brazilian/install
709    $(call Package/luci/install/template,$(1),i18n/portuguese_brazilian)
710endef
711
712
713### Compile ###
714ifneq ($(CONFIG_PACKAGE_luci-core),)
715    PKG_SELECTED_MODULES+=libs/core
716endif
717ifneq ($(CONFIG_PACKAGE_luci-cbi),)
718    PKG_SELECTED_MODULES+=libs/cbi
719endif
720ifneq ($(CONFIG_PACKAGE_luci-fastindex),)
721    PKG_SELECTED_MODULES+=libs/fastindex
722endif
723ifneq ($(CONFIG_PACKAGE_luci-http),)
724    PKG_SELECTED_MODULES+=libs/http
725endif
726ifneq ($(CONFIG_PACKAGE_luci-ipkg),)
727    PKG_SELECTED_MODULES+=libs/ipkg
728endif
729ifneq ($(CONFIG_PACKAGE_luci-json),)
730    PKG_SELECTED_MODULES+=libs/json
731endif
732ifneq ($(CONFIG_PACKAGE_luci-uci),)
733    PKG_SELECTED_MODULES+=libs/uci
734endif
735ifneq ($(CONFIG_PACKAGE_luci-sys),)
736    PKG_SELECTED_MODULES+=libs/sys
737endif
738ifneq ($(CONFIG_PACKAGE_luci-web),)
739    PKG_SELECTED_MODULES+=libs/web
740endif
741ifneq ($(CONFIG_PACKAGE_luci-uvl),)
742    PKG_SELECTED_MODULES+=libs/uvl
743endif
744
745ifneq ($(CONFIG_PACKAGE_luci-httpd),)
746    PKG_SELECTED_MODULES+=libs/httpd
747endif
748
749ifneq ($(CONFIG_PACKAGE_luci-admin-core),)
750    PKG_SELECTED_MODULES+=modules/admin-core
751endif
752ifneq ($(CONFIG_PACKAGE_luci-admin-mini),)
753    PKG_SELECTED_MODULES+=modules/admin-mini
754endif
755ifneq ($(CONFIG_PACKAGE_luci-admin-full),)
756    PKG_SELECTED_MODULES+=modules/admin-full
757endif
758ifneq ($(CONFIG_PACKAGE_luci-admin-rpc),)
759    PKG_SELECTED_MODULES+=modules/rpc
760endif
761ifneq ($(CONFIG_PACKAGE_luci-mod-freifunk),)
762    PKG_SELECTED_MODULES+=modules/freifunk
763endif
764
765ifneq ($(CONFIG_PACKAGE_luci-freifunk-community),)
766    PKG_SELECTED_MODULES+=applications/freifunk-community
767endif
768
769ifneq ($(CONFIG_PACKAGE_luci-app-ffwizard-leipzig),)
770    PKG_SELECTED_MODULES+=applications/luci-ffwizard-leipzig
771endif
772ifneq ($(CONFIG_PACKAGE_luci-app-siitwizard),)
773    PKG_SELECTED_MODULES+=applications/luci-siitwizard
774endif
775ifneq ($(CONFIG_PACKAGE_luci-app-firewall),)
776    PKG_SELECTED_MODULES+=applications/luci-fw
777endif
778ifneq ($(CONFIG_PACKAGE_luci-app-olsr),)
779    PKG_SELECTED_MODULES+=applications/luci-olsr
780endif
781ifneq ($(CONFIG_PACKAGE_luci-app-qos),)
782    PKG_SELECTED_MODULES+=applications/luci-qos
783endif
784ifneq ($(CONFIG_PACKAGE_luci-app-splash),)
785    PKG_SELECTED_MODULES+=applications/luci-splash
786endif
787ifneq ($(CONFIG_PACKAGE_luci-app-statistics),)
788    PKG_SELECTED_MODULES+=applications/luci-statistics
789endif
790ifneq ($(CONFIG_PACKAGE_luci-app-upnp),)
791    PKG_SELECTED_MODULES+=applications/luci-upnp
792endif
793ifneq ($(CONFIG_PACKAGE_luci-app-ntpc),)
794    PKG_SELECTED_MODULES+=applications/luci-ntpc
795endif
796ifneq ($(CONFIG_PACKAGE_luci-app-ddns),)
797    PKG_SELECTED_MODULES+=applications/luci-ddns
798endif
799ifneq ($(CONFIG_PACKAGE_luci-app-samba),)
800    PKG_SELECTED_MODULES+=applications/luci-samba
801endif
802ifneq ($(CONFIG_PACKAGE_luci-app-uvc_streamer),)
803    PKG_SELECTED_MODULES+=applications/luci-uvc_streamer
804endif
805ifneq ($(CONFIG_PACKAGE_luci-app-mmc_over_gpio),)
806        PKG_SELECTED_MODULES+=applications/luci-mmc_over_gpio
807endif
808ifneq ($(CONFIG_PACKAGE_luci-app-p910nd),)
809        PKG_SELECTED_MODULES+=applications/luci-p910nd
810endif
811ifneq ($(CONFIG_PACKAGE_luci-app-ushare),)
812        PKG_SELECTED_MODULES+=applications/luci-ushare
813endif
814ifneq ($(CONFIG_PACKAGE_luci-app-hd_idle),)
815       PKG_SELECTED_MODULES+=applications/luci-hd_idle
816endif
817ifneq ($(CONFIG_PACKAGE_luci-app-tinyproxy),)
818       PKG_SELECTED_MODULES+=applications/luci-tinyproxy
819endif
820ifneq ($(CONFIG_PACKAGE_luci-app-initmgr),)
821       PKG_SELECTED_MODULES+=applications/luci-initmgr
822endif
823ifneq ($(CONFIG_PACKAGE_luci-app-livestats),)
824       PKG_SELECTED_MODULES+=applications/luci-livestats
825endif
826ifneq ($(CONFIG_PACKAGE_luci-app-asterisk),)
827       PKG_SELECTED_MODULES+=applications/luci-asterisk
828endif
829ifneq ($(CONFIG_PACKAGE_luci-app-polipo),)
830       PKG_SELECTED_MODULES+=applications/luci-polipo
831endif
832
833
834ifneq ($(CONFIG_PACKAGE_luci-sgi-cgi),)
835    PKG_SELECTED_MODULES+=libs/sgi-cgi
836endif
837ifneq ($(CONFIG_PACKAGE_luci-sgi-luci),)
838    PKG_SELECTED_MODULES+=libs/sgi-luci
839endif
840ifneq ($(CONFIG_PACKAGE_luci-sgi-webuci),)
841    PKG_SELECTED_MODULES+=libs/sgi-webuci
842endif
843
844ifneq ($(CONFIG_PACKAGE_luci-theme-base),)
845    PKG_SELECTED_MODULES+=themes/base
846endif
847ifneq ($(CONFIG_PACKAGE_luci-theme-fledermaus),)
848    PKG_SELECTED_MODULES+=themes/fledermaus
849endif
850ifneq ($(CONFIG_PACKAGE_luci-theme-freifunk-bno),)
851    PKG_SELECTED_MODULES+=themes/freifunk-bno
852endif
853ifneq ($(CONFIG_PACKAGE_luci-theme-freifunk),)
854    PKG_SELECTED_MODULES+=themes/freifunk
855endif
856ifneq ($(CONFIG_PACKAGE_luci-theme-openwrt),)
857    PKG_SELECTED_MODULES+=themes/openwrt.org
858endif
859ifneq ($(CONFIG_PACKAGE_luci-theme-openwrtlight),)
860    PKG_SELECTED_MODULES+=themes/openwrt-light
861endif
862
863ifneq ($(CONFIG_PACKAGE_luci-i18n-german),)
864    PKG_SELECTED_MODULES+=i18n/german
865endif
866ifneq ($(CONFIG_PACKAGE_luci-i18n-english),)
867    PKG_SELECTED_MODULES+=i18n/english
868endif
869ifneq ($(CONFIG_PACKAGE_luci-i18n-french),)
870    PKG_SELECTED_MODULES+=i18n/french
871endif
872ifneq ($(CONFIG_PACKAGE_luci-i18n-russian),)
873    PKG_SELECTED_MODULES+=i18n/russian
874endif
875ifneq ($(CONFIG_PACKAGE_luci-i18n-portuguese_brazilian),)
876    PKG_SELECTED_MODULES+=i18n/portuguese_brazilian
877endif
878
879
880MAKE_FLAGS += \
881    MODULES="$(PKG_SELECTED_MODULES)" \
882    LUA_TARGET="$(LUA_TARGET)" \
883    LUA_SHLIBS="-llua -lm" \
884    CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" \
885    LDFLAGS="$(TARGET_LDFLAGS) -L$(STAGING_DIR)/usr/lib" \
886    OS="Linux"
887
888
889$(eval $(call BuildPackage,luci-core))
890$(eval $(call BuildPackage,luci-cbi))
891$(eval $(call BuildPackage,luci-fastindex))
892$(eval $(call BuildPackage,luci-http))
893$(eval $(call BuildPackage,luci-ipkg))
894$(eval $(call BuildPackage,luci-json))
895$(eval $(call BuildPackage,luci-uci))
896$(eval $(call BuildPackage,luci-sys))
897$(eval $(call BuildPackage,luci-web))
898$(eval $(call BuildPackage,luci-uvl))
899
900$(eval $(call BuildPackage,luci-httpd))
901
902$(eval $(call BuildPackage,luci-admin-core))
903$(eval $(call BuildPackage,luci-admin-mini))
904$(eval $(call BuildPackage,luci-admin-full))
905$(eval $(call BuildPackage,luci-admin-rpc))
906$(eval $(call BuildPackage,luci-mod-freifunk))
907
908$(eval $(call BuildPackage,luci-freifunk-community))
909
910$(eval $(call BuildPackage,luci-app-ffwizard-leipzig))
911$(eval $(call BuildPackage,luci-app-siitwizard))
912$(eval $(call BuildPackage,luci-app-firewall))
913$(eval $(call BuildPackage,luci-app-olsr))
914$(eval $(call BuildPackage,luci-app-qos))
915$(eval $(call BuildPackage,luci-app-splash))
916$(eval $(call BuildPackage,luci-app-statistics))
917$(eval $(call BuildPackage,luci-app-upnp))
918$(eval $(call BuildPackage,luci-app-ntpc))
919$(eval $(call BuildPackage,luci-app-ddns))
920$(eval $(call BuildPackage,luci-app-samba))
921$(eval $(call BuildPackage,luci-app-uvc_streamer))
922$(eval $(call BuildPackage,luci-app-mmc_over_gpio))
923$(eval $(call BuildPackage,luci-app-p910nd))
924$(eval $(call BuildPackage,luci-app-ushare))
925$(eval $(call BuildPackage,luci-app-hd_idle))
926$(eval $(call BuildPackage,luci-app-tinyproxy))
927$(eval $(call BuildPackage,luci-app-initmgr))
928$(eval $(call BuildPackage,luci-app-livestats))
929$(eval $(call BuildPackage,luci-app-asterisk))
930$(eval $(call BuildPackage,luci-app-polipo))
931
932$(eval $(call BuildPackage,luci-sgi-cgi))
933$(eval $(call BuildPackage,luci-sgi-luci))
934$(eval $(call BuildPackage,luci-sgi-webuci))
935
936$(eval $(call BuildPackage,luci-theme-base))
937$(eval $(call BuildPackage,luci-theme-fledermaus))
938$(eval $(call BuildPackage,luci-theme-freifunk))
939$(eval $(call BuildPackage,luci-theme-freifunk-bno))
940$(eval $(call BuildPackage,luci-theme-openwrt))
941$(eval $(call BuildPackage,luci-theme-openwrtlight))
942
943$(eval $(call BuildPackage,luci-i18n-german))
944$(eval $(call BuildPackage,luci-i18n-english))
945$(eval $(call BuildPackage,luci-i18n-french))
946$(eval $(call BuildPackage,luci-i18n-russian))
947$(eval $(call BuildPackage,luci-i18n-portuguese_brazilian))
Note: See TracBrowser for help on using the browser.