38916532c78f622c8a3401cd17bb459a4b0a97f1
[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 BUILD_PACKAGES:=
39
40
41 include $(INCLUDE_DIR)/package.mk
42
43 ifeq ($(USELOCAL),1)
44   define Build/Prepare
45         mkdir -p $(PKG_BUILD_DIR)
46         $(TAR) c -C ../../../ . \
47                 --exclude=.pc --exclude=.svn --exclude=.git \
48                 --exclude='boa-0*' --exclude='*.o' --exclude='*.so' \
49                 --exclude=dist | \
50                         tar x -C $(PKG_BUILD_DIR)/
51   endef
52 endif
53
54 define Build/Configure
55 endef
56
57 MAKE_FLAGS += \
58         MODULES="$(PKG_SELECTED_MODULES)" \
59         LUA_TARGET="$(LUA_TARGET)" \
60         LUA_SHLIBS="-llua -lm -ldl -lcrypt" \
61         CFLAGS="$(TARGET_CFLAGS) $(LUCI_CFLAGS) -I$(STAGING_DIR)/usr/include" \
62         LDFLAGS="$(TARGET_LDFLAGS) -L$(STAGING_DIR)/usr/lib" \
63         NIXIO_TLS="$(NIXIO_TLS)" OS="Linux"
64
65
66 ### Templates ###
67 define Package/luci/install/template
68         $(CP) -a $(PKG_BUILD_DIR)/$(2)/dist/* $(1)/ -R
69         $(CP) -a $(PKG_BUILD_DIR)/$(2)/ipkg/* $(1)/CONTROL/ 2>/dev/null || true
70 endef
71
72
73 ### Core package ###
74 define Package/luci-core
75   SECTION:=luci
76   CATEGORY:=LuCI
77   TITLE:=LuCI - Lua Configuration Interface
78   URL:=http://luci.subsignal.org/
79   MAINTAINER:=LuCI Development Team <luci@lists.subsignal.org>
80   SUBMENU:=Libraries
81   DEPENDS:=+lua
82   TITLE:=LuCI core libraries
83 endef
84
85 define Package/luci-core/install
86         $(call Package/luci/install/template,$(1),libs/core)
87         $(PKG_BUILD_DIR)/build/mkversion.sh $(1)/usr/lib/lua/luci/version.lua \
88                 "OpenWrt Firmware" \
89                 "$(OPENWRTVERSION)" \
90                 "$(PKG_BRANCH)" \
91                 "$(PKG_VERSION)"
92 endef
93
94 define Package/luci-core/config
95        choice
96                prompt "Build Target"
97                default PACKAGE_luci-core_source
98
99        config PACKAGE_luci-core_compile
100                bool "Precompiled"
101
102        config PACKAGE_luci-core_stripped
103                bool "Stripped"
104
105        config PACKAGE_luci-core_source
106                bool "Full Source"
107
108        endchoice
109 endef
110
111 ifneq ($(CONFIG_PACKAGE_luci-core_compile),)
112   LUA_TARGET:=compile
113 endif
114
115 ifneq ($(CONFIG_PACKAGE_luci-core_stripped),)
116   LUA_TARGET:=strip
117 endif
118
119 ifneq ($(CONFIG_PACKAGE_luci-core_zipped),)
120   LUA_TARGET:=gzip
121 endif
122
123 ifneq ($(CONFIG_PACKAGE_luci-core),)
124   PKG_SELECTED_MODULES+=libs/core
125 endif
126
127 BUILD_PACKAGES += luci-core
128
129
130 ### Libraries ###
131 define library
132   define Package/luci-$(1)
133     SECTION:=luci
134     CATEGORY:=LuCI
135     TITLE:=LuCI - Lua Configuration Interface
136     URL:=http://luci.subsignal.org/
137     MAINTAINER:=LuCI Development Team <luci@lists.subsignal.org>
138     SUBMENU:=Libraries
139     TITLE:=$(if $(2),$(2),LuCI $(1) library)
140     $(if $(3),DEPENDS:=+luci-core $(3))
141   endef
142
143   define Package/luci-$(1)/install
144         $(call Package/luci/install/template,$$(1),libs/$(1))
145         $(call Package/luci-$(1)/extra-install)
146   endef
147
148   ifneq ($(CONFIG_PACKAGE_luci-$(1)),)
149     PKG_SELECTED_MODULES+=libs/$(1)
150   endif
151
152   BUILD_PACKAGES += luci-$(1)
153 endef
154
155 define Package/luci-lucid/extra-install
156         $(call Package/luci/install/template,$(1),libs/lucid-http)
157 endef
158
159 define Package/luci-web/conffiles
160 /etc/config/luci
161 endef
162
163 define Package/luci-nixio/config
164         choice
165                 prompt "TLS Provider"
166                 default PACKAGE_luci-nixio_notls
167
168                 config PACKAGE_luci-nixio_notls
169                         bool "Disabled"
170
171                 config PACKAGE_luci-nixio_axtls
172                         bool "Builtin (axTLS)"
173
174                 config PACKAGE_luci-nixio_cyassl
175                         bool "CyaSSL"
176                         select PACKAGE_libcyassl
177
178                 config PACKAGE_luci-nixio_openssl
179                         bool "OpenSSL"
180                         select PACKAGE_libopenssl
181         endchoice
182 endef
183
184
185 NIXIO_TLS:=
186
187 ifneq ($(CONFIG_PACKAGE_luci-nixio_axtls),)
188   NIXIO_TLS:=axtls
189 endif
190
191 ifneq ($(CONFIG_PACKAGE_luci-nixio_openssl),)
192   NIXIO_TLS:=openssl
193 endif
194
195 ifneq ($(CONFIG_PACKAGE_luci-nixio_cyassl),)
196   NIXIO_TLS:=cyassl
197   LUCI_CFLAGS+=-I$(STAGING_DIR)/usr/include/cyassl
198 endif
199
200
201 $(eval $(call library,fastindex,Fastindex indexing module))
202 $(eval $(call library,httpclient,HTTP(S) client library,+luci-web +luci-nixio))
203 $(eval $(call library,ipkg,LuCI IPKG/OPKG call abstraction library))
204 $(eval $(call library,json,LuCI JSON library))
205 $(eval $(call library,lmo,LuCI LMO I18N library))
206 $(eval $(call library,luanet,LuCI luanet library,+libiw))
207 $(eval $(call library,lucid,LuCId Full-Stack Webserver,+luci-nixio +luci-web +luci-px5g))
208 $(eval $(call library,nixio,NIXIO POSIX library,+PACKAGE_luci-nixio_openssl:libopenssl +PACKAGE_luci-nixio_cyassl:libcyassl))
209 $(eval $(call library,px5g,RSA/X.509 Key Generator (required for LuCId SSL support),+luci-nixio))
210 $(eval $(call library,sys,LuCI Linux/POSIX system library,+libiwinfo))
211 $(eval $(call library,web,MVC Webframework,+luci-sys +luci-nixio +luci-core +luci-sgi-cgi +luci-lmo))
212 $(eval $(call library,uvl,UVL - UCI Validation Layer,+luci-sys +luci-core))
213
214
215 ### Community Packages ###
216 define Package/luci-mod-freifunk-community
217   SECTION:=luci
218   CATEGORY:=LuCI
219   TITLE:=LuCI - Lua Configuration Interface
220   URL:=http://luci.subsignal.org/
221   MAINTAINER:=LuCI Development Team <luci@lists.subsignal.org>
222   SUBMENU:=Freifunk
223   TITLE:=Freifunk Community Meta-Package
224   DEPENDS+= \
225    +luci-web +luci-app-splash \
226    +luci-app-ffwizard-leipzig \
227    +luci-i18n-german \
228    +PACKAGE_luci-mod-freifunk-community:olsrd-luci +PACKAGE_luci-mod-freifunk-community:olsrd-luci-mod-dyn-gw-plain \
229    +PACKAGE_luci-mod-freifunk-community:olsrd-luci-mod-txtinfo +PACKAGE_luci-mod-freifunk-community:olsrd-luci-mod-nameservice \
230    +PACKAGE_luci-mod-freifunk-community:olsrd-luci-mod-watchdog +PACKAGE_luci-mod-freifunk-community:kmod-tun \
231    +PACKAGE_luci-mod-freifunk-community:ip +PACKAGE_luci-mod-freifunk-community:freifunk-watchdog +luci-app-olsr
232 endef
233
234 define Package/luci-mod-freifunk-community/install
235         $(call Package/luci/install/template,$(1),applications/freifunk-community)
236 endef
237
238 ifneq ($(CONFIG_PACKAGE_luci-mod-freifunk-community),)
239         PKG_SELECTED_MODULES+=applications/freifunk-community
240 endif
241
242 BUILD_PACKAGES += luci-mod-freifunk-community
243
244
245 ### Modules ###
246 define module
247   define Package/luci-mod-$(1)
248     SECTION:=luci
249     CATEGORY:=LuCI
250     TITLE:=LuCI - Lua Configuration Interface
251     URL:=http://luci.subsignal.org/
252     MAINTAINER:=LuCI Development Team <luci@lists.subsignal.org>
253     SUBMENU:=Modules
254     TITLE:=$(if $(2),$(2),LuCI $(1) module)
255     $(if $(3),DEPENDS+=$(3))
256   endef
257
258   define Package/luci-mod-$(1)/install
259         $(call Package/luci/install/template,$$(1),modules/$(1))
260         $(call Package/luci-mod-$(1)/extra-install)
261   endef
262
263   ifneq ($(CONFIG_PACKAGE_luci-mod-$(1)),)
264     PKG_SELECTED_MODULES+=modules/$(1)
265   endif
266
267   BUILD_PACKAGES += luci-mod-$(1)
268 endef
269
270
271 define Package/luci-mod-admin-core/extra-install
272         touch $(1)/etc/init.d/luci_fixtime || true
273 endef
274
275 define Package/luci-mod-freifunk/conffiles
276 /etc/config/freifunk
277 endef
278
279 $(eval $(call module,admin-core,Web UI Core module,+luci-web +luci-i18n-english))
280 $(eval $(call module,admin-mini,LuCI Essentials - stripped down and user-friendly,+luci-mod-admin-core))
281 $(eval $(call module,admin-full,LuCI Administration - full-featured for full control,+luci-mod-admin-core +luci-ipkg))
282 $(eval $(call module,rpc,LuCI RPC - JSON-RPC API,+luci-json))
283 $(eval $(call module,freifunk,LuCI Freifunk module,+luci-mod-admin-full +luci-json +PACKAGE_luci-mod-freifunk:freifunk-firewall))
284 $(eval $(call module,niu,NIU - Next Generation Interface,+luci-mod-admin-core @BROKEN))
285
286
287 ### Applications ###
288 define application
289   define Package/luci-app-$(1)
290     SECTION:=luci
291     CATEGORY:=LuCI
292     TITLE:=LuCI - Lua Configuration Interface
293     URL:=http://luci.subsignal.org/
294     MAINTAINER:=LuCI Development Team <luci@lists.subsignal.org>
295     SUBMENU:=Applications
296     TITLE:=$(if $(2),$(2),LuCI $(1) application)
297         DEPENDS:=+luci-mod-admin-core $(3)
298   endef
299
300   define Package/luci-app-$(1)/install
301         $(call Package/luci/install/template,$$(1),applications/luci-$(1))
302   endef
303
304   ifneq ($(CONFIG_PACKAGE_luci-app-$(1)),)
305     PKG_SELECTED_MODULES+=applications/luci-$(1)
306   endif
307
308   BUILD_PACKAGES += luci-app-$(1)
309 endef
310
311 define Package/luci-app-splash/conffiles
312 /etc/config/luci_splash
313 endef
314
315 define Package/luci-app-statistics/conffiles
316 /etc/config/luci_statistics
317 endef
318
319 define Package/luci-app-diag-devinfo/conffiles
320 /etc/config/luci_devinfo
321 endef
322
323
324 $(eval $(call application,ffwizard-leipzig,Freifunk Leipzig configuration wizard))
325
326 $(eval $(call application,siitwizard,SIIT IPv4-over-IPv6 configuration wizard,\
327         +PACKAGE_luci-app-siitwizard:kmod-siit))
328
329 $(eval $(call application,firewall,Firmware and Portforwarding application,\
330         +PACKAGE_luci-app-firewall:firewall))
331
332 $(eval $(call application,olsr,OLSR configuration and status module,\
333         +luci-mod-admin-full +PACKAGE_luci-app-olsr:olsrd-luci +PACKAGE_luci-app-olsr:olsrd-luci-mod-txtinfo))
334
335 $(eval $(call application,qos,Quality of Service configuration module,\
336         +PACKAGE_luci-app-qos:qos-scripts))
337
338 $(eval $(call application,splash,Freifunk DHCP-Splash application,\
339         +PACKAGE_luci-app-splash:luci-nixio +PACKAGE_luci-app-splash:tc \
340         +PACKAGE_luci-app-splash:kmod-sched +PACKAGE_luci-app-splash:iptables-mod-nat-extra \
341         +PACKAGE_luci-app-splash:iptables-mod-ipopt))
342
343 $(eval $(call application,statistics,LuCI Statistics Application,\
344         +luci-mod-admin-full +PACKAGE_luci-app-statistics:collectd \
345         +PACKAGE_luci-app-statistics:rrdtool1 \
346         +PACKAGE_luci-app-statistics:collectd-mod-rrdtool \
347         +PACKAGE_luci-app-statistics:collectd-mod-wireless \
348         +PACKAGE_luci-app-statistics:collectd-mod-interface \
349         +PACKAGE_luci-app-statistics:collectd-mod-load))
350
351
352 $(eval $(call application,diag-core,LuCI Diagnostics Tools (Core)))
353
354 $(eval $(call application,diag-devinfo,LuCI Diagnostics Tools (Device Info),\
355         +luci-app-diag-core \
356         +PACKAGE_luci-app-diag-devinfo:smap \
357         +PACKAGE_luci-app-diag-devinfo:netdiscover \
358         +PACKAGE_luci-app-diag-devinfo:mac-to-devinfo \
359         +PACKAGE_luci-app-diag-devinfo:httping \
360         +PACKAGE_luci-app-diag-devinfo:smap-to-devinfo \
361         +PACKAGE_luci-app-diag-devinfo:netdiscover-to-devinfo))
362
363 $(eval $(call application,voice-core,LuCI Voice Software (Core)))
364
365 $(eval $(call application,voide-diag,LuCI Voice Software (Diagnostics),\
366         +luci-app-voice-core +luci-app-diag-devinfo))
367
368
369 $(eval $(call application,upnp,Universal Plug & Play configuration module,\
370         +PACKAGE_luci-app-upnp:miniupnpd))
371
372 $(eval $(call application,ntpc,NTP time synchronisation configuration module,\
373         +PACKAGE_luci-app-ntpc:ntpclient))
374
375 $(eval $(call application,ddns,Dynamic DNS configuration module,\
376         +PACKAGE_luci-app-ddns:ddns-scripts))
377
378 $(eval $(call application,samba,Network Shares - Samba SMB/CIFS module,\
379         +luci-mod-admin-full +PACKAGE_luci-app-samba:samba3))
380
381 $(eval $(call application,mmc-over-gpio,MMC-over-GPIO configuration module,\
382         +luci-mod-admin-full +PACKAGE_luci-app-mmc-over-gpio:kmod-mmc-over-gpio))
383
384 $(eval $(call application,p910nd,p910nd - Printer server module,\
385         +luci-mod-admin-full +PACKAGE_luci-app-p910nd:p910nd))
386
387 $(eval $(call application,ushare,uShare - UPnP A/V & DLNA Media Server,\
388         +luci-mod-admin-full +PACKAGE_luci-app-ushare:ushare))
389
390 $(eval $(call application,hd-idle,Hard Disk Idle Spin-Down module,\
391         +luci-mod-admin-full +PACKAGE_luci-app-hd-idle:hd-idle))
392
393 $(eval $(call application,tinyproxy,Tinyproxy - HTTP(S)-Proxy configuration,\
394         +luci-mod-admin-full +PACKAGE_luci-app-tinyproxy:tinyproxy))
395
396 $(eval $(call application,initmgr,LuCI Initscript Management,\
397         +luci-mod-admin-full))
398
399 $(eval $(call application,livestats,LuCI Realtime Statistics,\
400         +luci-mod-rpc))
401
402 $(eval $(call application,asterisk,LuCI Support for Asterisk PBX,\
403         @BROKEN +PACKAGE_luci-app-asterisk:asterisk14-xip-core))
404
405 $(eval $(call application,polipo,LuCI Support for the Polipo Proxy,\
406         +PACKAGE_luci-app-polipo:polipo))
407
408 $(eval $(call application,openvpn,LuCI Support for OpenVPN,\
409         +PACKAGE_luci-app-openvpn:openvpn))
410
411 $(eval $(call application,p2pblock,LuCI Support for the Freifunk P2P-Block addon,\
412         +luci-app-firewall +PACKAGE_luci-app-p2pblock:freifunk-p2pblock))
413
414 $(eval $(call application,multiwan,LuCI Support for the OpenWrt MultiWAN agent,\
415         +luci-app-firewall +PACKAGE_luci-app-multiwan:multiwan))
416
417 $(eval $(call application,wol,LuCI Support for Wake-on-LAN,\
418         +PACKAGE_luci-app-wol:etherwake))
419
420 $(eval $(call application,vnstat,LuCI Support for VnStat,\
421         +PACKAGE_luci-app-vnstat:vnstat \
422     +PACKAGE_luci-app-vnstat:vnstati))
423
424
425 ### Server Gateway Interfaces ###
426 define sgi
427   define Package/luci-sgi-$(1)
428     SECTION:=luci
429     CATEGORY:=LuCI
430     TITLE:=LuCI - Lua Configuration Interface
431     URL:=http://luci.subsignal.org/
432     MAINTAINER:=LuCI Development Team <luci@lists.subsignal.org>
433     SUBMENU:=Server Interfaces
434     TITLE:=$(if $(2),$(2),LuCI $(1) server gateway interface)
435         $(if $(3),DEPENDS:=$(3))
436   endef
437
438   define Package/luci-sgi-$(1)/install
439         $(call Package/luci/install/template,$$(1),libs/sgi-$(1))
440   endef
441
442   ifneq ($(CONFIG_PACKAGE_luci-sgi-$(1)),)
443     PKG_SELECTED_MODULES+=libs/sgi-$(1)
444   endif
445
446   BUILD_PACKAGES += luci-sgi-$(1)
447 endef
448
449 $(eval $(call sgi,cgi,CGI Gateway behind existing Webserver))
450 $(eval $(call sgi,uhttpd,Binding for the uHTTPd server,+uhttpd +uhttpd-mod-lua))
451
452
453 ### Themes ###
454 define theme
455   define Package/luci-theme-$(1)
456     SECTION:=luci
457     CATEGORY:=LuCI
458     TITLE:=LuCI - Lua Configuration Interface
459     URL:=http://luci.subsignal.org/
460     SUBMENU:=Themes
461     TITLE:=$(if $(2),$(2),LuCI $(1) theme)
462         MAINTAINER:=$(if $(3),$(3),LuCI Development Team <luci@lists.subsignal.org>)
463         DEPENDS:=$(ifneq $(1),base,+luci-theme-base) $(4)
464         $(if $(5),DEFAULT:=y if PACKAGE_luci-core)
465   endef
466
467   define Package/luci-theme-$(1)/install
468         $(call Package/luci/install/template,$$(1),themes/$(1))
469   endef
470
471   ifneq ($(CONFIG_PACKAGE_luci-theme-$(1)),)
472     PKG_SELECTED_MODULES+=themes/$(1)
473   endif
474
475   BUILD_PACKAGES += luci-theme-$(1)
476 endef
477
478 $(eval $(call theme,base,Common base for all themes,,+luci-web))
479 $(eval $(call theme,openwrt,OpenWrt.org (default),,,1))
480 $(eval $(call theme,openwrtlight,OpenWrt.org - light variant without images))
481 $(eval $(call theme,fledermaus,Fledermaus Theme))
482
483 $(eval $(call theme,freifunk,alternative Freifunk Theme,\
484         Stefan Pirwitz <stefan-at-freifunk-bno-dot-de>))
485
486 $(eval $(call theme,freifunk-bno,Freifunk Berlin Nordost Theme,\
487         Stefan Pirwitz <stefan-at-freifunk-bno-dot-de>))
488
489 $(eval $(call theme,freifunk-hannover,Freifunk Hannover Theme,\
490         Mikolas Bingemer <mickey-at-freifunk-hannover-dot-de>))
491
492
493 ### Translations ###
494 define translation
495   define Package/luci-i18n-$(1)
496     SECTION:=luci
497     CATEGORY:=LuCI
498     TITLE:=LuCI - Lua Configuration Interface
499     URL:=http://luci.subsignal.org/
500     MAINTAINER:=LuCI Development Team <luci@lists.subsignal.org>
501     SUBMENU:=Translations
502     TITLE:=$(if $(2),$(2),$(1))
503   endef
504
505   define Package/luci-i18n-$(1)/install
506         $(call Package/luci/install/template,$$(1),i18n/$(1))
507   endef
508
509   ifneq ($(CONFIG_PACKAGE_luci-i18n-$(1)),)
510     PKG_SELECTED_MODULES+=i18n/$(1)
511   endif
512
513   BUILD_PACKAGES += luci-i18n-$(1)
514 endef
515
516 $(eval $(call translation,german,German))
517 $(eval $(call translation,english,English))
518 $(eval $(call translation,french,French (by Florian Fainelli)))
519 $(eval $(call translation,italian,Italian (by Matteo Croce)))
520 $(eval $(call translation,russian,Russian (by Skryabin Dmitry)))
521 $(eval $(call translation,portuguese_brazilian,Portuguese (Brazilian) (by Carlos Cesario)))
522 $(eval $(call translation,japanese,Japanese (by Tsukasa Hamano)))
523 $(eval $(call translation,greek,Greek (by Vasilis Tsiligiannis)))
524 $(eval $(call translation,catalan,Catalan (by Eduard Duran)))
525 $(eval $(call translation,portuguese,Portuguese (by Jose Monteiro)))
526 $(eval $(call translation,spanish,Spanish (by Guillermo Javier Nardoni)))
527 $(eval $(call translation,vietnamese,Vietnamese (by Hong Phuc Dang)))
528 $(eval $(call translation,malay,Malay (by Teow Wai Chet)))
529 $(eval $(call translation,norwegian,Norwegian (by Lars Hardy)))
530
531
532 ### Collections ###
533 define collection
534   define Package/luci$(if $(1),-$(1))
535     SECTION:=luci
536     CATEGORY:=LuCI
537     TITLE:=LuCI - Lua Configuration Interface
538     URL:=http://luci.subsignal.org/
539     MAINTAINER:=LuCI Development Team <luci@lists.subsignal.org>
540     SUBMENU:=Collections
541     TITLE:=$(if $(2),$(2),LuCI $(if $(1),$(1),general) collection)
542     $(if $(3),DEPENDS:=$(3))
543   endef
544
545   define Package/luci$(if $(1),-$(1))/install
546         true
547   endef
548
549   BUILD_PACKAGES += luci$(if $(1),-$(1))
550 endef
551
552 $(eval $(call collection,,\
553         Standard OpenWrt set including full and mini admin and the standard theme,\
554         +uhttpd +luci-mod-admin-full +luci-mod-admin-mini +luci-theme-openwrt \
555     +luci-app-firewall +luci-app-initmgr))
556
557 $(eval $(call collection,ssl,\
558         Standard OpenWrt set with HTTPS support,\
559         +uhttpd +uhttpd-mod-tls +px5g +luci-mod-admin-full +luci-mod-admin-mini \
560     +luci-theme-openwrt +luci-app-firewall +luci-app-initmgr))
561
562 $(eval $(call collection,medium,\
563         Medium package set using only admin full and a theme without graphics,\
564         +uhttpd +luci-mod-admin-full +luci-theme-openwrtlight))
565
566 $(eval $(call collection,light,\
567         Minimum package set using only admin mini and a theme without graphics,\
568         +uhttpd +luci-mod-admin-mini +luci-theme-openwrtlight))
569
570
571 ### Compile ###
572 PKG_CONFIG_DEPENDS := $(patsubst %,CONFIG_PACKAGE_%,$(BUILD_PACKAGES))
573 $(foreach b,$(BUILD_PACKAGES),$(eval $(call BuildPackage,$(b))))