1 include $(TOPDIR)/rules.mk
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:=
33 ifeq ($(BOARD),brcm-2.4)
34 MAKE_FLAGS += CRAP="1"
38 include $(INCLUDE_DIR)/package.mk
42 mkdir -p $(PKG_BUILD_DIR)
43 $(TAR) c -C ../../../ . \
44 --exclude=.pc --exclude=.svn --exclude=.git \
45 --exclude='boa-0*' --exclude='*.o' --exclude='*.so' \
47 tar x -C $(PKG_BUILD_DIR)/
51 define Build/Configure
56 define Package/luci/libtemplate
59 TITLE:=LuCI - Lua Configuration Interface
60 URL:=http://luci.freifunk-halle.net/
61 MAINTAINER:=Steven Barth <steven-at-midlink-dot-org>
66 define Package/luci/fftemplate
67 $(call Package/luci/libtemplate)
69 DEPENDS:=+luci-mod-freifunk
72 define Package/luci/i18ntemplate
73 $(call Package/luci/libtemplate)
78 define Package/luci/thtemplate
79 $(call Package/luci/libtemplate)
84 define Package/luci/webtemplate
85 $(call Package/luci/libtemplate)
90 define Package/luci/install/template
91 $(CP) -a $(PKG_BUILD_DIR)/$(2)/dist/* $(1)/ -R
92 $(CP) -a $(PKG_BUILD_DIR)/$(2)/ipkg/* $(1)/CONTROL/ 2>/dev/null || true
99 define Package/luci-core
100 $(call Package/luci/libtemplate)
101 DEPENDS:=+lua +luci-nixio
102 TITLE:=LuCI core libraries
105 define Package/luci-core/install
106 $(call Package/luci/install/template,$(1),libs/core)
107 $(PKG_BUILD_DIR)/build/mkversion.sh $(1)/usr/lib/lua/luci/version.lua \
109 "$(OPENWRTVERSION)" \
114 define Package/luci-core/config
116 prompt "Build Target"
117 default PACKAGE_luci-core_source
119 config PACKAGE_luci-core_compile
122 config PACKAGE_luci-core_stripped
125 config PACKAGE_luci-core_source
131 ifneq ($(CONFIG_PACKAGE_luci-core_compile),)
135 ifneq ($(CONFIG_PACKAGE_luci-core_stripped),)
139 ifneq ($(CONFIG_PACKAGE_luci-core_zipped),)
145 define Package/luci-cbi
146 $(call Package/luci/libtemplate)
147 DEPENDS+=+luci-web +luci-uvl +luci-uci
148 TITLE:=Configuration Binding Interface
151 define Package/luci-cbi/install
152 $(call Package/luci/install/template,$(1),libs/cbi)
156 define Package/luci-uci
157 $(call Package/luci/libtemplate)
159 TITLE:=High-Level UCI API
162 define Package/luci-uci/install
163 $(call Package/luci/install/template,$(1),libs/uci)
167 define Package/luci-fastindex
168 $(call Package/luci/libtemplate)
169 TITLE:=Fastindex indexing module
172 define Package/luci-fastindex/install
173 $(call Package/luci/install/template,$(1),libs/fastindex)
177 define Package/luci-http
178 $(call Package/luci/libtemplate)
179 TITLE:=HTTP Protocol implementation
182 define Package/luci-http/install
183 $(call Package/luci/install/template,$(1),libs/http)
187 define Package/luci-httpclient
188 $(call Package/luci/libtemplate)
189 TITLE:=HTTP(S) client library
190 DEPENDS+=+luci-http +luci-nixio
193 define Package/luci-httpclient/install
194 $(call Package/luci/install/template,$(1),libs/httpclient)
198 define Package/luci-ipkg
199 $(call Package/luci/libtemplate)
200 TITLE:=LuCI IPKG/OPKG call abstraction library
203 define Package/luci-ipkg/install
204 $(call Package/luci/install/template,$(1),libs/ipkg)
208 define Package/luci-json
209 $(call Package/luci/libtemplate)
210 TITLE:=LuCI JSON Library
213 define Package/luci-json/install
214 $(call Package/luci/install/template,$(1),libs/json)
218 define Package/luci-lmo
219 $(call Package/luci/libtemplate)
223 define Package/luci-lmo/install
224 $(call Package/luci/install/template,$(1),libs/lmo)
228 define Package/luci-luanet
229 $(call Package/luci/libtemplate)
234 define Package/luci-luanet/install
235 $(call Package/luci/install/template,$(1),libs/luanet)
239 define Package/luci-lucid
240 $(call Package/luci/libtemplate)
241 TITLE:=LuCId Superserver
242 DEPENDS+=+luci-nixio +luci-http +luci-px5g
245 define Package/luci-lucid/install
246 $(call Package/luci/install/template,$(1),libs/lucid)
247 $(call Package/luci/install/template,$(1),libs/lucid-http)
254 define Package/luci-nixio
255 $(call Package/luci/libtemplate)
256 TITLE:=NIXIO POSIX Library
257 DEPENDS:=+PACKAGE_luci-nixio_openssl:libopenssl +PACKAGE_luci-nixio_cyassl:libcyassl-luci
260 define Package/luci-nixio/install
261 $(call Package/luci/install/template,$(1),libs/nixio)
264 define Package/luci-nixio/config
266 prompt "TLS Provider"
267 default PACKAGE_luci-nixio_axtls
269 config PACKAGE_luci-nixio_axtls
270 bool "Builtin (axTLS)"
272 config PACKAGE_luci-nixio_cyassl
274 select PACKAGE_libcyassl-luci
276 config PACKAGE_luci-nixio_openssl
278 select PACKAGE_libopenssl
282 ifneq ($(CONFIG_PACKAGE_luci-nixio_openssl),)
286 ifneq ($(CONFIG_PACKAGE_luci-nixio_cyassl),)
288 LUCI_CFLAGS+=-I$(STAGING_DIR)/usr/include/cyassl
292 define Package/luci-px5g
293 $(call Package/luci/libtemplate)
294 TITLE:=PX5G RSA Keymaster
298 define Package/luci-px5g/install
299 $(call Package/luci/install/template,$(1),libs/px5g)
303 define Package/luci-sys
304 $(call Package/luci/libtemplate)
305 TITLE:=LuCI Linux/POSIX system library
308 define Package/luci-sys/install
309 $(call Package/luci/install/template,$(1),libs/sys)
313 define Package/luci-web
314 $(call Package/luci/libtemplate)
315 DEPENDS+=+luci-http +luci-sys +luci-uci +luci-lucid +luci-sgi-cgi +luci-lmo
316 TITLE:=MVC Webframework
317 $(call Config,luci.main.lang,string,en,Default Language)
320 define Package/luci-web/conffiles
324 define Package/luci-web/install
325 $(call Package/luci/install/template,$(1),libs/web)
329 define Package/luci-uvl
330 $(call Package/luci/libtemplate)
331 DEPENDS+=+luci-sys +luci-uci +luci-core
332 TITLE:=UVL - UCI Validation Layer
335 define Package/luci-uvl/install
336 $(call Package/luci/install/template,$(1),libs/uvl)
341 ### Community Packages ###
343 define Package/luci-freifunk-community
344 $(call Package/luci/fftemplate)
346 +luci-lucid +luci-sgi-cgi +luci-app-splash \
347 +luci-app-ffwizard-leipzig \
349 +PACKAGE_luci-freifunk-community:olsrd-luci +PACKAGE_luci-freifunk-community:olsrd-luci-mod-dyn-gw-plain \
350 +PACKAGE_luci-freifunk-community:olsrd-luci-mod-txtinfo +PACKAGE_luci-freifunk-community:olsrd-luci-mod-nameservice \
351 +PACKAGE_luci-freifunk-community:olsrd-luci-mod-watchdog +PACKAGE_luci-freifunk-community:kmod-tun \
352 +PACKAGE_luci-freifunk-community:ip +PACKAGE_luci-freifunk-community:freifunk-watchdog +luci-app-olsr \
353 +PACKAGE_luci-freifunk-community:remote-update
354 TITLE:=Freifunk Community Meta-Package
357 define Package/luci-freifunk-community/install
358 $(call Package/luci/install/template,$(1),applications/freifunk-community)
363 define Package/luci-admin-core
364 $(call Package/luci/webtemplate)
365 DEPENDS+=+luci-web +luci-cbi +luci-i18n-english
366 TITLE:=Web UI Core Module
369 define Package/luci-admin-core/conffiles
370 /etc/config/luci_hosts
371 /etc/config/luci_ethers
374 define Package/luci-admin-core/install
375 $(call Package/luci/install/template,$(1),modules/admin-core)
376 touch $(1)/etc/init.d/luci_fixtime || true
380 define Package/luci-admin-mini
381 $(call Package/luci/webtemplate)
382 DEPENDS+=+luci-admin-core
383 TITLE:=LuCI Essentials - stripped down and user-friendly
386 define Package/luci-admin-mini/install
387 $(call Package/luci/install/template,$(1),modules/admin-mini)
391 define Package/luci-admin-full
392 $(call Package/luci/webtemplate)
393 DEPENDS+=+luci-admin-core +luci-ipkg
394 TITLE:=LuCI Administration - full-featured for full control
397 define Package/luci-admin-full/install
398 $(call Package/luci/install/template,$(1),modules/admin-full)
402 define Package/luci-admin-rpc
403 $(call Package/luci/webtemplate)
405 TITLE:=LuCI RPC - JSON-RPC API
408 define Package/luci-admin-rpc/install
409 $(call Package/luci/install/template,$(1),modules/rpc)
413 define Package/luci-mod-freifunk
414 $(call Package/luci/fftemplate)
415 DEPENDS:=+luci-admin-full +luci-json +PACKAGE_luci-mod-freifunk:freifunk-firewall
416 TITLE:=LuCI Freifunk module
419 define Package/luci-mod-freifunk/conffiles
423 define Package/luci-mod-freifunk/install
424 $(call Package/luci/install/template,$(1),modules/freifunk)
431 define Package/luci-app-ffwizard-leipzig
432 $(call Package/luci/fftemplate)
433 TITLE:=Freifunk Leipzig configuration wizard
436 define Package/luci-app-ffwizard-leipzig/install
437 $(call Package/luci/install/template,$(1),applications/luci-ffwizard-leipzig)
441 define Package/luci-app-siitwizard
442 $(call Package/luci/fftemplate)
443 TITLE:=SIIT IPv4-over-IPv6 configuration wizard
444 DEPENDS:=+luci-admin-core +PACKAGE_luci-app-siitwizard:kmod-siit
447 define Package/luci-app-siitwizard/install
448 $(call Package/luci/install/template,$(1),applications/luci-siitwizard)
452 define Package/luci-app-firewall
453 $(call Package/luci/webtemplate)
454 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-firewall:firewall
455 TITLE:=Firewall and Portforwarding application
458 define Package/luci-app-firewall/install
459 $(call Package/luci/install/template,$(1),applications/luci-fw)
463 define Package/luci-app-olsr
464 $(call Package/luci/webtemplate)
465 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-olsr:olsrd-luci \
466 +PACKAGE_luci-app-olsr:olsrd-luci-mod-txtinfo
467 TITLE:=OLSR configuration and status module
470 define Package/luci-app-olsr/install
471 $(call Package/luci/install/template,$(1),applications/luci-olsr)
475 define Package/luci-app-qos
476 $(call Package/luci/webtemplate)
477 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-qos:qos-scripts
478 TITLE:=Quality of Service configuration module
481 define Package/luci-app-qos/install
482 $(call Package/luci/install/template,$(1),applications/luci-qos)
486 define Package/luci-app-splash
487 $(call Package/luci/fftemplate)
488 DEPENDS+=+PACKAGE_luci-app-splash:luci-nixio \
489 +PACKAGE_luci-app-splash:tc +PACKAGE_luci-app-splash:kmod-sched \
490 +PACKAGE_luci-app-splash:iptables-mod-nat-extra \
491 +PACKAGE_luci-app-splash:iptables-mod-ipopt
492 TITLE:=Freifunk DHCP-Splash application
495 define Package/luci-app-splash/conffiles
496 /etc/config/luci_splash
499 define Package/luci-app-splash/install
500 $(call Package/luci/install/template,$(1),applications/luci-splash)
504 define Package/luci-app-statistics
505 $(call Package/luci/webtemplate)
506 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-statistics:collectd \
507 +PACKAGE_luci-app-statistics:rrdtool1 \
508 +PACKAGE_luci-app-statistics:collectd-mod-rrdtool1 \
509 +PACKAGE_luci-app-statistics:collectd-mod-wireless \
510 +PACKAGE_luci-app-statistics:collectd-mod-interface \
511 +PACKAGE_luci-app-statistics:collectd-mod-load
512 TITLE:=LuCI Statistics Application
515 define Package/luci-app-statistics/conffiles
516 /etc/config/luci_statistics
519 define Package/luci-app-statistics/install
520 $(call Package/luci/install/template,$(1),applications/luci-statistics)
524 define Package/luci-app-upnp
525 $(call Package/luci/webtemplate)
526 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-upnp:miniupnpd
527 TITLE:=Universal Plug & Play configuration module
530 define Package/luci-app-upnp/install
531 $(call Package/luci/install/template,$(1),applications/luci-upnp)
535 define Package/luci-app-ntpc
536 $(call Package/luci/webtemplate)
537 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-ntpc:ntpclient
538 TITLE:=NTP time synchronisation client configuration module
541 define Package/luci-app-ntpc/install
542 $(call Package/luci/install/template,$(1),applications/luci-ntpc)
546 define Package/luci-app-ddns
547 $(call Package/luci/webtemplate)
548 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-ddns:ddns-scripts
549 TITLE:=Dynamic DNS configuration module
552 define Package/luci-app-ddns/install
553 $(call Package/luci/install/template,$(1),applications/luci-ddns)
557 define Package/luci-app-samba
558 $(call Package/luci/webtemplate)
559 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-samba:samba3
560 TITLE:=Network Shares - Samba SMB/CIFS module
563 define Package/luci-app-samba/install
564 $(call Package/luci/install/template,$(1),applications/luci-samba)
568 define Package/luci-app-uvc_streamer
569 $(call Package/luci/webtemplate)
570 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-uvc_streamer:uvc-streamer
571 TITLE:=Webcam Streaming - UVC-Streamer module
574 define Package/luci-app-uvc_streamer/install
575 $(call Package/luci/install/template,$(1),applications/luci-uvc_streamer)
579 define Package/luci-app-mmc_over_gpio
580 $(call Package/luci/webtemplate)
581 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-mmc_over_gpio:kmod-mmc-over-gpio
585 define Package/luci-app-mmc_over_gpio/install
586 $(call Package/luci/install/template,$(1),applications/luci-mmc_over_gpio)
590 define Package/luci-app-p910nd
591 $(call Package/luci/webtemplate)
592 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-p910nd:p910nd
593 TITLE:=p910nd - Printer server module
596 define Package/luci-app-p910nd/install
597 $(call Package/luci/install/template,$(1),applications/luci-p910nd)
601 define Package/luci-app-ushare
602 $(call Package/luci/webtemplate)
603 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-ushare:ushare
604 TITLE:=ushare - UPnP A/V & DLNA Media Server
607 define Package/luci-app-ushare/install
608 $(call Package/luci/install/template,$(1),applications/luci-ushare)
611 define Package/luci-app-hd_idle
612 $(call Package/luci/webtemplate)
613 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-hd_idle:hd-idle
617 define Package/luci-app-hd_idle/install
618 $(call Package/luci/install/template,$(1),applications/luci-hd_idle)
621 define Package/luci-app-tinyproxy
622 $(call Package/luci/webtemplate)
623 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-tinyproxy:tinyproxy
624 TITLE:=Tinyproxy - HTTP(S)-Proxy
627 define Package/luci-app-tinyproxy/install
628 $(call Package/luci/install/template,$(1),applications/luci-tinyproxy)
631 define Package/luci-app-initmgr
632 $(call Package/luci/webtemplate)
633 DEPENDS+=+luci-admin-full
634 TITLE:=LuCI Initscript Management
637 define Package/luci-app-initmgr/install
638 $(call Package/luci/install/template,$(1),applications/luci-initmgr)
641 define Package/luci-app-livestats
642 $(call Package/luci/webtemplate)
643 DEPENDS+=+luci-admin-core +luci-admin-rpc
644 TITLE:=LuCI Realtime Statistics
647 define Package/luci-app-livestats/install
648 $(call Package/luci/install/template,$(1),applications/luci-livestats)
651 define Package/luci-app-asterisk
652 $(call Package/luci/webtemplate)
653 TITLE:=LuCI Support for Asterisk PBX
654 DEPENDS+=@BROKEN +luci-admin-core +PACKAGE_luci-app-asterisk:asterisk14-xip-core
657 define Package/luci-app-asterisk/install
658 $(call Package/luci/install/template,$(1),applications/luci-asterisk)
661 define Package/luci-app-polipo
662 $(call Package/luci/webtemplate)
663 TITLE:=LuCI Support for the Polipo Proxy
664 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-polipo:polipo
667 define Package/luci-app-polipo/install
668 $(call Package/luci/install/template,$(1),applications/luci-polipo)
671 define Package/luci-app-openvpn
672 $(call Package/luci/webtemplate)
673 TITLE:=LuCI Support for OpenVPN
674 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-openvpn:openvpn
677 define Package/luci-app-openvpn/install
678 $(call Package/luci/install/template,$(1),applications/luci-openvpn)
681 define Package/luci-app-p2pblock
682 $(call Package/luci/webtemplate)
683 TITLE:=LuCI Support for the Freifunk P2P-Block addon
684 DEPENDS+=+luci-admin-core +luci-app-firewall \
685 +PACKAGE_luci-app-p2pblock:freifunk-p2pblock
688 define Package/luci-app-p2pblock/install
689 $(call Package/luci/install/template,$(1),applications/luci-p2pblock)
693 ### Server Gateway Interfaces ###
695 define Package/luci-sgi-cgi
696 $(call Package/luci/libtemplate)
700 define Package/luci-sgi-cgi/install
701 $(call Package/luci/install/template,$(1),libs/sgi-cgi)
705 define Package/luci-theme-base
706 $(call Package/luci/thtemplate)
708 TITLE:=Common base for all themes
711 define Package/luci-theme-base/install
712 $(call Package/luci/install/template,$(1),themes/base)
715 define Package/luci-theme-fledermaus
716 $(call Package/luci/fftemplate)
718 TITLE:=Fledermaus Theme
721 define Package/luci-theme-fledermaus/install
722 $(call Package/luci/install/template,$(1),themes/fledermaus)
725 define Package/luci-theme-freifunk
726 $(call Package/luci/fftemplate)
728 MAINTAINER:=Stefan Pirwitz <stefan-at-freifunk-bno-dot-de>
729 TITLE:=alternative Freifunk Theme
732 define Package/luci-theme-freifunk/install
733 $(call Package/luci/install/template,$(1),themes/freifunk)
736 define Package/luci-theme-freifunk-bno
737 $(call Package/luci/fftemplate)
739 MAINTAINER:=Stefan Pirwitz <stefan-at-freifunk-bno-dot-de>
740 TITLE:=Freifunk Berlin Nordost Theme
743 define Package/luci-theme-freifunk-bno/install
744 $(call Package/luci/install/template,$(1),themes/freifunk-bno)
747 define Package/luci-theme-freifunk-hannover
748 $(call Package/luci/fftemplate)
750 MAINTAINER:=Mikolas Bingemer <mickey-at-freifunk-hannover-dot-de>
751 TITLE:=Freifunk Hannover Theme
754 define Package/luci-theme-freifunk-hannover/install
755 $(call Package/luci/install/template,$(1),themes/freifunk-hannover)
758 define Package/luci-theme-openwrt
759 $(call Package/luci/thtemplate)
760 TITLE:=OpenWrt.org (default)
761 DEPENDS:=+luci-theme-base
764 define Package/luci-theme-openwrt/install
765 $(call Package/luci/install/template,$(1),themes/openwrt.org)
768 define Package/luci-theme-openwrtlight
769 $(call Package/luci/thtemplate)
770 TITLE:=OpenWrt.org - light variant without images
771 DEPENDS:=+luci-theme-base
774 define Package/luci-theme-openwrtlight/install
775 $(call Package/luci/install/template,$(1),themes/openwrt-light)
780 define Package/luci-i18n-german
781 $(call Package/luci/i18ntemplate)
785 define Package/luci-i18n-german/install
786 $(call Package/luci/install/template,$(1),i18n/german)
790 define Package/luci-i18n-english
791 $(call Package/luci/i18ntemplate)
795 define Package/luci-i18n-english/install
796 $(call Package/luci/install/template,$(1),i18n/english)
800 define Package/luci-i18n-french
801 $(call Package/luci/i18ntemplate)
802 TITLE:=French (by Florian Fainelli)
805 define Package/luci-i18n-french/install
806 $(call Package/luci/install/template,$(1),i18n/french)
810 define Package/luci-i18n-italian
811 $(call Package/luci/i18ntemplate)
812 TITLE:=Italian (by Matteo Croce)
815 define Package/luci-i18n-italian/install
816 $(call Package/luci/install/template,$(1),i18n/italian)
820 define Package/luci-i18n-russian
821 $(call Package/luci/i18ntemplate)
822 TITLE:=Russian (by Skryabin Dmitry)
825 define Package/luci-i18n-russian/install
826 $(call Package/luci/install/template,$(1),i18n/russian)
830 define Package/luci-i18n-portuguese_brazilian
831 $(call Package/luci/i18ntemplate)
832 TITLE:=Portuguese (Brazilian) (by Carlos Cesario)
835 define Package/luci-i18n-portuguese_brazilian/install
836 $(call Package/luci/install/template,$(1),i18n/portuguese_brazilian)
840 define Package/luci-i18n-japanese
841 $(call Package/luci/i18ntemplate)
842 TITLE:=Japanese (by Tsukasa Hamano)
845 define Package/luci-i18n-japanese/install
846 $(call Package/luci/install/template,$(1),i18n/japanese)
850 define Package/luci-i18n-greek
851 $(call Package/luci/i18ntemplate)
852 TITLE:=Greek (by Vasilis Tsiligiannis)
855 define Package/luci-i18n-greek/install
856 $(call Package/luci/install/template,$(1),i18n/greek)
860 define Package/luci-i18n-catalan
861 $(call Package/luci/i18ntemplate)
862 TITLE:=Catalan (by Eduard Duran)
865 define Package/luci-i18n-catalan/install
866 $(call Package/luci/install/template,$(1),i18n/catalan)
870 define Package/luci-i18n-portuguese
871 $(call Package/luci/i18ntemplate)
872 TITLE:=Portuguese (by Jose Monteiro)
875 define Package/luci-i18n-portuguese/install
876 $(call Package/luci/install/template,$(1),i18n/portuguese)
881 ifneq ($(CONFIG_PACKAGE_luci-core),)
882 PKG_SELECTED_MODULES+=libs/core
884 ifneq ($(CONFIG_PACKAGE_luci-cbi),)
885 PKG_SELECTED_MODULES+=libs/cbi
887 ifneq ($(CONFIG_PACKAGE_luci-fastindex),)
888 PKG_SELECTED_MODULES+=libs/fastindex
890 ifneq ($(CONFIG_PACKAGE_luci-http),)
891 PKG_SELECTED_MODULES+=libs/http
893 ifneq ($(CONFIG_PACKAGE_luci-httpclient),)
894 PKG_SELECTED_MODULES+=libs/httpclient
896 ifneq ($(CONFIG_PACKAGE_luci-ipkg),)
897 PKG_SELECTED_MODULES+=libs/ipkg
899 ifneq ($(CONFIG_PACKAGE_luci-json),)
900 PKG_SELECTED_MODULES+=libs/json
902 ifneq ($(CONFIG_PACKAGE_luci-lmo),)
903 PKG_SELECTED_MODULES+=libs/lmo
905 ifneq ($(CONFIG_PACKAGE_luci-luanet),)
906 PKG_SELECTED_MODULES+=libs/luanet
908 ifneq ($(CONFIG_PACKAGE_luci-lucid),)
909 PKG_SELECTED_MODULES+=libs/lucid libs/lucid-http
911 ifneq ($(CONFIG_PACKAGE_luci-nixio),)
912 PKG_SELECTED_MODULES+=libs/nixio
914 ifneq ($(CONFIG_PACKAGE_luci-px5g),)
915 PKG_SELECTED_MODULES+=libs/px5g
917 ifneq ($(CONFIG_PACKAGE_luci-uci),)
918 PKG_SELECTED_MODULES+=libs/uci
920 ifneq ($(CONFIG_PACKAGE_luci-sys),)
921 PKG_SELECTED_MODULES+=libs/sys
923 ifneq ($(CONFIG_PACKAGE_luci-web),)
924 PKG_SELECTED_MODULES+=libs/web
926 ifneq ($(CONFIG_PACKAGE_luci-uvl),)
927 PKG_SELECTED_MODULES+=libs/uvl
930 ifneq ($(CONFIG_PACKAGE_luci-admin-core),)
931 PKG_SELECTED_MODULES+=modules/admin-core
933 ifneq ($(CONFIG_PACKAGE_luci-admin-mini),)
934 PKG_SELECTED_MODULES+=modules/admin-mini
936 ifneq ($(CONFIG_PACKAGE_luci-admin-full),)
937 PKG_SELECTED_MODULES+=modules/admin-full
939 ifneq ($(CONFIG_PACKAGE_luci-admin-rpc),)
940 PKG_SELECTED_MODULES+=modules/rpc
942 ifneq ($(CONFIG_PACKAGE_luci-mod-freifunk),)
943 PKG_SELECTED_MODULES+=modules/freifunk
946 ifneq ($(CONFIG_PACKAGE_luci-freifunk-community),)
947 PKG_SELECTED_MODULES+=applications/freifunk-community
950 ifneq ($(CONFIG_PACKAGE_luci-app-ffwizard-leipzig),)
951 PKG_SELECTED_MODULES+=applications/luci-ffwizard-leipzig
953 ifneq ($(CONFIG_PACKAGE_luci-app-siitwizard),)
954 PKG_SELECTED_MODULES+=applications/luci-siitwizard
956 ifneq ($(CONFIG_PACKAGE_luci-app-firewall),)
957 PKG_SELECTED_MODULES+=applications/luci-fw
959 ifneq ($(CONFIG_PACKAGE_luci-app-olsr),)
960 PKG_SELECTED_MODULES+=applications/luci-olsr
962 ifneq ($(CONFIG_PACKAGE_luci-app-qos),)
963 PKG_SELECTED_MODULES+=applications/luci-qos
965 ifneq ($(CONFIG_PACKAGE_luci-app-splash),)
966 PKG_SELECTED_MODULES+=applications/luci-splash
968 ifneq ($(CONFIG_PACKAGE_luci-app-statistics),)
969 PKG_SELECTED_MODULES+=applications/luci-statistics
971 ifneq ($(CONFIG_PACKAGE_luci-app-upnp),)
972 PKG_SELECTED_MODULES+=applications/luci-upnp
974 ifneq ($(CONFIG_PACKAGE_luci-app-ntpc),)
975 PKG_SELECTED_MODULES+=applications/luci-ntpc
977 ifneq ($(CONFIG_PACKAGE_luci-app-ddns),)
978 PKG_SELECTED_MODULES+=applications/luci-ddns
980 ifneq ($(CONFIG_PACKAGE_luci-app-samba),)
981 PKG_SELECTED_MODULES+=applications/luci-samba
983 ifneq ($(CONFIG_PACKAGE_luci-app-uvc_streamer),)
984 PKG_SELECTED_MODULES+=applications/luci-uvc_streamer
986 ifneq ($(CONFIG_PACKAGE_luci-app-mmc_over_gpio),)
987 PKG_SELECTED_MODULES+=applications/luci-mmc_over_gpio
989 ifneq ($(CONFIG_PACKAGE_luci-app-p910nd),)
990 PKG_SELECTED_MODULES+=applications/luci-p910nd
992 ifneq ($(CONFIG_PACKAGE_luci-app-ushare),)
993 PKG_SELECTED_MODULES+=applications/luci-ushare
995 ifneq ($(CONFIG_PACKAGE_luci-app-hd_idle),)
996 PKG_SELECTED_MODULES+=applications/luci-hd_idle
998 ifneq ($(CONFIG_PACKAGE_luci-app-tinyproxy),)
999 PKG_SELECTED_MODULES+=applications/luci-tinyproxy
1001 ifneq ($(CONFIG_PACKAGE_luci-app-initmgr),)
1002 PKG_SELECTED_MODULES+=applications/luci-initmgr
1004 ifneq ($(CONFIG_PACKAGE_luci-app-livestats),)
1005 PKG_SELECTED_MODULES+=applications/luci-livestats
1007 ifneq ($(CONFIG_PACKAGE_luci-app-asterisk),)
1008 PKG_SELECTED_MODULES+=applications/luci-asterisk
1010 ifneq ($(CONFIG_PACKAGE_luci-app-polipo),)
1011 PKG_SELECTED_MODULES+=applications/luci-polipo
1013 ifneq ($(CONFIG_PACKAGE_luci-app-openvpn),)
1014 PKG_SELECTED_MODULES+=applications/luci-openvpn
1016 ifneq ($(CONFIG_PACKAGE_luci-app-p2pblock),)
1017 PKG_SELECTED_MODULES+=applications/luci-p2pblock
1021 ifneq ($(CONFIG_PACKAGE_luci-sgi-cgi),)
1022 PKG_SELECTED_MODULES+=libs/sgi-cgi
1024 ifneq ($(CONFIG_PACKAGE_luci-sgi-luci),)
1025 PKG_SELECTED_MODULES+=libs/sgi-luci
1028 ifneq ($(CONFIG_PACKAGE_luci-theme-base),)
1029 PKG_SELECTED_MODULES+=themes/base
1031 ifneq ($(CONFIG_PACKAGE_luci-theme-fledermaus),)
1032 PKG_SELECTED_MODULES+=themes/fledermaus
1034 ifneq ($(CONFIG_PACKAGE_luci-theme-freifunk-bno),)
1035 PKG_SELECTED_MODULES+=themes/freifunk-bno
1037 ifneq ($(CONFIG_PACKAGE_luci-theme-freifunk-hannover),)
1038 PKG_SELECTED_MODULES+=themes/freifunk-hannover
1040 ifneq ($(CONFIG_PACKAGE_luci-theme-freifunk),)
1041 PKG_SELECTED_MODULES+=themes/freifunk
1043 ifneq ($(CONFIG_PACKAGE_luci-theme-openwrt),)
1044 PKG_SELECTED_MODULES+=themes/openwrt.org
1046 ifneq ($(CONFIG_PACKAGE_luci-theme-openwrtlight),)
1047 PKG_SELECTED_MODULES+=themes/openwrt-light
1050 ifneq ($(CONFIG_PACKAGE_luci-i18n-german),)
1051 PKG_SELECTED_MODULES+=i18n/german
1053 ifneq ($(CONFIG_PACKAGE_luci-i18n-english),)
1054 PKG_SELECTED_MODULES+=i18n/english
1056 ifneq ($(CONFIG_PACKAGE_luci-i18n-french),)
1057 PKG_SELECTED_MODULES+=i18n/french
1059 ifneq ($(CONFIG_PACKAGE_luci-i18n-italian),)
1060 PKG_SELECTED_MODULES+=i18n/italian
1062 ifneq ($(CONFIG_PACKAGE_luci-i18n-russian),)
1063 PKG_SELECTED_MODULES+=i18n/russian
1065 ifneq ($(CONFIG_PACKAGE_luci-i18n-portuguese_brazilian),)
1066 PKG_SELECTED_MODULES+=i18n/portuguese_brazilian
1068 ifneq ($(CONFIG_PACKAGE_luci-i18n-japanese),)
1069 PKG_SELECTED_MODULES+=i18n/japanese
1071 ifneq ($(CONFIG_PACKAGE_luci-i18n-greek),)
1072 PKG_SELECTED_MODULES+=i18n/greek
1074 ifneq ($(CONFIG_PACKAGE_luci-i18n-catalan),)
1075 PKG_SELECTED_MODULES+=i18n/catalan
1077 ifneq ($(CONFIG_PACKAGE_luci-i18n-portuguese),)
1078 PKG_SELECTED_MODULES+=i18n/portuguese
1083 MODULES="$(PKG_SELECTED_MODULES)" \
1084 LUA_TARGET="$(LUA_TARGET)" \
1085 LUA_SHLIBS="-llua -lm -ldl -lcrypt" \
1086 CFLAGS="$(TARGET_CFLAGS) $(LUCI_CFLAGS) -I$(STAGING_DIR)/usr/include" \
1087 LDFLAGS="$(TARGET_LDFLAGS) -L$(STAGING_DIR)/usr/lib" \
1088 NIXIO_TLS="$(NIXIO_TLS)" OS="Linux"
1091 $(eval $(call BuildPackage,luci-core))
1092 $(eval $(call BuildPackage,luci-cbi))
1093 $(eval $(call BuildPackage,luci-fastindex))
1094 $(eval $(call BuildPackage,luci-http))
1095 $(eval $(call BuildPackage,luci-httpclient))
1096 $(eval $(call BuildPackage,luci-ipkg))
1097 $(eval $(call BuildPackage,luci-json))
1098 $(eval $(call BuildPackage,luci-lmo))
1099 $(eval $(call BuildPackage,luci-luanet))
1100 $(eval $(call BuildPackage,luci-lucid))
1101 $(eval $(call BuildPackage,luci-nixio))
1102 $(eval $(call BuildPackage,luci-px5g))
1103 $(eval $(call BuildPackage,luci-uci))
1104 $(eval $(call BuildPackage,luci-sys))
1105 $(eval $(call BuildPackage,luci-web))
1106 $(eval $(call BuildPackage,luci-uvl))
1108 $(eval $(call BuildPackage,luci-admin-core))
1109 $(eval $(call BuildPackage,luci-admin-mini))
1110 $(eval $(call BuildPackage,luci-admin-full))
1111 $(eval $(call BuildPackage,luci-admin-rpc))
1112 $(eval $(call BuildPackage,luci-mod-freifunk))
1114 $(eval $(call BuildPackage,luci-freifunk-community))
1116 $(eval $(call BuildPackage,luci-app-ffwizard-leipzig))
1117 $(eval $(call BuildPackage,luci-app-siitwizard))
1118 $(eval $(call BuildPackage,luci-app-firewall))
1119 $(eval $(call BuildPackage,luci-app-olsr))
1120 $(eval $(call BuildPackage,luci-app-qos))
1121 $(eval $(call BuildPackage,luci-app-splash))
1122 $(eval $(call BuildPackage,luci-app-statistics))
1123 $(eval $(call BuildPackage,luci-app-upnp))
1124 $(eval $(call BuildPackage,luci-app-ntpc))
1125 $(eval $(call BuildPackage,luci-app-ddns))
1126 $(eval $(call BuildPackage,luci-app-samba))
1127 $(eval $(call BuildPackage,luci-app-uvc_streamer))
1128 $(eval $(call BuildPackage,luci-app-mmc_over_gpio))
1129 $(eval $(call BuildPackage,luci-app-p910nd))
1130 $(eval $(call BuildPackage,luci-app-ushare))
1131 $(eval $(call BuildPackage,luci-app-hd_idle))
1132 $(eval $(call BuildPackage,luci-app-tinyproxy))
1133 $(eval $(call BuildPackage,luci-app-initmgr))
1134 $(eval $(call BuildPackage,luci-app-livestats))
1135 $(eval $(call BuildPackage,luci-app-asterisk))
1136 $(eval $(call BuildPackage,luci-app-polipo))
1137 $(eval $(call BuildPackage,luci-app-openvpn))
1138 $(eval $(call BuildPackage,luci-app-p2pblock))
1140 $(eval $(call BuildPackage,luci-sgi-cgi))
1142 $(eval $(call BuildPackage,luci-theme-base))
1143 $(eval $(call BuildPackage,luci-theme-fledermaus))
1144 $(eval $(call BuildPackage,luci-theme-freifunk))
1145 $(eval $(call BuildPackage,luci-theme-freifunk-bno))
1146 $(eval $(call BuildPackage,luci-theme-freifunk-hannover))
1147 $(eval $(call BuildPackage,luci-theme-openwrt))
1148 $(eval $(call BuildPackage,luci-theme-openwrtlight))
1150 $(eval $(call BuildPackage,luci-i18n-german))
1151 $(eval $(call BuildPackage,luci-i18n-english))
1152 $(eval $(call BuildPackage,luci-i18n-french))
1153 $(eval $(call BuildPackage,luci-i18n-italian))
1154 $(eval $(call BuildPackage,luci-i18n-russian))
1155 $(eval $(call BuildPackage,luci-i18n-portuguese_brazilian))
1156 $(eval $(call BuildPackage,luci-i18n-japanese))
1157 $(eval $(call BuildPackage,luci-i18n-greek))
1158 $(eval $(call BuildPackage,luci-i18n-catalan))
1159 $(eval $(call BuildPackage,luci-i18n-portuguese))