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 ${PKG_SOURCE_URL} | sed -ne's/^Last Changed Rev: //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
29 PKG_BUILD_DEPENDS:=libnotimpl
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
54 CATEGORY:=Administration
55 TITLE:=LuCI - Lua Configuration Interface
56 URL:=http://luci.freifunk-halle.net/
57 MAINTAINER:=Steven Barth <steven-at-midlink-dot-org>
58 SUBMENU:=LuCI Libraries
62 define Package/luci/fftemplate
63 $(call Package/luci/libtemplate)
64 SUBMENU:=LuCI Freifunk Support
65 DEPENDS:=+luci-mod-freifunk
68 define Package/luci/httpdtemplate
69 $(call Package/luci/libtemplate)
74 define Package/luci/i18ntemplate
75 $(call Package/luci/libtemplate)
76 SUBMENU:=LuCI Translations
80 define Package/luci/thtemplate
81 $(call Package/luci/libtemplate)
86 define Package/luci/webtemplate
87 $(call Package/luci/libtemplate)
88 SUBMENU:=LuCI Components
92 define Package/luci/install/template
93 $(CP) -a $(PKG_BUILD_DIR)/$(2)/dist/* $(1)/ -R
94 $(CP) -a $(PKG_BUILD_DIR)/$(2)/ipkg/* $(1)/CONTROL/ 2>/dev/null || true
101 define Package/luci-core
102 $(call Package/luci/libtemplate)
104 TITLE:=LuCI core libraries
107 define Package/luci-core/install
108 $(call Package/luci/install/template,$(1),libs/core)
111 define Package/luci-core/config
113 prompt "Build Target"
114 default PACKAGE_luci-core_source
116 config PACKAGE_luci-core_compile
119 config PACKAGE_luci-core_stripped
122 config PACKAGE_luci-core_source
128 ifneq ($(CONFIG_PACKAGE_luci-core_compile),)
132 ifneq ($(CONFIG_PACKAGE_luci-core_stripped),)
138 define Package/luci-cbi
139 $(call Package/luci/libtemplate)
140 DEPENDS+=+luci-web +luci-uvl +luci-uci
141 TITLE:=Configuration Binding Interface
144 define Package/luci-cbi/install
145 $(call Package/luci/install/template,$(1),libs/cbi)
149 define Package/luci-uci
150 $(call Package/luci/libtemplate)
152 TITLE:=High-Level UCI API
155 define Package/luci-uci/install
156 $(call Package/luci/install/template,$(1),libs/uci)
160 define Package/luci-fastindex
161 $(call Package/luci/libtemplate)
162 TITLE:=Fastindex indexing module
165 define Package/luci-fastindex/install
166 $(call Package/luci/install/template,$(1),libs/fastindex)
170 define Package/luci-http
171 $(call Package/luci/libtemplate)
172 TITLE:=HTTP Protocol implementation
175 define Package/luci-http/install
176 $(call Package/luci/install/template,$(1),libs/http)
180 define Package/luci-ipkg
181 $(call Package/luci/libtemplate)
182 TITLE:=LuCI IPKG/OPKG call abstraction library
185 define Package/luci-ipkg/install
186 $(call Package/luci/install/template,$(1),libs/ipkg)
190 define Package/luci-json
191 $(call Package/luci/libtemplate)
192 TITLE:=LuCI JSON Library
195 define Package/luci-json/install
196 $(call Package/luci/install/template,$(1),libs/json)
200 define Package/luci-sys
201 $(call Package/luci/libtemplate)
202 TITLE:=LuCI Linux/POSIX system library
205 define Package/luci-sys/install
206 $(call Package/luci/install/template,$(1),libs/sys)
210 define Package/luci-web
211 $(call Package/luci/libtemplate)
212 DEPENDS+=+luci-http +luci-sys +luci-uci +luci-sgi-cgi
213 TITLE:=MVC Webframework
216 define Package/luci-web/conffiles
220 define Package/luci-web/install
221 $(call Package/luci/install/template,$(1),libs/web)
225 define Package/luci-uvl
226 $(call Package/luci/libtemplate)
227 DEPENDS+=+luci-sys +luci-uci +luci-core
228 TITLE:=UVL - UCI Validation Layer
231 define Package/luci-uvl/install
232 $(call Package/luci/install/template,$(1),libs/uvl)
239 define Package/luci-httpd
240 $(call Package/luci/httpdtemplate)
241 DEPENDS:=+luci-http +libuci
245 define Package/luci-httpd/install
246 $(call Package/luci/install/template,$(1),libs/lucittpd)
251 ### Community Packages ###
253 define Package/luci-freifunk-community
254 $(call Package/luci/fftemplate)
256 +luci-sgi-cgi +luci-app-splash +luci-app-olsr \
257 +luci-app-ffwizard-leipzig \
258 +luci-theme-fledermaus \
260 +PACKAGE_luci-freifunk-community:olsrd-luci +PACKAGE_luci-freifunk-community:olsrd-luci-mod-dyn-gw \
261 +PACKAGE_luci-freifunk-community:olsrd-luci-mod-txtinfo +PACKAGE_luci-freifunk-community:olsrd-luci-mod-nameservice \
262 +PACKAGE_luci-freifunk-community:kmod-tun +PACKAGE_luci-freifunk-community:ip
263 TITLE:=Freifunk Community Meta-Package
266 define Package/luci-freifunk-community/install
267 $(call Package/luci/install/template,$(1),applications/freifunk-community)
272 define Package/luci-admin-core
273 $(call Package/luci/webtemplate)
274 DEPENDS+=+luci-web +luci-cbi +luci-theme-openwrt +luci-i18n-english
275 TITLE:=Web UI Core Module
278 define Package/luci-admin-core/conffiles
279 /etc/config/luci_hosts
280 /etc/config/luci_ethers
283 define Package/luci-admin-core/install
284 $(call Package/luci/install/template,$(1),modules/admin-core)
288 define Package/luci-admin-mini
289 $(call Package/luci/webtemplate)
290 DEPENDS+=+luci-admin-core
291 TITLE:=LuCI Essentials - stripped down and user-friendly
294 define Package/luci-admin-mini/install
295 $(call Package/luci/install/template,$(1),modules/admin-mini)
299 define Package/luci-admin-full
300 $(call Package/luci/webtemplate)
301 DEPENDS+=+luci-admin-core +luci-ipkg +luci-app-firewall
302 TITLE:=LuCI Administration - full-featured for full control
305 define Package/luci-admin-full/install
306 $(call Package/luci/install/template,$(1),modules/admin-full)
310 define Package/luci-admin-rpc
311 $(call Package/luci/webtemplate)
313 TITLE:=LuCI RPC - JSON-RPC API
316 define Package/luci-admin-rpc/install
317 $(call Package/luci/install/template,$(1),modules/rpc)
321 define Package/luci-mod-freifunk
322 $(call Package/luci/fftemplate)
323 DEPENDS:=+luci-admin-full
324 TITLE:=LuCI Freifunk module
327 define Package/luci-mod-freifunk/conffiles
331 define Package/luci-mod-freifunk/install
332 $(call Package/luci/install/template,$(1),modules/freifunk)
339 define Package/luci-app-ffwizard-leipzig
340 $(call Package/luci/fftemplate)
341 TITLE:=Freifunk Leipzig configuration wizard
344 define Package/luci-app-ffwizard-leipzig/install
345 $(call Package/luci/install/template,$(1),applications/luci-ffwizard-leipzig)
349 define Package/luci-app-siitwizard
350 $(call Package/luci/fftemplate)
351 TITLE:=SIIT IPv4-over-IPv6 configuration wizard
352 DEPENDS:=+luci-admin-core +PACKAGE_luci-app-siitwizard:kmod-siit
355 define Package/luci-app-siitwizard/install
356 $(call Package/luci/install/template,$(1),applications/luci-siitwizard)
360 define Package/luci-app-firewall
361 $(call Package/luci/webtemplate)
362 DEPENDS+=+luci-admin-core
363 TITLE:=Firewall and Portforwarding application
366 define Package/luci-app-firewall/install
367 $(call Package/luci/install/template,$(1),applications/luci-fw)
371 define Package/luci-app-olsr
372 $(call Package/luci/webtemplate)
373 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-olsr:olsrd-luci +PACkAGE_luci-app-olsr:olsrd-luci-mod-txtinfo
374 TITLE:=OLSR configuration and status module
377 define Package/luci-app-olsr/install
378 $(call Package/luci/install/template,$(1),applications/luci-olsr)
382 define Package/luci-app-qos
383 $(call Package/luci/webtemplate)
384 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-qos:qos-scripts
385 TITLE:=Quality of Service configuration module
388 define Package/luci-app-qos/install
389 $(call Package/luci/install/template,$(1),applications/luci-qos)
393 define Package/luci-app-splash
394 $(call Package/luci/fftemplate)
395 DEPENDS+=+PACKAGE_luci-app-splash:luasocket
396 TITLE:=Freifunk DHCP-Splash application
399 define Package/luci-app-splash/conffiles
400 /etc/config/luci_splash
403 define Package/luci-app-splash/install
404 $(call Package/luci/install/template,$(1),applications/luci-splash)
408 define Package/luci-app-statistics
409 $(call Package/luci/webtemplate)
410 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-statistics:collectd \
411 +PACKAGE_luci-app-statistics:collectd-mod-rrdtool1 +PACKAGE_luci-app-statistics:rrdtool1
412 TITLE:=LuCI Statistics Application
415 define Package/luci-app-statistics/conffiles
416 /etc/config/luci_statistics
419 define Package/luci-app-statistics/install
420 $(call Package/luci/install/template,$(1),applications/luci-statistics)
424 define Package/luci-app-upnp
425 $(call Package/luci/webtemplate)
426 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-upnp:miniupnpd
427 TITLE:=Universal Plug & Play configuration module
430 define Package/luci-app-upnp/install
431 $(call Package/luci/install/template,$(1),applications/luci-upnp)
435 define Package/luci-app-ntpc
436 $(call Package/luci/webtemplate)
437 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-ntpc:ntpclient
438 TITLE:=NTP time synchronisation client configuration module
441 define Package/luci-app-ntpc/install
442 $(call Package/luci/install/template,$(1),applications/luci-ntpc)
446 define Package/luci-app-ddns
447 $(call Package/luci/webtemplate)
448 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-ddns:ddns-scripts
449 TITLE:=Dynamic DNS configuration module
452 define Package/luci-app-ddns/install
453 $(call Package/luci/install/template,$(1),applications/luci-ddns)
457 define Package/luci-app-samba
458 $(call Package/luci/webtemplate)
459 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-samba:samba3
460 TITLE:=Network Shares - Samba SMB/CIFS module
463 define Package/luci-app-samba/install
464 $(call Package/luci/install/template,$(1),applications/luci-samba)
468 define Package/luci-app-uvc_streamer
469 $(call Package/luci/webtemplate)
470 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-uvc_streamer:uvc-streamer
471 TITLE:=Webcam Streaming - UVC-Streamer module
474 define Package/luci-app-uvc_streamer/install
475 $(call Package/luci/install/template,$(1),applications/luci-uvc_streamer)
479 define Package/luci-app-mmc_over_gpio
480 $(call Package/luci/webtemplate)
481 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-mmc_over_gpio:kmod-mmc-over-gpio
485 define Package/luci-app-mmc_over_gpio/install
486 $(call Package/luci/install/template,$(1),applications/luci-mmc_over_gpio)
490 define Package/luci-app-p910nd
491 $(call Package/luci/webtemplate)
492 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-p910nd:p910nd
493 TITLE:=p910nd - Printer server module
496 define Package/luci-app-p910nd/install
497 $(call Package/luci/install/template,$(1),applications/luci-p910nd)
501 define Package/luci-app-ushare
502 $(call Package/luci/webtemplate)
503 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-ushare:ushare
504 TITLE:=ushare - UPnP A/V & DLNA Media Server
507 define Package/luci-app-ushare/install
508 $(call Package/luci/install/template,$(1),applications/luci-ushare)
511 define Package/luci-app-hd_idle
512 $(call Package/luci/webtemplate)
513 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-hd_idle:hd-idle
517 define Package/luci-app-hd_idle/install
518 $(call Package/luci/install/template,$(1),applications/luci-hd_idle)
521 define Package/luci-app-tinyproxy
522 $(call Package/luci/webtemplate)
523 DEPENDS+=+luci-admin-full +PACKAGE_luci-app-tinyproxy:tinyproxy
524 TITLE:=Tinyproxy - HTTP(S)-Proxy
527 define Package/luci-app-tinyproxy/install
528 $(call Package/luci/install/template,$(1),applications/luci-tinyproxy)
531 define Package/luci-app-initmgr
532 $(call Package/luci/webtemplate)
533 DEPENDS+=+luci-admin-full
534 TITLE:=LuCI Initscript Management
537 define Package/luci-app-initmgr/install
538 $(call Package/luci/install/template,$(1),applications/luci-initmgr)
541 define Package/luci-app-livestats
542 $(call Package/luci/webtemplate)
543 DEPENDS+=+luci-admin-core +luci-admin-rpc
544 TITLE:=LuCI Realtime Statistics
547 define Package/luci-app-livestats/install
548 $(call Package/luci/install/template,$(1),applications/luci-livestats)
551 define Package/luci-app-asterisk
552 $(call Package/luci/webtemplate)
553 TITLE:=LuCI Support for Asterisk PBX
554 DEPENDS+=@BROKEN +luci-admin-core +PACKAGE_luci-app-asterisk:asterisk14
557 define Package/luci-app-asterisk/install
558 $(call Package/luci/install/template,$(1),applications/luci-asterisk)
561 define Package/luci-app-polipo
562 $(call Package/luci/webtemplate)
563 TITLE:=LuCI Support for the Polipo Proxy
564 DEPENDS+=+luci-admin-core +PACKAGE_luci-app-polipo:polipo
567 define Package/luci-app-polipo/install
568 $(call Package/luci/install/template,$(1),applications/luci-polipo)
571 define Package/luci-app-openvpn
572 $(call Package/luci/webtemplate)
573 TITLE:=LuCI Support for OpenVPN
574 DEPENDS+=@BROKEN +luci-admin-core +PACKAGE_luci-app-openvpn:openvpn
577 define Package/luci-app-openvpn/install
578 $(call Package/luci/install/template,$(1),applications/luci-openvpn)
582 ### Server Gateway Interfaces ###
584 define Package/luci-sgi-cgi
585 $(call Package/luci/libtemplate)
589 define Package/luci-sgi-cgi/install
590 $(call Package/luci/install/template,$(1),libs/sgi-cgi)
593 define Package/luci-sgi-luci
594 $(call Package/luci/libtemplate)
596 TITLE:=SGI for LuCIttpd
599 define Package/luci-sgi-luci/install
600 $(call Package/luci/install/template,$(1),libs/sgi-luci)
603 define Package/luci-sgi-webuci
604 $(call Package/luci/libtemplate)
605 TITLE:=SGI for Webuci
608 define Package/luci-sgi-webuci/install
609 $(call Package/luci/install/template,$(1),libs/sgi-webuci)
613 define Package/luci-theme-base
614 $(call Package/luci/thtemplate)
616 TITLE:=Common base for all themes
619 define Package/luci-theme-base/install
620 $(call Package/luci/install/template,$(1),themes/base)
623 define Package/luci-theme-fledermaus
624 $(call Package/luci/fftemplate)
626 TITLE:=Fledermaus Theme
629 define Package/luci-theme-fledermaus/install
630 $(call Package/luci/install/template,$(1),themes/fledermaus)
633 define Package/luci-theme-freifunk
634 $(call Package/luci/thtemplate)
636 MAINTAINER:=Stefan Pirwitz <stefan-at-freifunk-bno-dot-de>
637 TITLE:=alternative Freifunk Theme
640 define Package/luci-theme-freifunk/install
641 $(call Package/luci/install/template,$(1),themes/freifunk)
644 define Package/luci-theme-freifunk-bno
645 $(call Package/luci/thtemplate)
647 MAINTAINER:=Stefan Pirwitz <stefan-at-freifunk-bno-dot-de>
648 TITLE:=Freifunk Berlin Nordost Theme
651 define Package/luci-theme-freifunk-bno/install
652 $(call Package/luci/install/template,$(1),themes/freifunk-bno)
655 define Package/luci-theme-openwrt
656 $(call Package/luci/thtemplate)
657 TITLE:=OpenWrt.org (default)
658 DEPENDS:=+luci-theme-base
661 define Package/luci-theme-openwrt/install
662 $(call Package/luci/install/template,$(1),themes/openwrt.org)
665 define Package/luci-theme-openwrtlight
666 $(call Package/luci/thtemplate)
667 TITLE:=OpenWrt.org - light variant without images
668 DEPENDS:=+luci-theme-base
671 define Package/luci-theme-openwrtlight/install
672 $(call Package/luci/install/template,$(1),themes/openwrt-light)
677 define Package/luci-i18n-german
678 $(call Package/luci/i18ntemplate)
682 define Package/luci-i18n-german/install
683 $(call Package/luci/install/template,$(1),i18n/german)
687 define Package/luci-i18n-english
688 $(call Package/luci/i18ntemplate)
692 define Package/luci-i18n-english/install
693 $(call Package/luci/install/template,$(1),i18n/english)
697 define Package/luci-i18n-french
698 $(call Package/luci/i18ntemplate)
699 TITLE:=French (by Florian Fainelli)
702 define Package/luci-i18n-french/install
703 $(call Package/luci/install/template,$(1),i18n/french)
707 define Package/luci-i18n-italian
708 $(call Package/luci/i18ntemplate)
709 TITLE:=Italian (by Matteo Croce)
712 define Package/luci-i18n-italian/install
713 $(call Package/luci/install/template,$(1),i18n/italian)
717 define Package/luci-i18n-russian
718 $(call Package/luci/i18ntemplate)
719 TITLE:=Russian (by Skryabin Dmitry)
722 define Package/luci-i18n-russian/install
723 $(call Package/luci/install/template,$(1),i18n/russian)
727 define Package/luci-i18n-portuguese_brazilian
728 $(call Package/luci/i18ntemplate)
729 TITLE:=Portuguese (Brazilian) (by Carlos Cesario)
732 define Package/luci-i18n-portuguese_brazilian/install
733 $(call Package/luci/install/template,$(1),i18n/portuguese_brazilian)
738 ifneq ($(CONFIG_PACKAGE_luci-core),)
739 PKG_SELECTED_MODULES+=libs/core
741 ifneq ($(CONFIG_PACKAGE_luci-cbi),)
742 PKG_SELECTED_MODULES+=libs/cbi
744 ifneq ($(CONFIG_PACKAGE_luci-fastindex),)
745 PKG_SELECTED_MODULES+=libs/fastindex
747 ifneq ($(CONFIG_PACKAGE_luci-http),)
748 PKG_SELECTED_MODULES+=libs/http
750 ifneq ($(CONFIG_PACKAGE_luci-ipkg),)
751 PKG_SELECTED_MODULES+=libs/ipkg
753 ifneq ($(CONFIG_PACKAGE_luci-json),)
754 PKG_SELECTED_MODULES+=libs/json
756 ifneq ($(CONFIG_PACKAGE_luci-uci),)
757 PKG_SELECTED_MODULES+=libs/uci
759 ifneq ($(CONFIG_PACKAGE_luci-sys),)
760 PKG_SELECTED_MODULES+=libs/sys
762 ifneq ($(CONFIG_PACKAGE_luci-web),)
763 PKG_SELECTED_MODULES+=libs/web
765 ifneq ($(CONFIG_PACKAGE_luci-uvl),)
766 PKG_SELECTED_MODULES+=libs/uvl
769 ifneq ($(CONFIG_PACKAGE_luci-httpd),)
770 PKG_SELECTED_MODULES+=libs/lucittpd
773 ifneq ($(CONFIG_PACKAGE_luci-admin-core),)
774 PKG_SELECTED_MODULES+=modules/admin-core
776 ifneq ($(CONFIG_PACKAGE_luci-admin-mini),)
777 PKG_SELECTED_MODULES+=modules/admin-mini
779 ifneq ($(CONFIG_PACKAGE_luci-admin-full),)
780 PKG_SELECTED_MODULES+=modules/admin-full
782 ifneq ($(CONFIG_PACKAGE_luci-admin-rpc),)
783 PKG_SELECTED_MODULES+=modules/rpc
785 ifneq ($(CONFIG_PACKAGE_luci-mod-freifunk),)
786 PKG_SELECTED_MODULES+=modules/freifunk
789 ifneq ($(CONFIG_PACKAGE_luci-freifunk-community),)
790 PKG_SELECTED_MODULES+=applications/freifunk-community
793 ifneq ($(CONFIG_PACKAGE_luci-app-ffwizard-leipzig),)
794 PKG_SELECTED_MODULES+=applications/luci-ffwizard-leipzig
796 ifneq ($(CONFIG_PACKAGE_luci-app-siitwizard),)
797 PKG_SELECTED_MODULES+=applications/luci-siitwizard
799 ifneq ($(CONFIG_PACKAGE_luci-app-firewall),)
800 PKG_SELECTED_MODULES+=applications/luci-fw
802 ifneq ($(CONFIG_PACKAGE_luci-app-olsr),)
803 PKG_SELECTED_MODULES+=applications/luci-olsr
805 ifneq ($(CONFIG_PACKAGE_luci-app-qos),)
806 PKG_SELECTED_MODULES+=applications/luci-qos
808 ifneq ($(CONFIG_PACKAGE_luci-app-splash),)
809 PKG_SELECTED_MODULES+=applications/luci-splash
811 ifneq ($(CONFIG_PACKAGE_luci-app-statistics),)
812 PKG_SELECTED_MODULES+=applications/luci-statistics
814 ifneq ($(CONFIG_PACKAGE_luci-app-upnp),)
815 PKG_SELECTED_MODULES+=applications/luci-upnp
817 ifneq ($(CONFIG_PACKAGE_luci-app-ntpc),)
818 PKG_SELECTED_MODULES+=applications/luci-ntpc
820 ifneq ($(CONFIG_PACKAGE_luci-app-ddns),)
821 PKG_SELECTED_MODULES+=applications/luci-ddns
823 ifneq ($(CONFIG_PACKAGE_luci-app-samba),)
824 PKG_SELECTED_MODULES+=applications/luci-samba
826 ifneq ($(CONFIG_PACKAGE_luci-app-uvc_streamer),)
827 PKG_SELECTED_MODULES+=applications/luci-uvc_streamer
829 ifneq ($(CONFIG_PACKAGE_luci-app-mmc_over_gpio),)
830 PKG_SELECTED_MODULES+=applications/luci-mmc_over_gpio
832 ifneq ($(CONFIG_PACKAGE_luci-app-p910nd),)
833 PKG_SELECTED_MODULES+=applications/luci-p910nd
835 ifneq ($(CONFIG_PACKAGE_luci-app-ushare),)
836 PKG_SELECTED_MODULES+=applications/luci-ushare
838 ifneq ($(CONFIG_PACKAGE_luci-app-hd_idle),)
839 PKG_SELECTED_MODULES+=applications/luci-hd_idle
841 ifneq ($(CONFIG_PACKAGE_luci-app-tinyproxy),)
842 PKG_SELECTED_MODULES+=applications/luci-tinyproxy
844 ifneq ($(CONFIG_PACKAGE_luci-app-initmgr),)
845 PKG_SELECTED_MODULES+=applications/luci-initmgr
847 ifneq ($(CONFIG_PACKAGE_luci-app-livestats),)
848 PKG_SELECTED_MODULES+=applications/luci-livestats
850 ifneq ($(CONFIG_PACKAGE_luci-app-asterisk),)
851 PKG_SELECTED_MODULES+=applications/luci-asterisk
853 ifneq ($(CONFIG_PACKAGE_luci-app-polipo),)
854 PKG_SELECTED_MODULES+=applications/luci-polipo
856 ifneq ($(CONFIG_PACKAGE_luci-app-openvpn),)
857 PKG_SELECTED_MODULES+=applications/luci-openvpn
861 ifneq ($(CONFIG_PACKAGE_luci-sgi-cgi),)
862 PKG_SELECTED_MODULES+=libs/sgi-cgi
864 ifneq ($(CONFIG_PACKAGE_luci-sgi-luci),)
865 PKG_SELECTED_MODULES+=libs/sgi-luci
867 ifneq ($(CONFIG_PACKAGE_luci-sgi-webuci),)
868 PKG_SELECTED_MODULES+=libs/sgi-webuci
871 ifneq ($(CONFIG_PACKAGE_luci-theme-base),)
872 PKG_SELECTED_MODULES+=themes/base
874 ifneq ($(CONFIG_PACKAGE_luci-theme-fledermaus),)
875 PKG_SELECTED_MODULES+=themes/fledermaus
877 ifneq ($(CONFIG_PACKAGE_luci-theme-freifunk-bno),)
878 PKG_SELECTED_MODULES+=themes/freifunk-bno
880 ifneq ($(CONFIG_PACKAGE_luci-theme-freifunk),)
881 PKG_SELECTED_MODULES+=themes/freifunk
883 ifneq ($(CONFIG_PACKAGE_luci-theme-openwrt),)
884 PKG_SELECTED_MODULES+=themes/openwrt.org
886 ifneq ($(CONFIG_PACKAGE_luci-theme-openwrtlight),)
887 PKG_SELECTED_MODULES+=themes/openwrt-light
890 ifneq ($(CONFIG_PACKAGE_luci-i18n-german),)
891 PKG_SELECTED_MODULES+=i18n/german
893 ifneq ($(CONFIG_PACKAGE_luci-i18n-english),)
894 PKG_SELECTED_MODULES+=i18n/english
896 ifneq ($(CONFIG_PACKAGE_luci-i18n-french),)
897 PKG_SELECTED_MODULES+=i18n/french
899 ifneq ($(CONFIG_PACKAGE_luci-i18n-italian),)
900 PKG_SELECTED_MODULES+=i18n/italian
902 ifneq ($(CONFIG_PACKAGE_luci-i18n-russian),)
903 PKG_SELECTED_MODULES+=i18n/russian
905 ifneq ($(CONFIG_PACKAGE_luci-i18n-portuguese_brazilian),)
906 PKG_SELECTED_MODULES+=i18n/portuguese_brazilian
911 MODULES="$(PKG_SELECTED_MODULES)" \
912 LUA_TARGET="$(LUA_TARGET)" \
913 LUA_SHLIBS="-llua -lm -ldl -lcrypt" \
914 CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" \
915 LDFLAGS="$(TARGET_LDFLAGS) -L$(STAGING_DIR)/usr/lib" \
919 $(eval $(call BuildPackage,luci-core))
920 $(eval $(call BuildPackage,luci-cbi))
921 $(eval $(call BuildPackage,luci-fastindex))
922 $(eval $(call BuildPackage,luci-http))
923 $(eval $(call BuildPackage,luci-ipkg))
924 $(eval $(call BuildPackage,luci-json))
925 $(eval $(call BuildPackage,luci-uci))
926 $(eval $(call BuildPackage,luci-sys))
927 $(eval $(call BuildPackage,luci-web))
928 $(eval $(call BuildPackage,luci-uvl))
930 $(eval $(call BuildPackage,luci-httpd))
932 $(eval $(call BuildPackage,luci-admin-core))
933 $(eval $(call BuildPackage,luci-admin-mini))
934 $(eval $(call BuildPackage,luci-admin-full))
935 $(eval $(call BuildPackage,luci-admin-rpc))
936 $(eval $(call BuildPackage,luci-mod-freifunk))
938 $(eval $(call BuildPackage,luci-freifunk-community))
940 $(eval $(call BuildPackage,luci-app-ffwizard-leipzig))
941 $(eval $(call BuildPackage,luci-app-siitwizard))
942 $(eval $(call BuildPackage,luci-app-firewall))
943 $(eval $(call BuildPackage,luci-app-olsr))
944 $(eval $(call BuildPackage,luci-app-qos))
945 $(eval $(call BuildPackage,luci-app-splash))
946 $(eval $(call BuildPackage,luci-app-statistics))
947 $(eval $(call BuildPackage,luci-app-upnp))
948 $(eval $(call BuildPackage,luci-app-ntpc))
949 $(eval $(call BuildPackage,luci-app-ddns))
950 $(eval $(call BuildPackage,luci-app-samba))
951 $(eval $(call BuildPackage,luci-app-uvc_streamer))
952 $(eval $(call BuildPackage,luci-app-mmc_over_gpio))
953 $(eval $(call BuildPackage,luci-app-p910nd))
954 $(eval $(call BuildPackage,luci-app-ushare))
955 $(eval $(call BuildPackage,luci-app-hd_idle))
956 $(eval $(call BuildPackage,luci-app-tinyproxy))
957 $(eval $(call BuildPackage,luci-app-initmgr))
958 $(eval $(call BuildPackage,luci-app-livestats))
959 $(eval $(call BuildPackage,luci-app-asterisk))
960 $(eval $(call BuildPackage,luci-app-polipo))
961 $(eval $(call BuildPackage,luci-app-openvpn))
963 $(eval $(call BuildPackage,luci-sgi-cgi))
964 $(eval $(call BuildPackage,luci-sgi-luci))
965 $(eval $(call BuildPackage,luci-sgi-webuci))
967 $(eval $(call BuildPackage,luci-theme-base))
968 $(eval $(call BuildPackage,luci-theme-fledermaus))
969 $(eval $(call BuildPackage,luci-theme-freifunk))
970 $(eval $(call BuildPackage,luci-theme-freifunk-bno))
971 $(eval $(call BuildPackage,luci-theme-openwrt))
972 $(eval $(call BuildPackage,luci-theme-openwrtlight))
974 $(eval $(call BuildPackage,luci-i18n-german))
975 $(eval $(call BuildPackage,luci-i18n-english))
976 $(eval $(call BuildPackage,luci-i18n-french))
977 $(eval $(call BuildPackage,luci-i18n-italian))
978 $(eval $(call BuildPackage,luci-i18n-russian))
979 $(eval $(call BuildPackage,luci-i18n-portuguese_brazilian))