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-iwinfo
240 $(call Package
/luci
/libtemplate
)
241 TITLE
:=Wireless abstration library
244 define Package
/luci-iwinfo
/install
245 $(call Package
/luci
/install/template
,$(1),libs
/iwinfo
)
249 define Package
/luci-lucid
250 $(call Package
/luci
/libtemplate
)
251 TITLE
:=LuCId Superserver
252 DEPENDS
+=+luci-nixio
+luci-http
+luci-px5g
255 define Package
/luci-lucid
/install
256 $(call Package
/luci
/install/template
,$(1),libs
/lucid
)
257 $(call Package
/luci
/install/template
,$(1),libs
/lucid-http
)
264 define Package
/luci-nixio
265 $(call Package
/luci
/libtemplate
)
266 TITLE
:=NIXIO POSIX Library
267 DEPENDS
:=+PACKAGE_luci-nixio_openssl
:libopenssl
+PACKAGE_luci-nixio_cyassl
:libcyassl-luci
270 define Package
/luci-nixio
/install
271 $(call Package
/luci
/install/template
,$(1),libs
/nixio
)
274 define Package
/luci-nixio
/config
276 prompt
"TLS Provider"
277 default PACKAGE_luci-nixio_axtls
279 config PACKAGE_luci-nixio_axtls
280 bool
"Builtin (axTLS)"
282 config PACKAGE_luci-nixio_cyassl
284 select PACKAGE_libcyassl-luci
286 config PACKAGE_luci-nixio_openssl
288 select PACKAGE_libopenssl
292 ifneq ($(CONFIG_PACKAGE_luci-nixio_openssl
),)
296 ifneq ($(CONFIG_PACKAGE_luci-nixio_cyassl
),)
298 LUCI_CFLAGS
+=-I
$(STAGING_DIR
)/usr
/include/cyassl
302 define Package
/luci-px5g
303 $(call Package
/luci
/libtemplate
)
304 TITLE
:=PX5G RSA Keymaster
308 define Package
/luci-px5g
/install
309 $(call Package
/luci
/install/template
,$(1),libs
/px5g
)
313 define Package
/luci-sys
314 $(call Package
/luci
/libtemplate
)
315 TITLE
:=LuCI Linux
/POSIX system library
316 DEPENDS
:=+luci-iwinfo
319 define Package
/luci-sys
/install
320 $(call Package
/luci
/install/template
,$(1),libs
/sys
)
324 define Package
/luci-web
325 $(call Package
/luci
/libtemplate
)
326 DEPENDS
+=+luci-http
+luci-sys
+luci-uci
+luci-lucid
+luci-sgi-cgi
+luci-lmo
327 TITLE
:=MVC Webframework
328 $(call Config
,luci.main.lang
,string
,en
,Default Language
)
331 define Package
/luci-web
/conffiles
335 define Package
/luci-web
/install
336 $(call Package
/luci
/install/template
,$(1),libs
/web
)
340 define Package
/luci-uvl
341 $(call Package
/luci
/libtemplate
)
342 DEPENDS
+=+luci-sys
+luci-uci
+luci-core
343 TITLE
:=UVL
- UCI Validation Layer
346 define Package
/luci-uvl
/install
347 $(call Package
/luci
/install/template
,$(1),libs
/uvl
)
352 ### Community Packages ###
354 define Package
/luci-freifunk-community
355 $(call Package
/luci
/fftemplate
)
357 +luci-lucid
+luci-sgi-cgi
+luci-app-splash \
358 +luci-app-ffwizard-leipzig \
360 +PACKAGE_luci-freifunk-community
:olsrd-luci
+PACKAGE_luci-freifunk-community
:olsrd-luci-mod-dyn-gw-plain \
361 +PACKAGE_luci-freifunk-community
:olsrd-luci-mod-txtinfo
+PACKAGE_luci-freifunk-community
:olsrd-luci-mod-nameservice \
362 +PACKAGE_luci-freifunk-community
:olsrd-luci-mod-watchdog
+PACKAGE_luci-freifunk-community
:kmod-tun \
363 +PACKAGE_luci-freifunk-community
:ip
+PACKAGE_luci-freifunk-community
:freifunk-watchdog
+luci-app-olsr
364 TITLE
:=Freifunk Community Meta-Package
367 define Package
/luci-freifunk-community
/install
368 $(call Package
/luci
/install/template
,$(1),applications
/freifunk-community
)
373 define Package
/luci-admin-core
374 $(call Package
/luci
/webtemplate
)
375 DEPENDS
+=+luci-web
+luci-cbi
+luci-i18n-english
376 TITLE
:=Web UI Core Module
379 define Package
/luci-admin-core
/conffiles
380 /etc
/config
/luci_hosts
381 /etc
/config
/luci_ethers
384 define Package
/luci-admin-core
/install
385 $(call Package
/luci
/install/template
,$(1),modules
/admin-core
)
386 touch
$(1)/etc
/init.d
/luci_fixtime || true
390 define Package
/luci-admin-mini
391 $(call Package
/luci
/webtemplate
)
392 DEPENDS
+=+luci-admin-core
393 TITLE
:=LuCI Essentials
- stripped down and user-friendly
396 define Package
/luci-admin-mini
/install
397 $(call Package
/luci
/install/template
,$(1),modules
/admin-mini
)
401 define Package
/luci-admin-full
402 $(call Package
/luci
/webtemplate
)
403 DEPENDS
+=+luci-admin-core
+luci-ipkg
404 TITLE
:=LuCI Administration
- full-featured for full control
407 define Package
/luci-admin-full
/install
408 $(call Package
/luci
/install/template
,$(1),modules
/admin-full
)
412 define Package
/luci-admin-rpc
413 $(call Package
/luci
/webtemplate
)
415 TITLE
:=LuCI RPC
- JSON-RPC API
418 define Package
/luci-admin-rpc
/install
419 $(call Package
/luci
/install/template
,$(1),modules
/rpc
)
423 define Package
/luci-mod-freifunk
424 $(call Package
/luci
/fftemplate
)
425 DEPENDS
:=+luci-admin-full
+luci-json
+PACKAGE_luci-mod-freifunk
:freifunk-firewall
426 TITLE
:=LuCI Freifunk module
429 define Package
/luci-mod-freifunk
/conffiles
433 define Package
/luci-mod-freifunk
/install
434 $(call Package
/luci
/install/template
,$(1),modules
/freifunk
)
441 define Package
/luci-app-ffwizard-leipzig
442 $(call Package
/luci
/fftemplate
)
443 TITLE
:=Freifunk Leipzig configuration wizard
446 define Package
/luci-app-ffwizard-leipzig
/install
447 $(call Package
/luci
/install/template
,$(1),applications
/luci-ffwizard-leipzig
)
451 define Package
/luci-app-siitwizard
452 $(call Package
/luci
/fftemplate
)
453 TITLE
:=SIIT IPv4-over-IPv6 configuration wizard
454 DEPENDS
:=+luci-admin-core
+PACKAGE_luci-app-siitwizard
:kmod-siit
457 define Package
/luci-app-siitwizard
/install
458 $(call Package
/luci
/install/template
,$(1),applications
/luci-siitwizard
)
462 define Package
/luci-app-firewall
463 $(call Package
/luci
/webtemplate
)
464 DEPENDS
+=+luci-admin-core
+PACKAGE_luci-app-firewall
:firewall
465 TITLE
:=Firewall and Portforwarding application
468 define Package
/luci-app-firewall
/install
469 $(call Package
/luci
/install/template
,$(1),applications
/luci-fw
)
473 define Package
/luci-app-olsr
474 $(call Package
/luci
/webtemplate
)
475 DEPENDS
+=+luci-admin-full
+PACKAGE_luci-app-olsr
:olsrd-luci \
476 +PACKAGE_luci-app-olsr
:olsrd-luci-mod-txtinfo
477 TITLE
:=OLSR configuration and status module
480 define Package
/luci-app-olsr
/install
481 $(call Package
/luci
/install/template
,$(1),applications
/luci-olsr
)
485 define Package
/luci-app-qos
486 $(call Package
/luci
/webtemplate
)
487 DEPENDS
+=+luci-admin-core
+PACKAGE_luci-app-qos
:qos-scripts
488 TITLE
:=Quality of Service configuration module
491 define Package
/luci-app-qos
/install
492 $(call Package
/luci
/install/template
,$(1),applications
/luci-qos
)
496 define Package
/luci-app-splash
497 $(call Package
/luci
/fftemplate
)
498 DEPENDS
+=+PACKAGE_luci-app-splash
:luci-nixio \
499 +PACKAGE_luci-app-splash
:tc
+PACKAGE_luci-app-splash
:kmod-sched \
500 +PACKAGE_luci-app-splash
:iptables-mod-nat-extra \
501 +PACKAGE_luci-app-splash
:iptables-mod-ipopt
502 TITLE
:=Freifunk DHCP-Splash application
505 define Package
/luci-app-splash
/conffiles
506 /etc
/config
/luci_splash
509 define Package
/luci-app-splash
/install
510 $(call Package
/luci
/install/template
,$(1),applications
/luci-splash
)
514 define Package
/luci-app-statistics
515 $(call Package
/luci
/webtemplate
)
516 DEPENDS
+=+luci-admin-full
+PACKAGE_luci-app-statistics
:collectd \
517 +PACKAGE_luci-app-statistics
:rrdtool1 \
518 +PACKAGE_luci-app-statistics
:collectd-mod-rrdtool1 \
519 +PACKAGE_luci-app-statistics
:collectd-mod-wireless \
520 +PACKAGE_luci-app-statistics
:collectd-mod-interface \
521 +PACKAGE_luci-app-statistics
:collectd-mod-load
522 TITLE
:=LuCI Statistics Application
525 define Package
/luci-app-statistics
/conffiles
526 /etc
/config
/luci_statistics
529 define Package
/luci-app-statistics
/install
530 $(call Package
/luci
/install/template
,$(1),applications
/luci-statistics
)
533 define Package
/luci-app-diag-core
534 $(call Package
/luci
/webtemplate
)
535 DEPENDS
+=+luci-admin-core
536 TITLE
:=LuCI Diagnostics Tools
(Core
)
539 define Package
/luci-app-diag-devinfo
540 $(call Package
/luci
/webtemplate
)
541 DEPENDS
+=+luci-app-diag-core
+smap
+netdiscover
+mac-to-devinfo
+httping
+smap-to-devinfo
+netdiscover-to-devinfo
542 TITLE
:=LuCI Diagnostics Tools
(Device Info
)
545 define Package
/luci-app-voice-core
546 $(call Package
/luci
/webtemplate
)
547 DEPENDS
+=+luci-admin-core
548 TITLE
:=LuCI Voice Software
(Core
)
551 define Package
/luci-app-voice-diag
552 $(call Package
/luci
/webtemplate
)
553 DEPENDS
+=+luci-app-voice-core
+luci-app-diag-devinfo
554 TITLE
:=LuCI Voice Software
(Diagnostics
)
557 define Package
/luci-app-diag-devinfo
/conffiles
558 /etc
/config
/luci_devinfo
561 define Package
/luci-app-diag-core
/install
562 $(call Package
/luci
/install/template
,$(1),applications
/luci-diag-core
)
565 define Package
/luci-app-diag-devinfo
/install
566 $(call Package
/luci
/install/template
,$(1),applications
/luci-diag-devinfo
)
569 define Package
/luci-app-voice-core
/install
570 $(call Package
/luci
/install/template
,$(1),applications
/luci-voice-core
)
573 define Package
/luci-app-voice-diag
/install
574 $(call Package
/luci
/install/template
,$(1),applications
/luci-voice-diag
)
577 define Package
/luci-app-upnp
578 $(call Package
/luci
/webtemplate
)
579 DEPENDS
+=+luci-admin-core
+PACKAGE_luci-app-upnp
:miniupnpd
580 TITLE
:=Universal Plug
& Play configuration module
583 define Package
/luci-app-upnp
/install
584 $(call Package
/luci
/install/template
,$(1),applications
/luci-upnp
)
588 define Package
/luci-app-ntpc
589 $(call Package
/luci
/webtemplate
)
590 DEPENDS
+=+luci-admin-core
+PACKAGE_luci-app-ntpc
:ntpclient
591 TITLE
:=NTP time synchronisation client configuration module
594 define Package
/luci-app-ntpc
/install
595 $(call Package
/luci
/install/template
,$(1),applications
/luci-ntpc
)
599 define Package
/luci-app-ddns
600 $(call Package
/luci
/webtemplate
)
601 DEPENDS
+=+luci-admin-core
+PACKAGE_luci-app-ddns
:ddns-scripts
602 TITLE
:=Dynamic DNS configuration module
605 define Package
/luci-app-ddns
/install
606 $(call Package
/luci
/install/template
,$(1),applications
/luci-ddns
)
610 define Package
/luci-app-samba
611 $(call Package
/luci
/webtemplate
)
612 DEPENDS
+=+luci-admin-full
+PACKAGE_luci-app-samba
:samba3
613 TITLE
:=Network Shares
- Samba SMB
/CIFS module
616 define Package
/luci-app-samba
/install
617 $(call Package
/luci
/install/template
,$(1),applications
/luci-samba
)
621 define Package
/luci-app-uvc_streamer
622 $(call Package
/luci
/webtemplate
)
623 DEPENDS
+=+luci-admin-full
+PACKAGE_luci-app-uvc_streamer
:uvc-streamer
624 TITLE
:=Webcam Streaming
- UVC-Streamer module
627 define Package
/luci-app-uvc_streamer
/install
628 $(call Package
/luci
/install/template
,$(1),applications
/luci-uvc_streamer
)
632 define Package
/luci-app-mmc_over_gpio
633 $(call Package
/luci
/webtemplate
)
634 DEPENDS
+=+luci-admin-full
+PACKAGE_luci-app-mmc_over_gpio
:kmod-mmc-over-gpio
638 define Package
/luci-app-mmc_over_gpio
/install
639 $(call Package
/luci
/install/template
,$(1),applications
/luci-mmc_over_gpio
)
643 define Package
/luci-app-p910nd
644 $(call Package
/luci
/webtemplate
)
645 DEPENDS
+=+luci-admin-full
+PACKAGE_luci-app-p910nd
:p910nd
646 TITLE
:=p910nd
- Printer server module
649 define Package
/luci-app-p910nd
/install
650 $(call Package
/luci
/install/template
,$(1),applications
/luci-p910nd
)
654 define Package
/luci-app-ushare
655 $(call Package
/luci
/webtemplate
)
656 DEPENDS
+=+luci-admin-full
+PACKAGE_luci-app-ushare
:ushare
657 TITLE
:=ushare
- UPnP A
/V
& DLNA Media Server
660 define Package
/luci-app-ushare
/install
661 $(call Package
/luci
/install/template
,$(1),applications
/luci-ushare
)
664 define Package
/luci-app-hd_idle
665 $(call Package
/luci
/webtemplate
)
666 DEPENDS
+=+luci-admin-full
+PACKAGE_luci-app-hd_idle
:hd-idle
670 define Package
/luci-app-hd_idle
/install
671 $(call Package
/luci
/install/template
,$(1),applications
/luci-hd_idle
)
674 define Package
/luci-app-tinyproxy
675 $(call Package
/luci
/webtemplate
)
676 DEPENDS
+=+luci-admin-full
+PACKAGE_luci-app-tinyproxy
:tinyproxy
677 TITLE
:=Tinyproxy
- HTTP
(S
)-Proxy
680 define Package
/luci-app-tinyproxy
/install
681 $(call Package
/luci
/install/template
,$(1),applications
/luci-tinyproxy
)
684 define Package
/luci-app-initmgr
685 $(call Package
/luci
/webtemplate
)
686 DEPENDS
+=+luci-admin-full
687 TITLE
:=LuCI Initscript Management
690 define Package
/luci-app-initmgr
/install
691 $(call Package
/luci
/install/template
,$(1),applications
/luci-initmgr
)
694 define Package
/luci-app-livestats
695 $(call Package
/luci
/webtemplate
)
696 DEPENDS
+=+luci-admin-core
+luci-admin-rpc
697 TITLE
:=LuCI Realtime Statistics
700 define Package
/luci-app-livestats
/install
701 $(call Package
/luci
/install/template
,$(1),applications
/luci-livestats
)
704 define Package
/luci-app-asterisk
705 $(call Package
/luci
/webtemplate
)
706 TITLE
:=LuCI Support for Asterisk PBX
707 DEPENDS
+=@BROKEN
+luci-admin-core
+PACKAGE_luci-app-asterisk
:asterisk14-xip-core
710 define Package
/luci-app-asterisk
/install
711 $(call Package
/luci
/install/template
,$(1),applications
/luci-asterisk
)
714 define Package
/luci-app-polipo
715 $(call Package
/luci
/webtemplate
)
716 TITLE
:=LuCI Support for the Polipo Proxy
717 DEPENDS
+=+luci-admin-core
+PACKAGE_luci-app-polipo
:polipo
720 define Package
/luci-app-polipo
/install
721 $(call Package
/luci
/install/template
,$(1),applications
/luci-polipo
)
724 define Package
/luci-app-openvpn
725 $(call Package
/luci
/webtemplate
)
726 TITLE
:=LuCI Support for OpenVPN
727 DEPENDS
+=+luci-admin-core
+PACKAGE_luci-app-openvpn
:openvpn
730 define Package
/luci-app-openvpn
/install
731 $(call Package
/luci
/install/template
,$(1),applications
/luci-openvpn
)
734 define Package
/luci-app-p2pblock
735 $(call Package
/luci
/webtemplate
)
736 TITLE
:=LuCI Support for the Freifunk P2P-Block addon
737 DEPENDS
+=+luci-admin-core
+luci-app-firewall \
738 +PACKAGE_luci-app-p2pblock
:freifunk-p2pblock
741 define Package
/luci-app-p2pblock
/install
742 $(call Package
/luci
/install/template
,$(1),applications
/luci-p2pblock
)
746 ### Server Gateway Interfaces ###
748 define Package
/luci-sgi-cgi
749 $(call Package
/luci
/libtemplate
)
753 define Package
/luci-sgi-cgi
/install
754 $(call Package
/luci
/install/template
,$(1),libs
/sgi-cgi
)
758 define Package
/luci-theme-base
759 $(call Package
/luci
/thtemplate
)
761 TITLE
:=Common base for
all themes
764 define Package
/luci-theme-base
/install
765 $(call Package
/luci
/install/template
,$(1),themes
/base
)
768 define Package
/luci-theme-fledermaus
769 $(call Package
/luci
/fftemplate
)
771 TITLE
:=Fledermaus Theme
774 define Package
/luci-theme-fledermaus
/install
775 $(call Package
/luci
/install/template
,$(1),themes
/fledermaus
)
778 define Package
/luci-theme-freifunk
779 $(call Package
/luci
/fftemplate
)
781 MAINTAINER
:=Stefan Pirwitz
<stefan-at-freifunk-bno-dot-de
>
782 TITLE
:=alternative Freifunk Theme
785 define Package
/luci-theme-freifunk
/install
786 $(call Package
/luci
/install/template
,$(1),themes
/freifunk
)
789 define Package
/luci-theme-freifunk-bno
790 $(call Package
/luci
/fftemplate
)
792 MAINTAINER
:=Stefan Pirwitz
<stefan-at-freifunk-bno-dot-de
>
793 TITLE
:=Freifunk Berlin Nordost Theme
796 define Package
/luci-theme-freifunk-bno
/install
797 $(call Package
/luci
/install/template
,$(1),themes
/freifunk-bno
)
800 define Package
/luci-theme-freifunk-hannover
801 $(call Package
/luci
/fftemplate
)
803 MAINTAINER
:=Mikolas Bingemer
<mickey-at-freifunk-hannover-dot-de
>
804 TITLE
:=Freifunk Hannover Theme
807 define Package
/luci-theme-freifunk-hannover
/install
808 $(call Package
/luci
/install/template
,$(1),themes
/freifunk-hannover
)
811 define Package
/luci-theme-openwrt
812 $(call Package
/luci
/thtemplate
)
813 TITLE
:=OpenWrt.org
(default
)
814 DEPENDS
:=+luci-theme-base luci-core
815 DEFAULT
:=y if PACKAGE_luci-core
818 define Package
/luci-theme-openwrt
/install
819 $(call Package
/luci
/install/template
,$(1),themes
/openwrt.org
)
822 define Package
/luci-theme-openwrtlight
823 $(call Package
/luci
/thtemplate
)
824 TITLE
:=OpenWrt.org
- light variant without images
825 DEPENDS
:=+luci-theme-base
828 define Package
/luci-theme-openwrtlight
/install
829 $(call Package
/luci
/install/template
,$(1),themes
/openwrt-light
)
834 define Package
/luci-i18n-german
835 $(call Package
/luci
/i18ntemplate
)
839 define Package
/luci-i18n-german
/install
840 $(call Package
/luci
/install/template
,$(1),i18n
/german
)
844 define Package
/luci-i18n-english
845 $(call Package
/luci
/i18ntemplate
)
849 define Package
/luci-i18n-english
/install
850 $(call Package
/luci
/install/template
,$(1),i18n
/english
)
854 define Package
/luci-i18n-french
855 $(call Package
/luci
/i18ntemplate
)
856 TITLE
:=French
(by Florian Fainelli
)
859 define Package
/luci-i18n-french
/install
860 $(call Package
/luci
/install/template
,$(1),i18n
/french
)
864 define Package
/luci-i18n-italian
865 $(call Package
/luci
/i18ntemplate
)
866 TITLE
:=Italian
(by Matteo Croce
)
869 define Package
/luci-i18n-italian
/install
870 $(call Package
/luci
/install/template
,$(1),i18n
/italian
)
874 define Package
/luci-i18n-russian
875 $(call Package
/luci
/i18ntemplate
)
876 TITLE
:=Russian
(by Skryabin Dmitry
)
879 define Package
/luci-i18n-russian
/install
880 $(call Package
/luci
/install/template
,$(1),i18n
/russian
)
884 define Package
/luci-i18n-portuguese_brazilian
885 $(call Package
/luci
/i18ntemplate
)
886 TITLE
:=Portuguese
(Brazilian
) (by Carlos Cesario
)
889 define Package
/luci-i18n-portuguese_brazilian
/install
890 $(call Package
/luci
/install/template
,$(1),i18n
/portuguese_brazilian
)
894 define Package
/luci-i18n-japanese
895 $(call Package
/luci
/i18ntemplate
)
896 TITLE
:=Japanese
(by Tsukasa Hamano
)
899 define Package
/luci-i18n-japanese
/install
900 $(call Package
/luci
/install/template
,$(1),i18n
/japanese
)
904 define Package
/luci-i18n-greek
905 $(call Package
/luci
/i18ntemplate
)
906 TITLE
:=Greek
(by Vasilis Tsiligiannis
)
909 define Package
/luci-i18n-greek
/install
910 $(call Package
/luci
/install/template
,$(1),i18n
/greek
)
914 define Package
/luci-i18n-catalan
915 $(call Package
/luci
/i18ntemplate
)
916 TITLE
:=Catalan
(by Eduard Duran
)
919 define Package
/luci-i18n-catalan
/install
920 $(call Package
/luci
/install/template
,$(1),i18n
/catalan
)
924 define Package
/luci-i18n-portuguese
925 $(call Package
/luci
/i18ntemplate
)
926 TITLE
:=Portuguese
(by Jose Monteiro
)
929 define Package
/luci-i18n-portuguese
/install
930 $(call Package
/luci
/install/template
,$(1),i18n
/portuguese
)
934 define Package
/luci-i18n-spanish
935 $(call Package
/luci
/i18ntemplate
)
936 TITLE
:=Spanish
(by Guillermo Javier Nardoni
)
939 define Package
/luci-i18n-spanish
/install
940 $(call Package
/luci
/install/template
,$(1),i18n
/spanish
)
944 define Package
/luci-i18n-vietnamese
945 $(call Package
/luci
/i18ntemplate
)
946 TITLE
:=Vietnamese
(by Hong Phuc Dang
)
949 define Package
/luci-i18n-vietnamese
/install
950 $(call Package
/luci
/install/template
,$(1),i18n
/vietnamese
)
955 ifneq ($(CONFIG_PACKAGE_luci-core
),)
956 PKG_SELECTED_MODULES
+=libs
/core
958 ifneq ($(CONFIG_PACKAGE_luci-cbi
),)
959 PKG_SELECTED_MODULES
+=libs
/cbi
961 ifneq ($(CONFIG_PACKAGE_luci-fastindex
),)
962 PKG_SELECTED_MODULES
+=libs
/fastindex
964 ifneq ($(CONFIG_PACKAGE_luci-http
),)
965 PKG_SELECTED_MODULES
+=libs
/http
967 ifneq ($(CONFIG_PACKAGE_luci-httpclient
),)
968 PKG_SELECTED_MODULES
+=libs
/httpclient
970 ifneq ($(CONFIG_PACKAGE_luci-ipkg
),)
971 PKG_SELECTED_MODULES
+=libs
/ipkg
973 ifneq ($(CONFIG_PACKAGE_luci-json
),)
974 PKG_SELECTED_MODULES
+=libs
/json
976 ifneq ($(CONFIG_PACKAGE_luci-lmo
),)
977 PKG_SELECTED_MODULES
+=libs
/lmo
979 ifneq ($(CONFIG_PACKAGE_luci-luanet
),)
980 PKG_SELECTED_MODULES
+=libs
/luanet
982 ifneq ($(CONFIG_PACKAGE_luci-iwinfo
),)
983 PKG_SELECTED_MODULES
+=libs
/iwinfo
985 ifneq ($(CONFIG_PACKAGE_luci-lucid
),)
986 PKG_SELECTED_MODULES
+=libs
/lucid libs
/lucid-http
988 ifneq ($(CONFIG_PACKAGE_luci-nixio
),)
989 PKG_SELECTED_MODULES
+=libs
/nixio
991 ifneq ($(CONFIG_PACKAGE_luci-px5g
),)
992 PKG_SELECTED_MODULES
+=libs
/px5g
994 ifneq ($(CONFIG_PACKAGE_luci-uci
),)
995 PKG_SELECTED_MODULES
+=libs
/uci
997 ifneq ($(CONFIG_PACKAGE_luci-sys
),)
998 PKG_SELECTED_MODULES
+=libs
/sys
1000 ifneq ($(CONFIG_PACKAGE_luci-web
),)
1001 PKG_SELECTED_MODULES
+=libs
/web
1003 ifneq ($(CONFIG_PACKAGE_luci-uvl
),)
1004 PKG_SELECTED_MODULES
+=libs
/uvl
1007 ifneq ($(CONFIG_PACKAGE_luci-admin-core
),)
1008 PKG_SELECTED_MODULES
+=modules
/admin-core
1010 ifneq ($(CONFIG_PACKAGE_luci-admin-mini
),)
1011 PKG_SELECTED_MODULES
+=modules
/admin-mini
1013 ifneq ($(CONFIG_PACKAGE_luci-admin-full
),)
1014 PKG_SELECTED_MODULES
+=modules
/admin-full
1016 ifneq ($(CONFIG_PACKAGE_luci-admin-rpc
),)
1017 PKG_SELECTED_MODULES
+=modules
/rpc
1019 ifneq ($(CONFIG_PACKAGE_luci-mod-freifunk
),)
1020 PKG_SELECTED_MODULES
+=modules
/freifunk
1023 ifneq ($(CONFIG_PACKAGE_luci-freifunk-community
),)
1024 PKG_SELECTED_MODULES
+=applications
/freifunk-community
1027 ifneq ($(CONFIG_PACKAGE_luci-app-ffwizard-leipzig
),)
1028 PKG_SELECTED_MODULES
+=applications
/luci-ffwizard-leipzig
1030 ifneq ($(CONFIG_PACKAGE_luci-app-siitwizard
),)
1031 PKG_SELECTED_MODULES
+=applications
/luci-siitwizard
1033 ifneq ($(CONFIG_PACKAGE_luci-app-firewall
),)
1034 PKG_SELECTED_MODULES
+=applications
/luci-fw
1036 ifneq ($(CONFIG_PACKAGE_luci-app-olsr
),)
1037 PKG_SELECTED_MODULES
+=applications
/luci-olsr
1039 ifneq ($(CONFIG_PACKAGE_luci-app-qos
),)
1040 PKG_SELECTED_MODULES
+=applications
/luci-qos
1042 ifneq ($(CONFIG_PACKAGE_luci-app-splash
),)
1043 PKG_SELECTED_MODULES
+=applications
/luci-splash
1045 ifneq ($(CONFIG_PACKAGE_luci-app-statistics
),)
1046 PKG_SELECTED_MODULES
+=applications
/luci-statistics
1048 ifneq ($(CONFIG_PACKAGE_luci-app-voice-core
),)
1049 PKG_SELECTED_MODULES
+=applications
/luci-voice-core
1051 ifneq ($(CONFIG_PACKAGE_luci-app-voice-diag
),)
1052 PKG_SELECTED_MODULES
+=applications
/luci-voice-diag
1054 ifneq ($(CONFIG_PACKAGE_luci-app-diag-core
),)
1055 PKG_SELECTED_MODULES
+=applications
/luci-diag-core
1057 ifneq ($(CONFIG_PACKAGE_luci-app-diag-devinfo
),)
1058 PKG_SELECTED_MODULES
+=applications
/luci-diag-devinfo
1060 ifneq ($(CONFIG_PACKAGE_luci-app-upnp
),)
1061 PKG_SELECTED_MODULES
+=applications
/luci-upnp
1063 ifneq ($(CONFIG_PACKAGE_luci-app-ntpc
),)
1064 PKG_SELECTED_MODULES
+=applications
/luci-ntpc
1066 ifneq ($(CONFIG_PACKAGE_luci-app-ddns
),)
1067 PKG_SELECTED_MODULES
+=applications
/luci-ddns
1069 ifneq ($(CONFIG_PACKAGE_luci-app-samba
),)
1070 PKG_SELECTED_MODULES
+=applications
/luci-samba
1072 ifneq ($(CONFIG_PACKAGE_luci-app-uvc_streamer
),)
1073 PKG_SELECTED_MODULES
+=applications
/luci-uvc_streamer
1075 ifneq ($(CONFIG_PACKAGE_luci-app-mmc_over_gpio
),)
1076 PKG_SELECTED_MODULES
+=applications
/luci-mmc_over_gpio
1078 ifneq ($(CONFIG_PACKAGE_luci-app-p910nd
),)
1079 PKG_SELECTED_MODULES
+=applications
/luci-p910nd
1081 ifneq ($(CONFIG_PACKAGE_luci-app-ushare
),)
1082 PKG_SELECTED_MODULES
+=applications
/luci-ushare
1084 ifneq ($(CONFIG_PACKAGE_luci-app-hd_idle
),)
1085 PKG_SELECTED_MODULES
+=applications
/luci-hd_idle
1087 ifneq ($(CONFIG_PACKAGE_luci-app-tinyproxy
),)
1088 PKG_SELECTED_MODULES
+=applications
/luci-tinyproxy
1090 ifneq ($(CONFIG_PACKAGE_luci-app-initmgr
),)
1091 PKG_SELECTED_MODULES
+=applications
/luci-initmgr
1093 ifneq ($(CONFIG_PACKAGE_luci-app-livestats
),)
1094 PKG_SELECTED_MODULES
+=applications
/luci-livestats
1096 ifneq ($(CONFIG_PACKAGE_luci-app-asterisk
),)
1097 PKG_SELECTED_MODULES
+=applications
/luci-asterisk
1099 ifneq ($(CONFIG_PACKAGE_luci-app-polipo
),)
1100 PKG_SELECTED_MODULES
+=applications
/luci-polipo
1102 ifneq ($(CONFIG_PACKAGE_luci-app-openvpn
),)
1103 PKG_SELECTED_MODULES
+=applications
/luci-openvpn
1105 ifneq ($(CONFIG_PACKAGE_luci-app-p2pblock
),)
1106 PKG_SELECTED_MODULES
+=applications
/luci-p2pblock
1110 ifneq ($(CONFIG_PACKAGE_luci-sgi-cgi
),)
1111 PKG_SELECTED_MODULES
+=libs
/sgi-cgi
1113 ifneq ($(CONFIG_PACKAGE_luci-sgi-luci
),)
1114 PKG_SELECTED_MODULES
+=libs
/sgi-luci
1117 ifneq ($(CONFIG_PACKAGE_luci-theme-base
),)
1118 PKG_SELECTED_MODULES
+=themes
/base
1120 ifneq ($(CONFIG_PACKAGE_luci-theme-fledermaus
),)
1121 PKG_SELECTED_MODULES
+=themes
/fledermaus
1123 ifneq ($(CONFIG_PACKAGE_luci-theme-freifunk-bno
),)
1124 PKG_SELECTED_MODULES
+=themes
/freifunk-bno
1126 ifneq ($(CONFIG_PACKAGE_luci-theme-freifunk-hannover
),)
1127 PKG_SELECTED_MODULES
+=themes
/freifunk-hannover
1129 ifneq ($(CONFIG_PACKAGE_luci-theme-freifunk
),)
1130 PKG_SELECTED_MODULES
+=themes
/freifunk
1132 ifneq ($(CONFIG_PACKAGE_luci-theme-openwrt
),)
1133 PKG_SELECTED_MODULES
+=themes
/openwrt.org
1135 ifneq ($(CONFIG_PACKAGE_luci-theme-openwrtlight
),)
1136 PKG_SELECTED_MODULES
+=themes
/openwrt-light
1139 ifneq ($(CONFIG_PACKAGE_luci-i18n-german
),)
1140 PKG_SELECTED_MODULES
+=i18n
/german
1142 ifneq ($(CONFIG_PACKAGE_luci-i18n-english
),)
1143 PKG_SELECTED_MODULES
+=i18n
/english
1145 ifneq ($(CONFIG_PACKAGE_luci-i18n-french
),)
1146 PKG_SELECTED_MODULES
+=i18n
/french
1148 ifneq ($(CONFIG_PACKAGE_luci-i18n-italian
),)
1149 PKG_SELECTED_MODULES
+=i18n
/italian
1151 ifneq ($(CONFIG_PACKAGE_luci-i18n-russian
),)
1152 PKG_SELECTED_MODULES
+=i18n
/russian
1154 ifneq ($(CONFIG_PACKAGE_luci-i18n-portuguese_brazilian
),)
1155 PKG_SELECTED_MODULES
+=i18n
/portuguese_brazilian
1157 ifneq ($(CONFIG_PACKAGE_luci-i18n-japanese
),)
1158 PKG_SELECTED_MODULES
+=i18n
/japanese
1160 ifneq ($(CONFIG_PACKAGE_luci-i18n-greek
),)
1161 PKG_SELECTED_MODULES
+=i18n
/greek
1163 ifneq ($(CONFIG_PACKAGE_luci-i18n-catalan
),)
1164 PKG_SELECTED_MODULES
+=i18n
/catalan
1166 ifneq ($(CONFIG_PACKAGE_luci-i18n-portuguese
),)
1167 PKG_SELECTED_MODULES
+=i18n
/portuguese
1169 ifneq ($(CONFIG_PACKAGE_luci-i18n-spanish
),)
1170 PKG_SELECTED_MODULES
+=i18n
/spanish
1172 ifneq ($(CONFIG_PACKAGE_luci-i18n-vietnamese
),)
1173 PKG_SELECTED_MODULES
+=i18n
/vietnamese
1178 MODULES
="$(PKG_SELECTED_MODULES)" \
1179 LUA_TARGET
="$(LUA_TARGET)" \
1180 LUA_SHLIBS
="-llua -lm -ldl -lcrypt" \
1181 CFLAGS
="$(TARGET_CFLAGS) $(LUCI_CFLAGS) -I$(STAGING_DIR)/usr/include" \
1182 LDFLAGS
="$(TARGET_LDFLAGS) -L$(STAGING_DIR)/usr/lib" \
1183 NIXIO_TLS
="$(NIXIO_TLS)" OS
="Linux"
1186 $(eval
$(call BuildPackage
,luci-core
))
1187 $(eval
$(call BuildPackage
,luci-cbi
))
1188 $(eval
$(call BuildPackage
,luci-fastindex
))
1189 $(eval
$(call BuildPackage
,luci-http
))
1190 $(eval
$(call BuildPackage
,luci-httpclient
))
1191 $(eval
$(call BuildPackage
,luci-ipkg
))
1192 $(eval
$(call BuildPackage
,luci-json
))
1193 $(eval
$(call BuildPackage
,luci-lmo
))
1194 $(eval
$(call BuildPackage
,luci-luanet
))
1195 $(eval
$(call BuildPackage
,luci-iwinfo
))
1196 $(eval
$(call BuildPackage
,luci-lucid
))
1197 $(eval
$(call BuildPackage
,luci-nixio
))
1198 $(eval
$(call BuildPackage
,luci-px5g
))
1199 $(eval
$(call BuildPackage
,luci-uci
))
1200 $(eval
$(call BuildPackage
,luci-sys
))
1201 $(eval
$(call BuildPackage
,luci-web
))
1202 $(eval
$(call BuildPackage
,luci-uvl
))
1204 $(eval
$(call BuildPackage
,luci-admin-core
))
1205 $(eval
$(call BuildPackage
,luci-admin-mini
))
1206 $(eval
$(call BuildPackage
,luci-admin-full
))
1207 $(eval
$(call BuildPackage
,luci-admin-rpc
))
1208 $(eval
$(call BuildPackage
,luci-mod-freifunk
))
1210 $(eval
$(call BuildPackage
,luci-freifunk-community
))
1212 $(eval
$(call BuildPackage
,luci-app-ffwizard-leipzig
))
1213 $(eval
$(call BuildPackage
,luci-app-siitwizard
))
1214 $(eval
$(call BuildPackage
,luci-app-firewall
))
1215 $(eval
$(call BuildPackage
,luci-app-olsr
))
1216 $(eval
$(call BuildPackage
,luci-app-qos
))
1217 $(eval
$(call BuildPackage
,luci-app-splash
))
1218 $(eval
$(call BuildPackage
,luci-app-statistics
))
1219 $(eval
$(call BuildPackage
,luci-app-diag-core
))
1220 $(eval
$(call BuildPackage
,luci-app-diag-devinfo
))
1221 $(eval
$(call BuildPackage
,luci-app-voice-core
))
1222 $(eval
$(call BuildPackage
,luci-app-voice-diag
))
1223 $(eval
$(call BuildPackage
,luci-app-upnp
))
1224 $(eval
$(call BuildPackage
,luci-app-ntpc
))
1225 $(eval
$(call BuildPackage
,luci-app-ddns
))
1226 $(eval
$(call BuildPackage
,luci-app-samba
))
1227 $(eval
$(call BuildPackage
,luci-app-uvc_streamer
))
1228 $(eval
$(call BuildPackage
,luci-app-mmc_over_gpio
))
1229 $(eval
$(call BuildPackage
,luci-app-p910nd
))
1230 $(eval
$(call BuildPackage
,luci-app-ushare
))
1231 $(eval
$(call BuildPackage
,luci-app-hd_idle
))
1232 $(eval
$(call BuildPackage
,luci-app-tinyproxy
))
1233 $(eval
$(call BuildPackage
,luci-app-initmgr
))
1234 $(eval
$(call BuildPackage
,luci-app-livestats
))
1235 $(eval
$(call BuildPackage
,luci-app-asterisk
))
1236 $(eval
$(call BuildPackage
,luci-app-polipo
))
1237 $(eval
$(call BuildPackage
,luci-app-openvpn
))
1238 $(eval
$(call BuildPackage
,luci-app-p2pblock
))
1240 $(eval
$(call BuildPackage
,luci-sgi-cgi
))
1242 $(eval
$(call BuildPackage
,luci-theme-base
))
1243 $(eval
$(call BuildPackage
,luci-theme-fledermaus
))
1244 $(eval
$(call BuildPackage
,luci-theme-freifunk
))
1245 $(eval
$(call BuildPackage
,luci-theme-freifunk-bno
))
1246 $(eval
$(call BuildPackage
,luci-theme-freifunk-hannover
))
1247 $(eval
$(call BuildPackage
,luci-theme-openwrt
))
1248 $(eval
$(call BuildPackage
,luci-theme-openwrtlight
))
1250 $(eval
$(call BuildPackage
,luci-i18n-german
))
1251 $(eval
$(call BuildPackage
,luci-i18n-english
))
1252 $(eval
$(call BuildPackage
,luci-i18n-french
))
1253 $(eval
$(call BuildPackage
,luci-i18n-italian
))
1254 $(eval
$(call BuildPackage
,luci-i18n-russian
))
1255 $(eval
$(call BuildPackage
,luci-i18n-portuguese_brazilian
))
1256 $(eval
$(call BuildPackage
,luci-i18n-japanese
))
1257 $(eval
$(call BuildPackage
,luci-i18n-greek
))
1258 $(eval
$(call BuildPackage
,luci-i18n-catalan
))
1259 $(eval
$(call BuildPackage
,luci-i18n-portuguese
))
1260 $(eval
$(call BuildPackage
,luci-i18n-spanish
))
1261 $(eval
$(call BuildPackage
,luci-i18n-vietnamese
))