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_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
32 PKG_SELECTED_MODULES:=
34 ifeq ($(BOARD),brcm-2.4)
35 MAKE_FLAGS += CRAP="1"
39 include $(INCLUDE_DIR)/package.mk
43 mkdir -p $(PKG_BUILD_DIR)
44 $(TAR) c -C ../../../ . \
45 --exclude=.pc --exclude=.svn --exclude=.git \
46 --exclude='boa-0*' --exclude='*.o' --exclude='*.so' \
48 tar x -C $(PKG_BUILD_DIR)/
52 define Build/Configure
57 define Package/luci/libtemplate
60 TITLE:=LuCI - Lua Configuration Interface
61 URL:=http://luci.freifunk-halle.net/
62 MAINTAINER:=Steven Barth <steven-at-midlink-dot-org>
67 define Package/luci/fftemplate
68 $(call Package/luci/libtemplate)
70 DEPENDS:=+luci-mod-freifunk
73 define Package/luci/i18ntemplate
74 $(call Package/luci/libtemplate)
79 define Package/luci/thtemplate
80 $(call Package/luci/libtemplate)
85 define Package/luci/webtemplate
86 $(call Package/luci/libtemplate)
90 define Package/luci/collectiontemplate
91 $(call Package/luci/libtemplate)
96 define Package/luci/install/template
97 $(CP) -a $(PKG_BUILD_DIR)/$(2)/dist/* $(1)/ -R
98 $(CP) -a $(PKG_BUILD_DIR)/$(2)/ipkg/* $(1)/CONTROL/ 2>/dev/null || true
105 define Package/luci-core
106 $(call Package/luci/libtemplate)
107 DEPENDS:=+lua +luci-nixio
108 TITLE:=LuCI core libraries
111 define Package/luci-core/install
112 $(call Package/luci/install/template,$(1),libs/core)
113 $(PKG_BUILD_DIR)/build/mkversion.sh $(1)/usr/lib/lua/luci/version.lua \
115 "$(OPENWRTVERSION)" \
120 define Package/luci-core/config
122 prompt "Build Target"
123 default PACKAGE_luci-core_source
125 config PACKAGE_luci-core_compile
128 config PACKAGE_luci-core_stripped
131 config PACKAGE_luci-core_source
137 ifneq ($(CONFIG_PACKAGE_luci-core_compile),)
141 ifneq ($(CONFIG_PACKAGE_luci-core_stripped),)
145 ifneq ($(CONFIG_PACKAGE_luci-core_zipped),)
151 define Package/luci-cbi
152 $(call Package/luci/libtemplate)
153 DEPENDS+=+luci-web +luci-uvl +luci-uci
154 TITLE:=Configuration Binding Interface
157 define Package/luci-cbi/install
158 $(call Package/luci/install/template,$(1),libs/cbi)
162 define Package/luci-uci
163 $(call Package/luci/libtemplate)
165 TITLE:=High-Level UCI API
168 define Package/luci-uci/install
169 $(call Package/luci/install/template,$(1),libs/uci)
173 define Package/luci-fastindex
174 $(call Package/luci/libtemplate)
175 TITLE:=Fastindex indexing module
178 define Package/luci-fastindex/install
179 $(call Package/luci/install/template,$(1),libs/fastindex)
183 define Package/luci-http
184 $(call Package/luci/libtemplate)
185 TITLE:=HTTP Protocol implementation
188 define Package/luci-http/install
189 $(call Package/luci/install/template,$(1),libs/http)
193 define Package/luci-httpclient
194 $(call Package/luci/libtemplate)
195 TITLE:=HTTP(S) client library
196 DEPENDS+=+luci-http +luci-nixio
199 define Package/luci-httpclient/install
200 $(call Package/luci/install/template,$(1),libs/httpclient)
204 define Package/luci-ipkg
205 $(call Package/luci/libtemplate)
206 TITLE:=LuCI IPKG/OPKG call abstraction library
209 define Package/luci-ipkg/install
210 $(call Package/luci/install/template,$(1),libs/ipkg)
214 define Package/luci-json
215 $(call Package/luci/libtemplate)
216 TITLE:=LuCI JSON Library
219 define Package/luci-json/install
220 $(call Package/luci/install/template,$(1),libs/json)
224 define Package/luci-lmo
225 $(call Package/luci/libtemplate)
229 define Package/luci-lmo/install
230 $(call Package/luci/install/template,$(1),libs/lmo)
234 define Package/luci-luanet
235 $(call Package/luci/libtemplate)
240 define Package/luci-luanet/install
241 $(call Package/luci/install/template,$(1),libs/luanet)
245 define Package/luci-iwinfo
246 $(call Package/luci/libtemplate)
247 TITLE:=Wireless abstration library
250 define Package/luci-iwinfo/install
251 $(call Package/luci/install/template,$(1),libs/iwinfo)
255 define Package/luci-lucid
256 $(call Package/luci/libtemplate)
257 TITLE:=LuCId Superserver
258 DEPENDS+=+luci-nixio +luci-http +luci-px5g
261 define Package/luci-lucid/install
262 $(call Package/luci/install/template,$(1),libs/lucid)
263 $(call Package/luci/install/template,$(1),libs/lucid-http)
270 define Package/luci-nixio
271 $(call Package/luci/libtemplate)
272 TITLE:=NIXIO POSIX Library
273 DEPENDS:=+PACKAGE_luci-nixio_openssl:libopenssl +PACKAGE_luci-nixio_cyassl:libcyassl-luci
276 define Package/luci-nixio/install
277 $(call Package/luci/install/template,$(1),libs/nixio)
280 define Package/luci-nixio/config
282 prompt "TLS Provider"
283 default PACKAGE_luci-nixio_axtls
285 config PACKAGE_luci-nixio_axtls
286 bool "Builtin (axTLS)"
288 config PACKAGE_luci-nixio_cyassl
290 select PACKAGE_libcyassl-luci
292 config PACKAGE_luci-nixio_openssl
294 select PACKAGE_libopenssl
298 ifneq ($(CONFIG_PACKAGE_luci-nixio_openssl),)
302 ifneq ($(CONFIG_PACKAGE_luci-nixio_cyassl),)
304 LUCI_CFLAGS+=-I$(STAGING_DIR)/usr/include/cyassl
308 define Package/luci-px5g
309 $(call Package/luci/libtemplate)
310 TITLE:=PX5G RSA Keymaster
314 define Package/luci-px5g/install
315 $(call Package/luci/install/template,$(1),libs/px5g)
319 define Package/luci-sys
320 $(call Package/luci/libtemplate)
321 TITLE:=LuCI Linux/POSIX system library
322 DEPENDS:=+luci-iwinfo
325 define Package/luci-sys/install
326 $(call Package/luci/install/template,$(1),libs/sys)
330 define Package/luci-web
331 $(call Package/luci/libtemplate)
332 DEPENDS+=+luci-http +luci-sys +luci-uci +luci-lucid +luci-sgi-cgi +luci-lmo
333 TITLE:=MVC Webframework
334 $(call Config,luci.main.lang,string,en,Default Language)
337 define Package/luci-web/conffiles
341 define Package/luci-web/install
342 $(call Package/luci/install/template,$(1),libs/web)
346 define Package/luci-uvl
347 $(call Package/luci/libtemplate)
348 DEPENDS+=+luci-sys +luci-uci +luci-core
349 TITLE:=UVL - UCI Validation Layer
352 define Package/luci-uvl/install
353 $(call Package/luci/install/template,$(1),libs/uvl)
358 ### Community Packages ###
360 define Package/luci-freifunk-community
361 $(call Package/luci/fftemplate)
363 +luci-lucid +luci-sgi-cgi +luci-app-splash \
364 +luci-app-ffwizard-leipzig \
366 +PACKAGE_luci-freifunk-community:olsrd-luci +PACKAGE_luci-freifunk-community:olsrd-luci-mod-dyn-gw-plain \
367 +PACKAGE_luci-freifunk-community:olsrd-luci-mod-txtinfo +PACKAGE_luci-freifunk-community:olsrd-luci-mod-nameservice \
368 +PACKAGE_luci-freifunk-community:olsrd-luci-mod-watchdog +PACKAGE_luci-freifunk-community:kmod-tun \
369 +PACKAGE_luci-freifunk-community:ip +PACKAGE_luci-freifunk-community:freifunk-watchdog +luci-app-olsr
370 TITLE:=Freifunk Community Meta-Package
373 define Package/luci-freifunk-community/install
374 $(call Package/luci/install/template,$(1),applications/freifunk-community)
379 define Package/luci-admin-core
380 $(call Package/luci/webtemplate)
381 DEPENDS+=+luci-web +luci-cbi +luci-i18n-english
382 TITLE:=Web UI Core Module
385 define Package/luci-admin-core/conffiles
386 /etc/config/luci_hosts
387 /etc/config/luci_ethers
390 define Package/luci-admin-core/install
391 $(call Package/luci/install/template,$(1),modules/admin-core)
392 touch $(1)/etc/init.d/luci_fixtime || true
396 define Package/luci-admin-mini
397 $(call Package/luci/webtemplate)
398 DEPENDS+=+luci-admin-core
399 TITLE:=LuCI Essentials - stripped down and user-friendly
402 define Package/luci-admin-mini/install
403 $(call Package/luci/install/template,$(1),modules/admin-mini)
407 define Package/luci-admin-full
408 $(call Package/luci/webtemplate)
409 DEPENDS+=+luci-admin-core +luci-ipkg
410 TITLE:=LuCI Administration - full-featured for full control
413 define Package/luci-admin-full/install
414 $(call Package/luci/install/template,$(1),modules/admin-full)
418 define Package/luci-admin-rpc
419 $(call Package/luci/webtemplate)
421 TITLE:=LuCI RPC - JSON-RPC API
424 define Package/luci-admin-rpc/install
425 $(call Package/luci/install/template,$(1),modules/rpc)
429 define Package/luci-mod-freifunk
430 $(call Package/luci/fftemplate)
431 DEPENDS:=+luci-admin-full +luci-json +PACKAGE_luci-mod-freifunk:freifunk-firewall
432 TITLE:=LuCI Freifunk module
435 define Package/luci-mod-freifunk/conffiles
439 define Package/luci-mod-freifunk/install
440 $(call Package/luci/install/template,$(1),modules/freifunk)
447 define Package/luci-app-ffwizard-leipzig
448 $(call Package/luci/fftemplate)
449 TITLE:=Freifunk Leipzig configuration wizard
452 define Package/luci-app-ffwizard-leipzig/install
453 $(call Package/luci/install/template,$(1),applications/luci-ffwizard-leipzig)
457 define Package/luci-app-siitwizard
458 $(call Package/luci/fftemplate)
459 TITLE:=SIIT IPv4-over-IPv6 configuration wizard
460 DEPENDS:=+luci-admin-core +PACKAGE_luci-app-siitwizard:kmod-siit
463 define Package/luci-app-siitwizard/install
464 $(call Package/luci/install/template,$(1),applications/luci-siitwizard)
468 define Package/luci-app-firewall
469 $(call Package/luci/webtemplate)
470 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-firewall:firewall
471 TITLE:=Firewall and Portforwarding application
474 define Package/luci-app-firewall/install
475 $(call Package/luci/install/template,$(1),applications/luci-fw)
479 define Package/luci-app-olsr
480 $(call Package/luci/webtemplate)
481 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-olsr:olsrd-luci \
482 +PACKAGE_luci-app-olsr:olsrd-luci-mod-txtinfo
483 TITLE:=OLSR configuration and status module
486 define Package/luci-app-olsr/install
487 $(call Package/luci/install/template,$(1),applications/luci-olsr)
491 define Package/luci-app-qos
492 $(call Package/luci/webtemplate)
493 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-qos:qos-scripts
494 TITLE:=Quality of Service configuration module
497 define Package/luci-app-qos/install
498 $(call Package/luci/install/template,$(1),applications/luci-qos)
502 define Package/luci-app-splash
503 $(call Package/luci/fftemplate)
504 DEPENDS+=+PACKAGE_luci-app-splash:luci-nixio \
505 +PACKAGE_luci-app-splash:tc +PACKAGE_luci-app-splash:kmod-sched \
506 +PACKAGE_luci-app-splash:iptables-mod-nat-extra \
507 +PACKAGE_luci-app-splash:iptables-mod-ipopt
508 TITLE:=Freifunk DHCP-Splash application
511 define Package/luci-app-splash/conffiles
512 /etc/config/luci_splash
515 define Package/luci-app-splash/install
516 $(call Package/luci/install/template,$(1),applications/luci-splash)
520 define Package/luci-app-statistics
521 $(call Package/luci/webtemplate)
522 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-statistics:collectd \
523 +PACKAGE_luci-app-statistics:rrdtool1 \
524 +PACKAGE_luci-app-statistics:collectd-mod-rrdtool1 \
525 +PACKAGE_luci-app-statistics:collectd-mod-wireless \
526 +PACKAGE_luci-app-statistics:collectd-mod-interface \
527 +PACKAGE_luci-app-statistics:collectd-mod-load
528 TITLE:=LuCI Statistics Application
531 define Package/luci-app-statistics/conffiles
532 /etc/config/luci_statistics
535 define Package/luci-app-statistics/install
536 $(call Package/luci/install/template,$(1),applications/luci-statistics)
539 define Package/luci-app-diag-core
540 $(call Package/luci/webtemplate)
541 DEPENDS+=+PACKAGE_luci-app-diag-core:luci-admin-core
542 TITLE:=LuCI Diagnostics Tools (Core)
545 define Package/luci-app-diag-devinfo
546 $(call Package/luci/webtemplate)
547 DEPENDS+=+PACKAGE_luci_app-diag-devinfo:luci-app-diag-core \
548 +PACKAGE_luci-app-diag-devinfo:smap \
549 +PACKAGE_luci-app-diag-devinfo:netdiscover \
550 +PACKAGE_luci-app-diag-devinfo:mac-to-devinfo \
551 +PACKAGE_luci-app-diag-devinfo:httping \
552 +PACKAGE_luci-app-diag-devinfo:smap-to-devinfo \
553 +PACAKGE_luci-app-diag-devinfo:netdiscover-to-devinfo
554 TITLE:=LuCI Diagnostics Tools (Device Info)
557 define Package/luci-app-voice-core
558 $(call Package/luci/webtemplate)
559 DEPENDS+=+PACKAGE_luci-app-voice-core:luci-admin-core
560 TITLE:=LuCI Voice Software (Core)
563 define Package/luci-app-voice-diag
564 $(call Package/luci/webtemplate)
565 DEPENDS+=+PACKAGE_luci-app-voice-diag:luci-app-voice-core \
566 +PACKAGE_luci-apps-voice-diag:luci-app-diag-devinfo
567 TITLE:=LuCI Voice Software (Diagnostics)
570 define Package/luci-app-diag-devinfo/conffiles
571 /etc/config/luci_devinfo
574 define Package/luci-app-diag-core/install
575 $(call Package/luci/install/template,$(1),applications/luci-diag-core)
578 define Package/luci-app-diag-devinfo/install
579 $(call Package/luci/install/template,$(1),applications/luci-diag-devinfo)
582 define Package/luci-app-voice-core/install
583 $(call Package/luci/install/template,$(1),applications/luci-voice-core)
586 define Package/luci-app-voice-diag/install
587 $(call Package/luci/install/template,$(1),applications/luci-voice-diag)
590 define Package/luci-app-upnp
591 $(call Package/luci/webtemplate)
592 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-upnp:miniupnpd
593 TITLE:=Universal Plug & Play configuration module
596 define Package/luci-app-upnp/install
597 $(call Package/luci/install/template,$(1),applications/luci-upnp)
601 define Package/luci-app-ntpc
602 $(call Package/luci/webtemplate)
603 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-ntpc:ntpclient
604 TITLE:=NTP time synchronisation client configuration module
607 define Package/luci-app-ntpc/install
608 $(call Package/luci/install/template,$(1),applications/luci-ntpc)
612 define Package/luci-app-ddns
613 $(call Package/luci/webtemplate)
614 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-ddns:ddns-scripts
615 TITLE:=Dynamic DNS configuration module
618 define Package/luci-app-ddns/install
619 $(call Package/luci/install/template,$(1),applications/luci-ddns)
623 define Package/luci-app-samba
624 $(call Package/luci/webtemplate)
625 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-samba:samba3
626 TITLE:=Network Shares - Samba SMB/CIFS module
629 define Package/luci-app-samba/install
630 $(call Package/luci/install/template,$(1),applications/luci-samba)
634 define Package/luci-app-uvc_streamer
635 $(call Package/luci/webtemplate)
636 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-uvc_streamer:uvc-streamer
637 TITLE:=Webcam Streaming - UVC-Streamer module
640 define Package/luci-app-uvc_streamer/install
641 $(call Package/luci/install/template,$(1),applications/luci-uvc_streamer)
645 define Package/luci-app-mmc_over_gpio
646 $(call Package/luci/webtemplate)
647 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-mmc_over_gpio:kmod-mmc-over-gpio
651 define Package/luci-app-mmc_over_gpio/install
652 $(call Package/luci/install/template,$(1),applications/luci-mmc_over_gpio)
656 define Package/luci-app-p910nd
657 $(call Package/luci/webtemplate)
658 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-p910nd:p910nd
659 TITLE:=p910nd - Printer server module
662 define Package/luci-app-p910nd/install
663 $(call Package/luci/install/template,$(1),applications/luci-p910nd)
667 define Package/luci-app-ushare
668 $(call Package/luci/webtemplate)
669 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-ushare:ushare
670 TITLE:=ushare - UPnP A/V & DLNA Media Server
673 define Package/luci-app-ushare/install
674 $(call Package/luci/install/template,$(1),applications/luci-ushare)
677 define Package/luci-app-hd_idle
678 $(call Package/luci/webtemplate)
679 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-hd_idle:hd-idle
683 define Package/luci-app-hd_idle/install
684 $(call Package/luci/install/template,$(1),applications/luci-hd_idle)
687 define Package/luci-app-tinyproxy
688 $(call Package/luci/webtemplate)
689 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-tinyproxy:tinyproxy
690 TITLE:=Tinyproxy - HTTP(S)-Proxy
693 define Package/luci-app-tinyproxy/install
694 $(call Package/luci/install/template,$(1),applications/luci-tinyproxy)
697 define Package/luci-app-initmgr
698 $(call Package/luci/webtemplate)
699 DEPENDS+=+luci-admin-full
700 TITLE:=LuCI Initscript Management
703 define Package/luci-app-initmgr/install
704 $(call Package/luci/install/template,$(1),applications/luci-initmgr)
707 define Package/luci-app-livestats
708 $(call Package/luci/webtemplate)
709 DEPENDS+=+luci-admin-core +luci-admin-rpc
710 TITLE:=LuCI Realtime Statistics
713 define Package/luci-app-livestats/install
714 $(call Package/luci/install/template,$(1),applications/luci-livestats)
717 define Package/luci-app-asterisk
718 $(call Package/luci/webtemplate)
719 TITLE:=LuCI Support for Asterisk PBX
720 DEPENDS+=@BROKEN +luci-admin-core +PACKAGE_luci-app-asterisk:asterisk14-xip-core
723 define Package/luci-app-asterisk/install
724 $(call Package/luci/install/template,$(1),applications/luci-asterisk)
727 define Package/luci-app-polipo
728 $(call Package/luci/webtemplate)
729 TITLE:=LuCI Support for the Polipo Proxy
730 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-polipo:polipo
733 define Package/luci-app-polipo/install
734 $(call Package/luci/install/template,$(1),applications/luci-polipo)
737 define Package/luci-app-openvpn
738 $(call Package/luci/webtemplate)
739 TITLE:=LuCI Support for OpenVPN
740 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-openvpn:openvpn
743 define Package/luci-app-openvpn/install
744 $(call Package/luci/install/template,$(1),applications/luci-openvpn)
747 define Package/luci-app-p2pblock
748 $(call Package/luci/webtemplate)
749 TITLE:=LuCI Support for the Freifunk P2P-Block addon
750 DEPENDS+=+luci-admin-core +luci-app-firewall \
751 +PACKAGE_luci-app-p2pblock:freifunk-p2pblock
754 define Package/luci-app-p2pblock/install
755 $(call Package/luci/install/template,$(1),applications/luci-p2pblock)
759 ### Server Gateway Interfaces ###
761 define Package/luci-sgi-cgi
762 $(call Package/luci/libtemplate)
766 define Package/luci-sgi-cgi/install
767 $(call Package/luci/install/template,$(1),libs/sgi-cgi)
771 define Package/luci-theme-base
772 $(call Package/luci/thtemplate)
774 TITLE:=Common base for all themes
777 define Package/luci-theme-base/install
778 $(call Package/luci/install/template,$(1),themes/base)
781 define Package/luci-theme-fledermaus
782 $(call Package/luci/fftemplate)
784 TITLE:=Fledermaus Theme
787 define Package/luci-theme-fledermaus/install
788 $(call Package/luci/install/template,$(1),themes/fledermaus)
791 define Package/luci-theme-freifunk
792 $(call Package/luci/fftemplate)
794 MAINTAINER:=Stefan Pirwitz <stefan-at-freifunk-bno-dot-de>
795 TITLE:=alternative Freifunk Theme
798 define Package/luci-theme-freifunk/install
799 $(call Package/luci/install/template,$(1),themes/freifunk)
802 define Package/luci-theme-freifunk-bno
803 $(call Package/luci/fftemplate)
805 MAINTAINER:=Stefan Pirwitz <stefan-at-freifunk-bno-dot-de>
806 TITLE:=Freifunk Berlin Nordost Theme
809 define Package/luci-theme-freifunk-bno/install
810 $(call Package/luci/install/template,$(1),themes/freifunk-bno)
813 define Package/luci-theme-freifunk-hannover
814 $(call Package/luci/fftemplate)
816 MAINTAINER:=Mikolas Bingemer <mickey-at-freifunk-hannover-dot-de>
817 TITLE:=Freifunk Hannover Theme
820 define Package/luci-theme-freifunk-hannover/install
821 $(call Package/luci/install/template,$(1),themes/freifunk-hannover)
824 define Package/luci-theme-openwrt
825 $(call Package/luci/thtemplate)
826 TITLE:=OpenWrt.org (default)
827 DEPENDS:=+luci-theme-base luci-core
828 DEFAULT:=y if PACKAGE_luci-core
831 define Package/luci-theme-openwrt/install
832 $(call Package/luci/install/template,$(1),themes/openwrt.org)
835 define Package/luci-theme-openwrtlight
836 $(call Package/luci/thtemplate)
837 TITLE:=OpenWrt.org - light variant without images
838 DEPENDS:=+luci-theme-base
841 define Package/luci-theme-openwrtlight/install
842 $(call Package/luci/install/template,$(1),themes/openwrt-light)
847 define Package/luci-i18n-german
848 $(call Package/luci/i18ntemplate)
852 define Package/luci-i18n-german/install
853 $(call Package/luci/install/template,$(1),i18n/german)
857 define Package/luci-i18n-english
858 $(call Package/luci/i18ntemplate)
862 define Package/luci-i18n-english/install
863 $(call Package/luci/install/template,$(1),i18n/english)
867 define Package/luci-i18n-french
868 $(call Package/luci/i18ntemplate)
869 TITLE:=French (by Florian Fainelli)
872 define Package/luci-i18n-french/install
873 $(call Package/luci/install/template,$(1),i18n/french)
877 define Package/luci-i18n-italian
878 $(call Package/luci/i18ntemplate)
879 TITLE:=Italian (by Matteo Croce)
882 define Package/luci-i18n-italian/install
883 $(call Package/luci/install/template,$(1),i18n/italian)
887 define Package/luci-i18n-russian
888 $(call Package/luci/i18ntemplate)
889 TITLE:=Russian (by Skryabin Dmitry)
892 define Package/luci-i18n-russian/install
893 $(call Package/luci/install/template,$(1),i18n/russian)
897 define Package/luci-i18n-portuguese_brazilian
898 $(call Package/luci/i18ntemplate)
899 TITLE:=Portuguese (Brazilian) (by Carlos Cesario)
902 define Package/luci-i18n-portuguese_brazilian/install
903 $(call Package/luci/install/template,$(1),i18n/portuguese_brazilian)
907 define Package/luci-i18n-japanese
908 $(call Package/luci/i18ntemplate)
909 TITLE:=Japanese (by Tsukasa Hamano)
912 define Package/luci-i18n-japanese/install
913 $(call Package/luci/install/template,$(1),i18n/japanese)
917 define Package/luci-i18n-greek
918 $(call Package/luci/i18ntemplate)
919 TITLE:=Greek (by Vasilis Tsiligiannis)
922 define Package/luci-i18n-greek/install
923 $(call Package/luci/install/template,$(1),i18n/greek)
927 define Package/luci-i18n-catalan
928 $(call Package/luci/i18ntemplate)
929 TITLE:=Catalan (by Eduard Duran)
932 define Package/luci-i18n-catalan/install
933 $(call Package/luci/install/template,$(1),i18n/catalan)
937 define Package/luci-i18n-portuguese
938 $(call Package/luci/i18ntemplate)
939 TITLE:=Portuguese (by Jose Monteiro)
942 define Package/luci-i18n-portuguese/install
943 $(call Package/luci/install/template,$(1),i18n/portuguese)
947 define Package/luci-i18n-spanish
948 $(call Package/luci/i18ntemplate)
949 TITLE:=Spanish (by Guillermo Javier Nardoni)
952 define Package/luci-i18n-spanish/install
953 $(call Package/luci/install/template,$(1),i18n/spanish)
957 define Package/luci-i18n-vietnamese
958 $(call Package/luci/i18ntemplate)
959 TITLE:=Vietnamese (by Hong Phuc Dang)
962 define Package/luci-i18n-vietnamese/install
963 $(call Package/luci/install/template,$(1),i18n/vietnamese)
968 define Package/luci-kamikaze
969 $(call Package/luci/collectiontemplate)
970 TITLE:=Standard OpenWrt Kamikaze set including full and mini admin and the standard theme
971 DEPENDS:=+luci-admin-full +luci-admin-mini +luci-theme-openwrt +luci-app-firewall
974 define Package/luci-light
975 $(call Package/luci/collectiontemplate)
976 TITLE:=Minimum package set using only admin mini and a theme without grafics
977 DEPENDS:=+luci-admin-mini +luci-theme-openwrtlight
981 ifneq ($(CONFIG_PACKAGE_luci-core),)
982 PKG_SELECTED_MODULES+=libs/core
984 ifneq ($(CONFIG_PACKAGE_luci-cbi),)
985 PKG_SELECTED_MODULES+=libs/cbi
987 ifneq ($(CONFIG_PACKAGE_luci-fastindex),)
988 PKG_SELECTED_MODULES+=libs/fastindex
990 ifneq ($(CONFIG_PACKAGE_luci-http),)
991 PKG_SELECTED_MODULES+=libs/http
993 ifneq ($(CONFIG_PACKAGE_luci-httpclient),)
994 PKG_SELECTED_MODULES+=libs/httpclient
996 ifneq ($(CONFIG_PACKAGE_luci-ipkg),)
997 PKG_SELECTED_MODULES+=libs/ipkg
999 ifneq ($(CONFIG_PACKAGE_luci-json),)
1000 PKG_SELECTED_MODULES+=libs/json
1002 ifneq ($(CONFIG_PACKAGE_luci-lmo),)
1003 PKG_SELECTED_MODULES+=libs/lmo
1005 ifneq ($(CONFIG_PACKAGE_luci-luanet),)
1006 PKG_SELECTED_MODULES+=libs/luanet
1008 ifneq ($(CONFIG_PACKAGE_luci-iwinfo),)
1009 PKG_SELECTED_MODULES+=libs/iwinfo
1011 ifneq ($(CONFIG_PACKAGE_luci-lucid),)
1012 PKG_SELECTED_MODULES+=libs/lucid libs/lucid-http
1014 ifneq ($(CONFIG_PACKAGE_luci-nixio),)
1015 PKG_SELECTED_MODULES+=libs/nixio
1017 ifneq ($(CONFIG_PACKAGE_luci-px5g),)
1018 PKG_SELECTED_MODULES+=libs/px5g
1020 ifneq ($(CONFIG_PACKAGE_luci-uci),)
1021 PKG_SELECTED_MODULES+=libs/uci
1023 ifneq ($(CONFIG_PACKAGE_luci-sys),)
1024 PKG_SELECTED_MODULES+=libs/sys
1026 ifneq ($(CONFIG_PACKAGE_luci-web),)
1027 PKG_SELECTED_MODULES+=libs/web
1029 ifneq ($(CONFIG_PACKAGE_luci-uvl),)
1030 PKG_SELECTED_MODULES+=libs/uvl
1033 ifneq ($(CONFIG_PACKAGE_luci-admin-core),)
1034 PKG_SELECTED_MODULES+=modules/admin-core
1036 ifneq ($(CONFIG_PACKAGE_luci-admin-mini),)
1037 PKG_SELECTED_MODULES+=modules/admin-mini
1039 ifneq ($(CONFIG_PACKAGE_luci-admin-full),)
1040 PKG_SELECTED_MODULES+=modules/admin-full
1042 ifneq ($(CONFIG_PACKAGE_luci-admin-rpc),)
1043 PKG_SELECTED_MODULES+=modules/rpc
1045 ifneq ($(CONFIG_PACKAGE_luci-mod-freifunk),)
1046 PKG_SELECTED_MODULES+=modules/freifunk
1049 ifneq ($(CONFIG_PACKAGE_luci-freifunk-community),)
1050 PKG_SELECTED_MODULES+=applications/freifunk-community
1053 ifneq ($(CONFIG_PACKAGE_luci-app-ffwizard-leipzig),)
1054 PKG_SELECTED_MODULES+=applications/luci-ffwizard-leipzig
1056 ifneq ($(CONFIG_PACKAGE_luci-app-siitwizard),)
1057 PKG_SELECTED_MODULES+=applications/luci-siitwizard
1059 ifneq ($(CONFIG_PACKAGE_luci-app-firewall),)
1060 PKG_SELECTED_MODULES+=applications/luci-fw
1062 ifneq ($(CONFIG_PACKAGE_luci-app-olsr),)
1063 PKG_SELECTED_MODULES+=applications/luci-olsr
1065 ifneq ($(CONFIG_PACKAGE_luci-app-qos),)
1066 PKG_SELECTED_MODULES+=applications/luci-qos
1068 ifneq ($(CONFIG_PACKAGE_luci-app-splash),)
1069 PKG_SELECTED_MODULES+=applications/luci-splash
1071 ifneq ($(CONFIG_PACKAGE_luci-app-statistics),)
1072 PKG_SELECTED_MODULES+=applications/luci-statistics
1074 ifneq ($(CONFIG_PACKAGE_luci-app-voice-core),)
1075 PKG_SELECTED_MODULES+=applications/luci-voice-core
1077 ifneq ($(CONFIG_PACKAGE_luci-app-voice-diag),)
1078 PKG_SELECTED_MODULES+=applications/luci-voice-diag
1080 ifneq ($(CONFIG_PACKAGE_luci-app-diag-core),)
1081 PKG_SELECTED_MODULES+=applications/luci-diag-core
1083 ifneq ($(CONFIG_PACKAGE_luci-app-diag-devinfo),)
1084 PKG_SELECTED_MODULES+=applications/luci-diag-devinfo
1086 ifneq ($(CONFIG_PACKAGE_luci-app-upnp),)
1087 PKG_SELECTED_MODULES+=applications/luci-upnp
1089 ifneq ($(CONFIG_PACKAGE_luci-app-ntpc),)
1090 PKG_SELECTED_MODULES+=applications/luci-ntpc
1092 ifneq ($(CONFIG_PACKAGE_luci-app-ddns),)
1093 PKG_SELECTED_MODULES+=applications/luci-ddns
1095 ifneq ($(CONFIG_PACKAGE_luci-app-samba),)
1096 PKG_SELECTED_MODULES+=applications/luci-samba
1098 ifneq ($(CONFIG_PACKAGE_luci-app-uvc_streamer),)
1099 PKG_SELECTED_MODULES+=applications/luci-uvc_streamer
1101 ifneq ($(CONFIG_PACKAGE_luci-app-mmc_over_gpio),)
1102 PKG_SELECTED_MODULES+=applications/luci-mmc_over_gpio
1104 ifneq ($(CONFIG_PACKAGE_luci-app-p910nd),)
1105 PKG_SELECTED_MODULES+=applications/luci-p910nd
1107 ifneq ($(CONFIG_PACKAGE_luci-app-ushare),)
1108 PKG_SELECTED_MODULES+=applications/luci-ushare
1110 ifneq ($(CONFIG_PACKAGE_luci-app-hd_idle),)
1111 PKG_SELECTED_MODULES+=applications/luci-hd_idle
1113 ifneq ($(CONFIG_PACKAGE_luci-app-tinyproxy),)
1114 PKG_SELECTED_MODULES+=applications/luci-tinyproxy
1116 ifneq ($(CONFIG_PACKAGE_luci-app-initmgr),)
1117 PKG_SELECTED_MODULES+=applications/luci-initmgr
1119 ifneq ($(CONFIG_PACKAGE_luci-app-livestats),)
1120 PKG_SELECTED_MODULES+=applications/luci-livestats
1122 ifneq ($(CONFIG_PACKAGE_luci-app-asterisk),)
1123 PKG_SELECTED_MODULES+=applications/luci-asterisk
1125 ifneq ($(CONFIG_PACKAGE_luci-app-polipo),)
1126 PKG_SELECTED_MODULES+=applications/luci-polipo
1128 ifneq ($(CONFIG_PACKAGE_luci-app-openvpn),)
1129 PKG_SELECTED_MODULES+=applications/luci-openvpn
1131 ifneq ($(CONFIG_PACKAGE_luci-app-p2pblock),)
1132 PKG_SELECTED_MODULES+=applications/luci-p2pblock
1136 ifneq ($(CONFIG_PACKAGE_luci-sgi-cgi),)
1137 PKG_SELECTED_MODULES+=libs/sgi-cgi
1139 ifneq ($(CONFIG_PACKAGE_luci-sgi-luci),)
1140 PKG_SELECTED_MODULES+=libs/sgi-luci
1143 ifneq ($(CONFIG_PACKAGE_luci-theme-base),)
1144 PKG_SELECTED_MODULES+=themes/base
1146 ifneq ($(CONFIG_PACKAGE_luci-theme-fledermaus),)
1147 PKG_SELECTED_MODULES+=themes/fledermaus
1149 ifneq ($(CONFIG_PACKAGE_luci-theme-freifunk-bno),)
1150 PKG_SELECTED_MODULES+=themes/freifunk-bno
1152 ifneq ($(CONFIG_PACKAGE_luci-theme-freifunk-hannover),)
1153 PKG_SELECTED_MODULES+=themes/freifunk-hannover
1155 ifneq ($(CONFIG_PACKAGE_luci-theme-freifunk),)
1156 PKG_SELECTED_MODULES+=themes/freifunk
1158 ifneq ($(CONFIG_PACKAGE_luci-theme-openwrt),)
1159 PKG_SELECTED_MODULES+=themes/openwrt.org
1161 ifneq ($(CONFIG_PACKAGE_luci-theme-openwrtlight),)
1162 PKG_SELECTED_MODULES+=themes/openwrt-light
1165 ifneq ($(CONFIG_PACKAGE_luci-i18n-german),)
1166 PKG_SELECTED_MODULES+=i18n/german
1168 ifneq ($(CONFIG_PACKAGE_luci-i18n-english),)
1169 PKG_SELECTED_MODULES+=i18n/english
1171 ifneq ($(CONFIG_PACKAGE_luci-i18n-french),)
1172 PKG_SELECTED_MODULES+=i18n/french
1174 ifneq ($(CONFIG_PACKAGE_luci-i18n-italian),)
1175 PKG_SELECTED_MODULES+=i18n/italian
1177 ifneq ($(CONFIG_PACKAGE_luci-i18n-russian),)
1178 PKG_SELECTED_MODULES+=i18n/russian
1180 ifneq ($(CONFIG_PACKAGE_luci-i18n-portuguese_brazilian),)
1181 PKG_SELECTED_MODULES+=i18n/portuguese_brazilian
1183 ifneq ($(CONFIG_PACKAGE_luci-i18n-japanese),)
1184 PKG_SELECTED_MODULES+=i18n/japanese
1186 ifneq ($(CONFIG_PACKAGE_luci-i18n-greek),)
1187 PKG_SELECTED_MODULES+=i18n/greek
1189 ifneq ($(CONFIG_PACKAGE_luci-i18n-catalan),)
1190 PKG_SELECTED_MODULES+=i18n/catalan
1192 ifneq ($(CONFIG_PACKAGE_luci-i18n-portuguese),)
1193 PKG_SELECTED_MODULES+=i18n/portuguese
1195 ifneq ($(CONFIG_PACKAGE_luci-i18n-spanish),)
1196 PKG_SELECTED_MODULES+=i18n/spanish
1198 ifneq ($(CONFIG_PACKAGE_luci-i18n-vietnamese),)
1199 PKG_SELECTED_MODULES+=i18n/vietnamese
1204 MODULES="$(PKG_SELECTED_MODULES)" \
1205 LUA_TARGET="$(LUA_TARGET)" \
1206 LUA_SHLIBS="-llua -lm -ldl -lcrypt" \
1207 CFLAGS="$(TARGET_CFLAGS) $(LUCI_CFLAGS) -I$(STAGING_DIR)/usr/include" \
1208 LDFLAGS="$(TARGET_LDFLAGS) -L$(STAGING_DIR)/usr/lib" \
1209 NIXIO_TLS="$(NIXIO_TLS)" OS="Linux"
1212 $(eval $(call BuildPackage,luci-core))
1213 $(eval $(call BuildPackage,luci-cbi))
1214 $(eval $(call BuildPackage,luci-fastindex))
1215 $(eval $(call BuildPackage,luci-http))
1216 $(eval $(call BuildPackage,luci-httpclient))
1217 $(eval $(call BuildPackage,luci-ipkg))
1218 $(eval $(call BuildPackage,luci-json))
1219 $(eval $(call BuildPackage,luci-lmo))
1220 $(eval $(call BuildPackage,luci-luanet))
1221 $(eval $(call BuildPackage,luci-iwinfo))
1222 $(eval $(call BuildPackage,luci-lucid))
1223 $(eval $(call BuildPackage,luci-nixio))
1224 $(eval $(call BuildPackage,luci-px5g))
1225 $(eval $(call BuildPackage,luci-uci))
1226 $(eval $(call BuildPackage,luci-sys))
1227 $(eval $(call BuildPackage,luci-web))
1228 $(eval $(call BuildPackage,luci-uvl))
1230 $(eval $(call BuildPackage,luci-admin-core))
1231 $(eval $(call BuildPackage,luci-admin-mini))
1232 $(eval $(call BuildPackage,luci-admin-full))
1233 $(eval $(call BuildPackage,luci-admin-rpc))
1234 $(eval $(call BuildPackage,luci-mod-freifunk))
1236 $(eval $(call BuildPackage,luci-freifunk-community))
1238 $(eval $(call BuildPackage,luci-app-ffwizard-leipzig))
1239 $(eval $(call BuildPackage,luci-app-siitwizard))
1240 $(eval $(call BuildPackage,luci-app-firewall))
1241 $(eval $(call BuildPackage,luci-app-olsr))
1242 $(eval $(call BuildPackage,luci-app-qos))
1243 $(eval $(call BuildPackage,luci-app-splash))
1244 $(eval $(call BuildPackage,luci-app-statistics))
1245 $(eval $(call BuildPackage,luci-app-diag-core))
1246 $(eval $(call BuildPackage,luci-app-diag-devinfo))
1247 $(eval $(call BuildPackage,luci-app-voice-core))
1248 $(eval $(call BuildPackage,luci-app-voice-diag))
1249 $(eval $(call BuildPackage,luci-app-upnp))
1250 $(eval $(call BuildPackage,luci-app-ntpc))
1251 $(eval $(call BuildPackage,luci-app-ddns))
1252 $(eval $(call BuildPackage,luci-app-samba))
1253 $(eval $(call BuildPackage,luci-app-uvc_streamer))
1254 $(eval $(call BuildPackage,luci-app-mmc_over_gpio))
1255 $(eval $(call BuildPackage,luci-app-p910nd))
1256 $(eval $(call BuildPackage,luci-app-ushare))
1257 $(eval $(call BuildPackage,luci-app-hd_idle))
1258 $(eval $(call BuildPackage,luci-app-tinyproxy))
1259 $(eval $(call BuildPackage,luci-app-initmgr))
1260 $(eval $(call BuildPackage,luci-app-livestats))
1261 $(eval $(call BuildPackage,luci-app-asterisk))
1262 $(eval $(call BuildPackage,luci-app-polipo))
1263 $(eval $(call BuildPackage,luci-app-openvpn))
1264 $(eval $(call BuildPackage,luci-app-p2pblock))
1266 $(eval $(call BuildPackage,luci-sgi-cgi))
1268 $(eval $(call BuildPackage,luci-theme-base))
1269 $(eval $(call BuildPackage,luci-theme-fledermaus))
1270 $(eval $(call BuildPackage,luci-theme-freifunk))
1271 $(eval $(call BuildPackage,luci-theme-freifunk-bno))
1272 $(eval $(call BuildPackage,luci-theme-freifunk-hannover))
1273 $(eval $(call BuildPackage,luci-theme-openwrt))
1274 $(eval $(call BuildPackage,luci-theme-openwrtlight))
1276 $(eval $(call BuildPackage,luci-i18n-german))
1277 $(eval $(call BuildPackage,luci-i18n-english))
1278 $(eval $(call BuildPackage,luci-i18n-french))
1279 $(eval $(call BuildPackage,luci-i18n-italian))
1280 $(eval $(call BuildPackage,luci-i18n-russian))
1281 $(eval $(call BuildPackage,luci-i18n-portuguese_brazilian))
1282 $(eval $(call BuildPackage,luci-i18n-japanese))
1283 $(eval $(call BuildPackage,luci-i18n-greek))
1284 $(eval $(call BuildPackage,luci-i18n-catalan))
1285 $(eval $(call BuildPackage,luci-i18n-portuguese))
1286 $(eval $(call BuildPackage,luci-i18n-spanish))
1287 $(eval $(call BuildPackage,luci-i18n-vietnamese))
1289 $(eval $(call BuildPackage,luci-kamikaze))
1290 $(eval $(call BuildPackage,luci-light))