1 include $(TOPDIR)/rules.mk
3 PKG_BRANCH:=branches/luci-0.9
6 USELOCAL:=$(shell grep luci ../../../.project 2>/dev/null >/dev/null && echo 1)
15 PKG_SOURCE_URL:=http://svn.luci.subsignal.org/luci/$(PKG_BRANCH)
17 PKG_REV:=$(shell LC_ALL=C svn info $(CURDIR) | sed -ne 's/^Revision: //p')
18 PKG_VERSION:=0.9+svn$(PKG_REV)
20 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
21 PKG_SOURCE:=$(PKG_SOURCE_SUBDIR).tar.gz
23 PKG_SOURCE_VERSION:=$(PKG_REV)
26 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
27 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
31 PKG_SELECTED_MODULES:=
34 include $(INCLUDE_DIR)/package.mk
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' \
43 tar x -C $(PKG_BUILD_DIR)/
47 define Build/Configure
52 define Package/luci/libtemplate
55 TITLE:=LuCI - Lua Configuration Interface
56 URL:=http://luci.freifunk-halle.net/
57 MAINTAINER:=Steven Barth <steven-at-midlink-dot-org>
62 define Package/luci/fftemplate
63 $(call Package/luci/libtemplate)
65 DEPENDS:=+luci-mod-freifunk
68 define Package/luci/i18ntemplate
69 $(call Package/luci/libtemplate)
74 define Package/luci/thtemplate
75 $(call Package/luci/libtemplate)
80 define Package/luci/webtemplate
81 $(call Package/luci/libtemplate)
86 define Package/luci/install/template
87 $(CP) -a $(PKG_BUILD_DIR)/$(2)/dist/* $(1)/ -R
88 $(CP) -a $(PKG_BUILD_DIR)/$(2)/ipkg/* $(1)/CONTROL/ 2>/dev/null || true
95 define Package/luci-core
96 $(call Package/luci/libtemplate)
97 DEPENDS:=+lua +luci-nixio
98 TITLE:=LuCI core libraries
101 define Package/luci-core/install
102 $(call Package/luci/install/template,$(1),libs/core)
103 $(PKG_BUILD_DIR)/build/mkversion.sh $(1)/usr/lib/lua/luci/version.lua \
105 "$(OPENWRTVERSION)" \
110 define Package/luci-core/config
112 prompt "Build Target"
113 default PACKAGE_luci-core_source
115 config PACKAGE_luci-core_compile
118 config PACKAGE_luci-core_stripped
121 config PACKAGE_luci-core_source
127 ifneq ($(CONFIG_PACKAGE_luci-core_compile),)
131 ifneq ($(CONFIG_PACKAGE_luci-core_stripped),)
135 ifneq ($(CONFIG_PACKAGE_luci-core_zipped),)
141 define Package/luci-cbi
142 $(call Package/luci/libtemplate)
143 DEPENDS+=+luci-web +luci-uvl +luci-uci
144 TITLE:=Configuration Binding Interface
147 define Package/luci-cbi/install
148 $(call Package/luci/install/template,$(1),libs/cbi)
152 define Package/luci-uci
153 $(call Package/luci/libtemplate)
155 TITLE:=High-Level UCI API
158 define Package/luci-uci/install
159 $(call Package/luci/install/template,$(1),libs/uci)
163 define Package/luci-fastindex
164 $(call Package/luci/libtemplate)
165 TITLE:=Fastindex indexing module
168 define Package/luci-fastindex/install
169 $(call Package/luci/install/template,$(1),libs/fastindex)
173 define Package/luci-http
174 $(call Package/luci/libtemplate)
175 TITLE:=HTTP Protocol implementation
178 define Package/luci-http/install
179 $(call Package/luci/install/template,$(1),libs/http)
183 define Package/luci-httpclient
184 $(call Package/luci/libtemplate)
185 TITLE:=HTTP(S) client library
186 DEPENDS+=+luci-http +luci-nixio
189 define Package/luci-httpclient/install
190 $(call Package/luci/install/template,$(1),libs/httpclient)
194 define Package/luci-ipkg
195 $(call Package/luci/libtemplate)
196 TITLE:=LuCI IPKG/OPKG call abstraction library
199 define Package/luci-ipkg/install
200 $(call Package/luci/install/template,$(1),libs/ipkg)
204 define Package/luci-json
205 $(call Package/luci/libtemplate)
206 TITLE:=LuCI JSON Library
209 define Package/luci-json/install
210 $(call Package/luci/install/template,$(1),libs/json)
214 define Package/luci-lmo
215 $(call Package/luci/libtemplate)
219 define Package/luci-lmo/install
220 $(call Package/luci/install/template,$(1),libs/lmo)
224 define Package/luci-luanet
225 $(call Package/luci/libtemplate)
230 define Package/luci-luanet/install
231 $(call Package/luci/install/template,$(1),libs/luanet)
235 define Package/luci-lucid
236 $(call Package/luci/libtemplate)
237 TITLE:=LuCId Superserver
238 DEPENDS+=+luci-nixio +luci-http +luci-px5g
241 define Package/luci-lucid/install
242 $(call Package/luci/install/template,$(1),libs/lucid)
243 $(call Package/luci/install/template,$(1),libs/lucid-http)
250 define Package/luci-nixio
251 $(call Package/luci/libtemplate)
252 TITLE:=NIXIO POSIX Library
253 DEPENDS:=+PACKAGE_luci-nixio_openssl:libopenssl +PACKAGE_luci-nixio_cyassl:libcyassl-luci
256 define Package/luci-nixio/install
257 $(call Package/luci/install/template,$(1),libs/nixio)
260 define Package/luci-nixio/config
262 prompt "TLS Provider"
263 default PACKAGE_luci-nixio_axtls
265 config PACKAGE_luci-nixio_axtls
266 bool "Builtin (axTLS)"
268 config PACKAGE_luci-nixio_cyassl
270 select PACKAGE_libcyassl-luci
272 config PACKAGE_luci-nixio_openssl
274 select PACKAGE_libopenssl
278 ifneq ($(CONFIG_PACKAGE_luci-nixio_openssl),)
282 ifneq ($(CONFIG_PACKAGE_luci-nixio_cyassl),)
284 LUCI_CFLAGS+=-I$(STAGING_DIR)/usr/include/cyassl
288 define Package/luci-px5g
289 $(call Package/luci/libtemplate)
290 TITLE:=PX5G RSA Keymaster
294 define Package/luci-px5g/install
295 $(call Package/luci/install/template,$(1),libs/px5g)
299 define Package/luci-sys
300 $(call Package/luci/libtemplate)
301 TITLE:=LuCI Linux/POSIX system library
304 define Package/luci-sys/install
305 $(call Package/luci/install/template,$(1),libs/sys)
309 define Package/luci-web
310 $(call Package/luci/libtemplate)
311 DEPENDS+=+luci-http +luci-sys +luci-uci +luci-lucid +luci-sgi-cgi +luci-lmo
312 TITLE:=MVC Webframework
313 $(call Config,luci.main.lang,string,en,Default Language)
316 define Package/luci-web/conffiles
320 define Package/luci-web/install
321 $(call Package/luci/install/template,$(1),libs/web)
325 define Package/luci-uvl
326 $(call Package/luci/libtemplate)
327 DEPENDS+=+luci-sys +luci-uci +luci-core
328 TITLE:=UVL - UCI Validation Layer
331 define Package/luci-uvl/install
332 $(call Package/luci/install/template,$(1),libs/uvl)
337 ### Community Packages ###
339 define Package/luci-freifunk-community
340 $(call Package/luci/fftemplate)
342 +luci-lucid +luci-sgi-cgi +luci-app-splash \
343 +luci-app-ffwizard-leipzig \
345 +PACKAGE_luci-freifunk-community:olsrd-luci +PACKAGE_luci-freifunk-community:olsrd-luci-mod-dyn-gw-plain \
346 +PACKAGE_luci-freifunk-community:olsrd-luci-mod-txtinfo +PACKAGE_luci-freifunk-community:olsrd-luci-mod-nameservice \
347 +PACKAGE_luci-freifunk-community:olsrd-luci-mod-watchdog +PACKAGE_luci-freifunk-community:kmod-tun \
348 +PACKAGE_luci-freifunk-community:ip +PACKAGE_luci-freifunk-community:freifunk-watchdog +luci-app-olsr \
349 +PACKAGE_luci-freifunk-community:remote-update
350 TITLE:=Freifunk Community Meta-Package
353 define Package/luci-freifunk-community/install
354 $(call Package/luci/install/template,$(1),applications/freifunk-community)
359 define Package/luci-admin-core
360 $(call Package/luci/webtemplate)
361 DEPENDS+=+luci-web +luci-cbi +luci-i18n-english
362 TITLE:=Web UI Core Module
365 define Package/luci-admin-core/conffiles
366 /etc/config/luci_hosts
367 /etc/config/luci_ethers
370 define Package/luci-admin-core/install
371 $(call Package/luci/install/template,$(1),modules/admin-core)
372 touch $(1)/etc/init.d/luci_fixtime || true
376 define Package/luci-admin-mini
377 $(call Package/luci/webtemplate)
378 DEPENDS+=+luci-admin-core
379 TITLE:=LuCI Essentials - stripped down and user-friendly
382 define Package/luci-admin-mini/install
383 $(call Package/luci/install/template,$(1),modules/admin-mini)
387 define Package/luci-admin-full
388 $(call Package/luci/webtemplate)
389 DEPENDS+=+luci-admin-core +luci-ipkg
390 TITLE:=LuCI Administration - full-featured for full control
393 define Package/luci-admin-full/install
394 $(call Package/luci/install/template,$(1),modules/admin-full)
398 define Package/luci-admin-rpc
399 $(call Package/luci/webtemplate)
401 TITLE:=LuCI RPC - JSON-RPC API
404 define Package/luci-admin-rpc/install
405 $(call Package/luci/install/template,$(1),modules/rpc)
409 define Package/luci-mod-freifunk
410 $(call Package/luci/fftemplate)
411 DEPENDS:=+luci-admin-full +luci-json +PACKAGE_luci-mod-freifunk:freifunk-firewall
412 TITLE:=LuCI Freifunk module
415 define Package/luci-mod-freifunk/conffiles
419 define Package/luci-mod-freifunk/install
420 $(call Package/luci/install/template,$(1),modules/freifunk)
427 define Package/luci-app-ffwizard-leipzig
428 $(call Package/luci/fftemplate)
429 TITLE:=Freifunk Leipzig configuration wizard
432 define Package/luci-app-ffwizard-leipzig/install
433 $(call Package/luci/install/template,$(1),applications/luci-ffwizard-leipzig)
437 define Package/luci-app-siitwizard
438 $(call Package/luci/fftemplate)
439 TITLE:=SIIT IPv4-over-IPv6 configuration wizard
440 DEPENDS:=+luci-admin-core +PACKAGE_luci-app-siitwizard:kmod-siit
443 define Package/luci-app-siitwizard/install
444 $(call Package/luci/install/template,$(1),applications/luci-siitwizard)
448 define Package/luci-app-firewall
449 $(call Package/luci/webtemplate)
450 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-firewall:firewall
451 TITLE:=Firewall and Portforwarding application
454 define Package/luci-app-firewall/install
455 $(call Package/luci/install/template,$(1),applications/luci-fw)
459 define Package/luci-app-olsr
460 $(call Package/luci/webtemplate)
461 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-olsr:olsrd-luci \
462 +PACKAGE_luci-app-olsr:olsrd-luci-mod-txtinfo
463 TITLE:=OLSR configuration and status module
466 define Package/luci-app-olsr/install
467 $(call Package/luci/install/template,$(1),applications/luci-olsr)
471 define Package/luci-app-qos
472 $(call Package/luci/webtemplate)
473 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-qos:qos-scripts
474 TITLE:=Quality of Service configuration module
477 define Package/luci-app-qos/install
478 $(call Package/luci/install/template,$(1),applications/luci-qos)
482 define Package/luci-app-splash
483 $(call Package/luci/fftemplate)
484 DEPENDS+=+PACKAGE_luci-app-splash:luci-nixio \
485 +PACKAGE_luci-app-splash:tc +PACKAGE_luci-app-splash:kmod-sched \
486 +PACKAGE_luci-app-splash:iptables-mod-nat-extra \
487 +PACKAGE_luci-app-splash:iptables-mod-ipopt
488 TITLE:=Freifunk DHCP-Splash application
491 define Package/luci-app-splash/conffiles
492 /etc/config/luci_splash
495 define Package/luci-app-splash/install
496 $(call Package/luci/install/template,$(1),applications/luci-splash)
500 define Package/luci-app-statistics
501 $(call Package/luci/webtemplate)
502 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-statistics:collectd \
503 +PACKAGE_luci-app-statistics:rrdtool1 \
504 +PACKAGE_luci-app-statistics:collectd-mod-rrdtool1 \
505 +PACKAGE_luci-app-statistics:collectd-mod-wireless \
506 +PACKAGE_luci-app-statistics:collectd-mod-interface \
507 +PACKAGE_luci-app-statistics:collectd-mod-load
508 TITLE:=LuCI Statistics Application
511 define Package/luci-app-statistics/conffiles
512 /etc/config/luci_statistics
515 define Package/luci-app-statistics/install
516 $(call Package/luci/install/template,$(1),applications/luci-statistics)
519 define Package/luci-app-upnp
520 $(call Package/luci/webtemplate)
521 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-upnp:miniupnpd
522 TITLE:=Universal Plug & Play configuration module
525 define Package/luci-app-upnp/install
526 $(call Package/luci/install/template,$(1),applications/luci-upnp)
530 define Package/luci-app-ntpc
531 $(call Package/luci/webtemplate)
532 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-ntpc:ntpclient
533 TITLE:=NTP time synchronisation client configuration module
536 define Package/luci-app-ntpc/install
537 $(call Package/luci/install/template,$(1),applications/luci-ntpc)
541 define Package/luci-app-ddns
542 $(call Package/luci/webtemplate)
543 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-ddns:ddns-scripts
544 TITLE:=Dynamic DNS configuration module
547 define Package/luci-app-ddns/install
548 $(call Package/luci/install/template,$(1),applications/luci-ddns)
552 define Package/luci-app-samba
553 $(call Package/luci/webtemplate)
554 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-samba:samba3
555 TITLE:=Network Shares - Samba SMB/CIFS module
558 define Package/luci-app-samba/install
559 $(call Package/luci/install/template,$(1),applications/luci-samba)
563 define Package/luci-app-uvc_streamer
564 $(call Package/luci/webtemplate)
565 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-uvc_streamer:uvc-streamer
566 TITLE:=Webcam Streaming - UVC-Streamer module
569 define Package/luci-app-uvc_streamer/install
570 $(call Package/luci/install/template,$(1),applications/luci-uvc_streamer)
574 define Package/luci-app-mmc_over_gpio
575 $(call Package/luci/webtemplate)
576 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-mmc_over_gpio:kmod-mmc-over-gpio
580 define Package/luci-app-mmc_over_gpio/install
581 $(call Package/luci/install/template,$(1),applications/luci-mmc_over_gpio)
585 define Package/luci-app-p910nd
586 $(call Package/luci/webtemplate)
587 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-p910nd:p910nd
588 TITLE:=p910nd - Printer server module
591 define Package/luci-app-p910nd/install
592 $(call Package/luci/install/template,$(1),applications/luci-p910nd)
596 define Package/luci-app-ushare
597 $(call Package/luci/webtemplate)
598 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-ushare:ushare
599 TITLE:=ushare - UPnP A/V & DLNA Media Server
602 define Package/luci-app-ushare/install
603 $(call Package/luci/install/template,$(1),applications/luci-ushare)
606 define Package/luci-app-hd_idle
607 $(call Package/luci/webtemplate)
608 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-hd_idle:hd-idle
612 define Package/luci-app-hd_idle/install
613 $(call Package/luci/install/template,$(1),applications/luci-hd_idle)
616 define Package/luci-app-tinyproxy
617 $(call Package/luci/webtemplate)
618 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-tinyproxy:tinyproxy
619 TITLE:=Tinyproxy - HTTP(S)-Proxy
622 define Package/luci-app-tinyproxy/install
623 $(call Package/luci/install/template,$(1),applications/luci-tinyproxy)
626 define Package/luci-app-initmgr
627 $(call Package/luci/webtemplate)
628 DEPENDS+=+luci-admin-full
629 TITLE:=LuCI Initscript Management
632 define Package/luci-app-initmgr/install
633 $(call Package/luci/install/template,$(1),applications/luci-initmgr)
636 define Package/luci-app-livestats
637 $(call Package/luci/webtemplate)
638 DEPENDS+=+luci-admin-core +luci-admin-rpc
639 TITLE:=LuCI Realtime Statistics
642 define Package/luci-app-livestats/install
643 $(call Package/luci/install/template,$(1),applications/luci-livestats)
646 define Package/luci-app-polipo
647 $(call Package/luci/webtemplate)
648 TITLE:=LuCI Support for the Polipo Proxy
649 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-polipo:polipo
652 define Package/luci-app-polipo/install
653 $(call Package/luci/install/template,$(1),applications/luci-polipo)
656 define Package/luci-app-openvpn
657 $(call Package/luci/webtemplate)
658 TITLE:=LuCI Support for OpenVPN
659 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-openvpn:openvpn
662 define Package/luci-app-openvpn/install
663 $(call Package/luci/install/template,$(1),applications/luci-openvpn)
666 define Package/luci-app-p2pblock
667 $(call Package/luci/webtemplate)
668 TITLE:=LuCI Support for the Freifunk P2P-Block addon
669 DEPENDS+=+luci-admin-core +luci-app-firewall \
670 +PACKAGE_luci-app-p2pblock:freifunk-p2pblock
673 define Package/luci-app-p2pblock/install
674 $(call Package/luci/install/template,$(1),applications/luci-p2pblock)
678 ### Server Gateway Interfaces ###
680 define Package/luci-sgi-cgi
681 $(call Package/luci/libtemplate)
685 define Package/luci-sgi-cgi/install
686 $(call Package/luci/install/template,$(1),libs/sgi-cgi)
690 define Package/luci-theme-base
691 $(call Package/luci/thtemplate)
693 TITLE:=Common base for all themes
696 define Package/luci-theme-base/install
697 $(call Package/luci/install/template,$(1),themes/base)
700 define Package/luci-theme-fledermaus
701 $(call Package/luci/fftemplate)
703 TITLE:=Fledermaus Theme
706 define Package/luci-theme-fledermaus/install
707 $(call Package/luci/install/template,$(1),themes/fledermaus)
710 define Package/luci-theme-freifunk
711 $(call Package/luci/fftemplate)
713 MAINTAINER:=Stefan Pirwitz <stefan-at-freifunk-bno-dot-de>
714 TITLE:=alternative Freifunk Theme
717 define Package/luci-theme-freifunk/install
718 $(call Package/luci/install/template,$(1),themes/freifunk)
721 define Package/luci-theme-freifunk-bno
722 $(call Package/luci/fftemplate)
724 MAINTAINER:=Stefan Pirwitz <stefan-at-freifunk-bno-dot-de>
725 TITLE:=Freifunk Berlin Nordost Theme
728 define Package/luci-theme-freifunk-bno/install
729 $(call Package/luci/install/template,$(1),themes/freifunk-bno)
732 define Package/luci-theme-freifunk-hannover
733 $(call Package/luci/fftemplate)
735 MAINTAINER:=Mikolas Bingemer <mickey-at-freifunk-hannover-dot-de>
736 TITLE:=Freifunk Hannover Theme
739 define Package/luci-theme-freifunk-hannover/install
740 $(call Package/luci/install/template,$(1),themes/freifunk-hannover)
743 define Package/luci-theme-openwrt
744 $(call Package/luci/thtemplate)
745 TITLE:=OpenWrt.org (default)
746 DEPENDS:=+luci-theme-base luci-core
747 DEFAULT:=y if PACKAGE_luci-core
750 define Package/luci-theme-openwrt/install
751 $(call Package/luci/install/template,$(1),themes/openwrt.org)
754 define Package/luci-theme-openwrtlight
755 $(call Package/luci/thtemplate)
756 TITLE:=OpenWrt.org - light variant without images
757 DEPENDS:=+luci-theme-base
760 define Package/luci-theme-openwrtlight/install
761 $(call Package/luci/install/template,$(1),themes/openwrt-light)
766 define Package/luci-i18n-german
767 $(call Package/luci/i18ntemplate)
771 define Package/luci-i18n-german/install
772 $(call Package/luci/install/template,$(1),i18n/german)
776 define Package/luci-i18n-english
777 $(call Package/luci/i18ntemplate)
781 define Package/luci-i18n-english/install
782 $(call Package/luci/install/template,$(1),i18n/english)
786 define Package/luci-i18n-french
787 $(call Package/luci/i18ntemplate)
788 TITLE:=French (by Florian Fainelli)
791 define Package/luci-i18n-french/install
792 $(call Package/luci/install/template,$(1),i18n/french)
796 define Package/luci-i18n-italian
797 $(call Package/luci/i18ntemplate)
798 TITLE:=Italian (by Matteo Croce)
801 define Package/luci-i18n-italian/install
802 $(call Package/luci/install/template,$(1),i18n/italian)
806 define Package/luci-i18n-russian
807 $(call Package/luci/i18ntemplate)
808 TITLE:=Russian (by Skryabin Dmitry)
811 define Package/luci-i18n-russian/install
812 $(call Package/luci/install/template,$(1),i18n/russian)
816 define Package/luci-i18n-portuguese_brazilian
817 $(call Package/luci/i18ntemplate)
818 TITLE:=Portuguese (Brazilian) (by Carlos Cesario)
821 define Package/luci-i18n-portuguese_brazilian/install
822 $(call Package/luci/install/template,$(1),i18n/portuguese_brazilian)
826 define Package/luci-i18n-japanese
827 $(call Package/luci/i18ntemplate)
828 TITLE:=Japanese (by Tsukasa Hamano)
831 define Package/luci-i18n-japanese/install
832 $(call Package/luci/install/template,$(1),i18n/japanese)
836 define Package/luci-i18n-greek
837 $(call Package/luci/i18ntemplate)
838 TITLE:=Greek (by Vasilis Tsiligiannis)
841 define Package/luci-i18n-greek/install
842 $(call Package/luci/install/template,$(1),i18n/greek)
846 define Package/luci-i18n-catalan
847 $(call Package/luci/i18ntemplate)
848 TITLE:=Catalan (by Eduard Duran)
851 define Package/luci-i18n-catalan/install
852 $(call Package/luci/install/template,$(1),i18n/catalan)
856 define Package/luci-i18n-portuguese
857 $(call Package/luci/i18ntemplate)
858 TITLE:=Portuguese (by Jose Monteiro)
861 define Package/luci-i18n-portuguese/install
862 $(call Package/luci/install/template,$(1),i18n/portuguese)
866 define Package/luci-i18n-spanish
867 $(call Package/luci/i18ntemplate)
868 TITLE:=Spanish (by Guillermo Javier Nardoni)
871 define Package/luci-i18n-spanish/install
872 $(call Package/luci/install/template,$(1),i18n/spanish)
877 ifneq ($(CONFIG_PACKAGE_luci-core),)
878 PKG_SELECTED_MODULES+=libs/core
880 ifneq ($(CONFIG_PACKAGE_luci-cbi),)
881 PKG_SELECTED_MODULES+=libs/cbi
883 ifneq ($(CONFIG_PACKAGE_luci-fastindex),)
884 PKG_SELECTED_MODULES+=libs/fastindex
886 ifneq ($(CONFIG_PACKAGE_luci-http),)
887 PKG_SELECTED_MODULES+=libs/http
889 ifneq ($(CONFIG_PACKAGE_luci-httpclient),)
890 PKG_SELECTED_MODULES+=libs/httpclient
892 ifneq ($(CONFIG_PACKAGE_luci-ipkg),)
893 PKG_SELECTED_MODULES+=libs/ipkg
895 ifneq ($(CONFIG_PACKAGE_luci-json),)
896 PKG_SELECTED_MODULES+=libs/json
898 ifneq ($(CONFIG_PACKAGE_luci-lmo),)
899 PKG_SELECTED_MODULES+=libs/lmo
901 ifneq ($(CONFIG_PACKAGE_luci-luanet),)
902 PKG_SELECTED_MODULES+=libs/luanet
904 ifneq ($(CONFIG_PACKAGE_luci-lucid),)
905 PKG_SELECTED_MODULES+=libs/lucid libs/lucid-http
907 ifneq ($(CONFIG_PACKAGE_luci-nixio),)
908 PKG_SELECTED_MODULES+=libs/nixio
910 ifneq ($(CONFIG_PACKAGE_luci-px5g),)
911 PKG_SELECTED_MODULES+=libs/px5g
913 ifneq ($(CONFIG_PACKAGE_luci-uci),)
914 PKG_SELECTED_MODULES+=libs/uci
916 ifneq ($(CONFIG_PACKAGE_luci-sys),)
917 PKG_SELECTED_MODULES+=libs/sys
919 ifneq ($(CONFIG_PACKAGE_luci-web),)
920 PKG_SELECTED_MODULES+=libs/web
922 ifneq ($(CONFIG_PACKAGE_luci-uvl),)
923 PKG_SELECTED_MODULES+=libs/uvl
926 ifneq ($(CONFIG_PACKAGE_luci-admin-core),)
927 PKG_SELECTED_MODULES+=modules/admin-core
929 ifneq ($(CONFIG_PACKAGE_luci-admin-mini),)
930 PKG_SELECTED_MODULES+=modules/admin-mini
932 ifneq ($(CONFIG_PACKAGE_luci-admin-full),)
933 PKG_SELECTED_MODULES+=modules/admin-full
935 ifneq ($(CONFIG_PACKAGE_luci-admin-rpc),)
936 PKG_SELECTED_MODULES+=modules/rpc
938 ifneq ($(CONFIG_PACKAGE_luci-mod-freifunk),)
939 PKG_SELECTED_MODULES+=modules/freifunk
942 ifneq ($(CONFIG_PACKAGE_luci-freifunk-community),)
943 PKG_SELECTED_MODULES+=applications/freifunk-community
946 ifneq ($(CONFIG_PACKAGE_luci-app-ffwizard-leipzig),)
947 PKG_SELECTED_MODULES+=applications/luci-ffwizard-leipzig
949 ifneq ($(CONFIG_PACKAGE_luci-app-siitwizard),)
950 PKG_SELECTED_MODULES+=applications/luci-siitwizard
952 ifneq ($(CONFIG_PACKAGE_luci-app-firewall),)
953 PKG_SELECTED_MODULES+=applications/luci-fw
955 ifneq ($(CONFIG_PACKAGE_luci-app-olsr),)
956 PKG_SELECTED_MODULES+=applications/luci-olsr
958 ifneq ($(CONFIG_PACKAGE_luci-app-qos),)
959 PKG_SELECTED_MODULES+=applications/luci-qos
961 ifneq ($(CONFIG_PACKAGE_luci-app-splash),)
962 PKG_SELECTED_MODULES+=applications/luci-splash
964 ifneq ($(CONFIG_PACKAGE_luci-app-statistics),)
965 PKG_SELECTED_MODULES+=applications/luci-statistics
967 ifneq ($(CONFIG_PACKAGE_luci-app-upnp),)
968 PKG_SELECTED_MODULES+=applications/luci-upnp
970 ifneq ($(CONFIG_PACKAGE_luci-app-ntpc),)
971 PKG_SELECTED_MODULES+=applications/luci-ntpc
973 ifneq ($(CONFIG_PACKAGE_luci-app-ddns),)
974 PKG_SELECTED_MODULES+=applications/luci-ddns
976 ifneq ($(CONFIG_PACKAGE_luci-app-samba),)
977 PKG_SELECTED_MODULES+=applications/luci-samba
979 ifneq ($(CONFIG_PACKAGE_luci-app-uvc_streamer),)
980 PKG_SELECTED_MODULES+=applications/luci-uvc_streamer
982 ifneq ($(CONFIG_PACKAGE_luci-app-mmc_over_gpio),)
983 PKG_SELECTED_MODULES+=applications/luci-mmc_over_gpio
985 ifneq ($(CONFIG_PACKAGE_luci-app-p910nd),)
986 PKG_SELECTED_MODULES+=applications/luci-p910nd
988 ifneq ($(CONFIG_PACKAGE_luci-app-ushare),)
989 PKG_SELECTED_MODULES+=applications/luci-ushare
991 ifneq ($(CONFIG_PACKAGE_luci-app-hd_idle),)
992 PKG_SELECTED_MODULES+=applications/luci-hd_idle
994 ifneq ($(CONFIG_PACKAGE_luci-app-tinyproxy),)
995 PKG_SELECTED_MODULES+=applications/luci-tinyproxy
997 ifneq ($(CONFIG_PACKAGE_luci-app-initmgr),)
998 PKG_SELECTED_MODULES+=applications/luci-initmgr
1000 ifneq ($(CONFIG_PACKAGE_luci-app-livestats),)
1001 PKG_SELECTED_MODULES+=applications/luci-livestats
1003 ifneq ($(CONFIG_PACKAGE_luci-app-polipo),)
1004 PKG_SELECTED_MODULES+=applications/luci-polipo
1006 ifneq ($(CONFIG_PACKAGE_luci-app-openvpn),)
1007 PKG_SELECTED_MODULES+=applications/luci-openvpn
1009 ifneq ($(CONFIG_PACKAGE_luci-app-p2pblock),)
1010 PKG_SELECTED_MODULES+=applications/luci-p2pblock
1014 ifneq ($(CONFIG_PACKAGE_luci-sgi-cgi),)
1015 PKG_SELECTED_MODULES+=libs/sgi-cgi
1017 ifneq ($(CONFIG_PACKAGE_luci-sgi-luci),)
1018 PKG_SELECTED_MODULES+=libs/sgi-luci
1021 ifneq ($(CONFIG_PACKAGE_luci-theme-base),)
1022 PKG_SELECTED_MODULES+=themes/base
1024 ifneq ($(CONFIG_PACKAGE_luci-theme-fledermaus),)
1025 PKG_SELECTED_MODULES+=themes/fledermaus
1027 ifneq ($(CONFIG_PACKAGE_luci-theme-freifunk-bno),)
1028 PKG_SELECTED_MODULES+=themes/freifunk-bno
1030 ifneq ($(CONFIG_PACKAGE_luci-theme-freifunk-hannover),)
1031 PKG_SELECTED_MODULES+=themes/freifunk-hannover
1033 ifneq ($(CONFIG_PACKAGE_luci-theme-freifunk),)
1034 PKG_SELECTED_MODULES+=themes/freifunk
1036 ifneq ($(CONFIG_PACKAGE_luci-theme-openwrt),)
1037 PKG_SELECTED_MODULES+=themes/openwrt.org
1039 ifneq ($(CONFIG_PACKAGE_luci-theme-openwrtlight),)
1040 PKG_SELECTED_MODULES+=themes/openwrt-light
1043 ifneq ($(CONFIG_PACKAGE_luci-i18n-german),)
1044 PKG_SELECTED_MODULES+=i18n/german
1046 ifneq ($(CONFIG_PACKAGE_luci-i18n-english),)
1047 PKG_SELECTED_MODULES+=i18n/english
1049 ifneq ($(CONFIG_PACKAGE_luci-i18n-french),)
1050 PKG_SELECTED_MODULES+=i18n/french
1052 ifneq ($(CONFIG_PACKAGE_luci-i18n-italian),)
1053 PKG_SELECTED_MODULES+=i18n/italian
1055 ifneq ($(CONFIG_PACKAGE_luci-i18n-russian),)
1056 PKG_SELECTED_MODULES+=i18n/russian
1058 ifneq ($(CONFIG_PACKAGE_luci-i18n-portuguese_brazilian),)
1059 PKG_SELECTED_MODULES+=i18n/portuguese_brazilian
1061 ifneq ($(CONFIG_PACKAGE_luci-i18n-japanese),)
1062 PKG_SELECTED_MODULES+=i18n/japanese
1064 ifneq ($(CONFIG_PACKAGE_luci-i18n-greek),)
1065 PKG_SELECTED_MODULES+=i18n/greek
1067 ifneq ($(CONFIG_PACKAGE_luci-i18n-catalan),)
1068 PKG_SELECTED_MODULES+=i18n/catalan
1070 ifneq ($(CONFIG_PACKAGE_luci-i18n-portuguese),)
1071 PKG_SELECTED_MODULES+=i18n/portuguese
1073 ifneq ($(CONFIG_PACKAGE_luci-i18n-spanish),)
1074 PKG_SELECTED_MODULES+=i18n/spanish
1079 MODULES="$(PKG_SELECTED_MODULES)" \
1080 LUA_TARGET="$(LUA_TARGET)" \
1081 LUA_SHLIBS="-llua -lm -ldl -lcrypt" \
1082 CFLAGS="$(TARGET_CFLAGS) $(LUCI_CFLAGS) -I$(STAGING_DIR)/usr/include" \
1083 LDFLAGS="$(TARGET_LDFLAGS) -L$(STAGING_DIR)/usr/lib" \
1084 NIXIO_TLS="$(NIXIO_TLS)" OS="Linux"
1087 $(eval $(call BuildPackage,luci-core))
1088 $(eval $(call BuildPackage,luci-cbi))
1089 $(eval $(call BuildPackage,luci-fastindex))
1090 $(eval $(call BuildPackage,luci-http))
1091 $(eval $(call BuildPackage,luci-httpclient))
1092 $(eval $(call BuildPackage,luci-ipkg))
1093 $(eval $(call BuildPackage,luci-json))
1094 $(eval $(call BuildPackage,luci-lmo))
1095 $(eval $(call BuildPackage,luci-luanet))
1096 $(eval $(call BuildPackage,luci-lucid))
1097 $(eval $(call BuildPackage,luci-nixio))
1098 $(eval $(call BuildPackage,luci-px5g))
1099 $(eval $(call BuildPackage,luci-uci))
1100 $(eval $(call BuildPackage,luci-sys))
1101 $(eval $(call BuildPackage,luci-web))
1102 $(eval $(call BuildPackage,luci-uvl))
1104 $(eval $(call BuildPackage,luci-admin-core))
1105 $(eval $(call BuildPackage,luci-admin-mini))
1106 $(eval $(call BuildPackage,luci-admin-full))
1107 $(eval $(call BuildPackage,luci-admin-rpc))
1108 $(eval $(call BuildPackage,luci-mod-freifunk))
1110 $(eval $(call BuildPackage,luci-freifunk-community))
1112 $(eval $(call BuildPackage,luci-app-ffwizard-leipzig))
1113 $(eval $(call BuildPackage,luci-app-siitwizard))
1114 $(eval $(call BuildPackage,luci-app-firewall))
1115 $(eval $(call BuildPackage,luci-app-olsr))
1116 $(eval $(call BuildPackage,luci-app-qos))
1117 $(eval $(call BuildPackage,luci-app-splash))
1118 $(eval $(call BuildPackage,luci-app-statistics))
1119 $(eval $(call BuildPackage,luci-app-upnp))
1120 $(eval $(call BuildPackage,luci-app-ntpc))
1121 $(eval $(call BuildPackage,luci-app-ddns))
1122 $(eval $(call BuildPackage,luci-app-samba))
1123 $(eval $(call BuildPackage,luci-app-uvc_streamer))
1124 $(eval $(call BuildPackage,luci-app-mmc_over_gpio))
1125 $(eval $(call BuildPackage,luci-app-p910nd))
1126 $(eval $(call BuildPackage,luci-app-ushare))
1127 $(eval $(call BuildPackage,luci-app-hd_idle))
1128 $(eval $(call BuildPackage,luci-app-tinyproxy))
1129 $(eval $(call BuildPackage,luci-app-initmgr))
1130 $(eval $(call BuildPackage,luci-app-livestats))
1131 $(eval $(call BuildPackage,luci-app-polipo))
1132 $(eval $(call BuildPackage,luci-app-openvpn))
1133 $(eval $(call BuildPackage,luci-app-p2pblock))
1135 $(eval $(call BuildPackage,luci-sgi-cgi))
1137 $(eval $(call BuildPackage,luci-theme-base))
1138 $(eval $(call BuildPackage,luci-theme-fledermaus))
1139 $(eval $(call BuildPackage,luci-theme-freifunk))
1140 $(eval $(call BuildPackage,luci-theme-freifunk-bno))
1141 $(eval $(call BuildPackage,luci-theme-freifunk-hannover))
1142 $(eval $(call BuildPackage,luci-theme-openwrt))
1143 $(eval $(call BuildPackage,luci-theme-openwrtlight))
1145 $(eval $(call BuildPackage,luci-i18n-german))
1146 $(eval $(call BuildPackage,luci-i18n-english))
1147 $(eval $(call BuildPackage,luci-i18n-french))
1148 $(eval $(call BuildPackage,luci-i18n-italian))
1149 $(eval $(call BuildPackage,luci-i18n-russian))
1150 $(eval $(call BuildPackage,luci-i18n-portuguese_brazilian))
1151 $(eval $(call BuildPackage,luci-i18n-japanese))
1152 $(eval $(call BuildPackage,luci-i18n-greek))
1153 $(eval $(call BuildPackage,luci-i18n-catalan))
1154 $(eval $(call BuildPackage,luci-i18n-portuguese))
1155 $(eval $(call BuildPackage,luci-i18n-spanish))