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
)
91 define Package
/luci
/install/template
92 $(CP
) -a
$(PKG_BUILD_DIR
)/$(2)/dist/* $(1)/ -R
93 $(CP
) -a
$(PKG_BUILD_DIR
)/$(2)/ipkg
/* $(1)/CONTROL
/ 2>/dev
/null || true
100 define Package
/luci-core
101 $(call Package
/luci
/libtemplate
)
102 DEPENDS
:=+lua
+luci-nixio
103 TITLE
:=LuCI core libraries
106 define Package
/luci-core
/install
107 $(call Package
/luci
/install/template
,$(1),libs
/core
)
108 $(PKG_BUILD_DIR
)/build
/mkversion.sh
$(1)/usr
/lib
/lua
/luci
/version.lua \
110 "$(OPENWRTVERSION)" \
115 define Package
/luci-core
/config
117 prompt
"Build Target"
118 default PACKAGE_luci-core_source
120 config PACKAGE_luci-core_compile
123 config PACKAGE_luci-core_stripped
126 config PACKAGE_luci-core_source
132 ifneq ($(CONFIG_PACKAGE_luci-core_compile
),)
136 ifneq ($(CONFIG_PACKAGE_luci-core_stripped
),)
140 ifneq ($(CONFIG_PACKAGE_luci-core_zipped
),)
146 define Package
/luci-cbi
147 $(call Package
/luci
/libtemplate
)
148 DEPENDS
+=+luci-web
+luci-uvl
+luci-uci
149 TITLE
:=Configuration Binding Interface
152 define Package
/luci-cbi
/install
153 $(call Package
/luci
/install/template
,$(1),libs
/cbi
)
157 define Package
/luci-uci
158 $(call Package
/luci
/libtemplate
)
160 TITLE
:=High-Level UCI API
163 define Package
/luci-uci
/install
164 $(call Package
/luci
/install/template
,$(1),libs
/uci
)
168 define Package
/luci-fastindex
169 $(call Package
/luci
/libtemplate
)
170 TITLE
:=Fastindex indexing module
173 define Package
/luci-fastindex
/install
174 $(call Package
/luci
/install/template
,$(1),libs
/fastindex
)
178 define Package
/luci-http
179 $(call Package
/luci
/libtemplate
)
180 TITLE
:=HTTP Protocol implementation
183 define Package
/luci-http
/install
184 $(call Package
/luci
/install/template
,$(1),libs
/http
)
188 define Package
/luci-httpclient
189 $(call Package
/luci
/libtemplate
)
190 TITLE
:=HTTP
(S
) client library
191 DEPENDS
+=+luci-http
+luci-nixio
194 define Package
/luci-httpclient
/install
195 $(call Package
/luci
/install/template
,$(1),libs
/httpclient
)
199 define Package
/luci-ipkg
200 $(call Package
/luci
/libtemplate
)
201 TITLE
:=LuCI IPKG
/OPKG call abstraction library
204 define Package
/luci-ipkg
/install
205 $(call Package
/luci
/install/template
,$(1),libs
/ipkg
)
209 define Package
/luci-json
210 $(call Package
/luci
/libtemplate
)
211 TITLE
:=LuCI JSON Library
214 define Package
/luci-json
/install
215 $(call Package
/luci
/install/template
,$(1),libs
/json
)
219 define Package
/luci-lmo
220 $(call Package
/luci
/libtemplate
)
224 define Package
/luci-lmo
/install
225 $(call Package
/luci
/install/template
,$(1),libs
/lmo
)
229 define Package
/luci-luanet
230 $(call Package
/luci
/libtemplate
)
235 define Package
/luci-luanet
/install
236 $(call Package
/luci
/install/template
,$(1),libs
/luanet
)
240 define Package
/luci-iwinfo
241 $(call Package
/luci
/libtemplate
)
242 TITLE
:=Wireless abstration library
245 define Package
/luci-iwinfo
/install
246 $(call Package
/luci
/install/template
,$(1),libs
/iwinfo
)
250 define Package
/luci-lucid
251 $(call Package
/luci
/libtemplate
)
252 TITLE
:=LuCId Superserver
253 DEPENDS
+=+luci-nixio
+luci-http
+luci-px5g
256 define Package
/luci-lucid
/install
257 $(call Package
/luci
/install/template
,$(1),libs
/lucid
)
258 $(call Package
/luci
/install/template
,$(1),libs
/lucid-http
)
265 define Package
/luci-nixio
266 $(call Package
/luci
/libtemplate
)
267 TITLE
:=NIXIO POSIX Library
268 DEPENDS
:=+PACKAGE_luci-nixio_openssl
:libopenssl
+PACKAGE_luci-nixio_cyassl
:libcyassl-luci
271 define Package
/luci-nixio
/install
272 $(call Package
/luci
/install/template
,$(1),libs
/nixio
)
275 define Package
/luci-nixio
/config
277 prompt
"TLS Provider"
278 default PACKAGE_luci-nixio_axtls
280 config PACKAGE_luci-nixio_axtls
281 bool
"Builtin (axTLS)"
283 config PACKAGE_luci-nixio_cyassl
285 select PACKAGE_libcyassl-luci
287 config PACKAGE_luci-nixio_openssl
289 select PACKAGE_libopenssl
293 ifneq ($(CONFIG_PACKAGE_luci-nixio_openssl
),)
297 ifneq ($(CONFIG_PACKAGE_luci-nixio_cyassl
),)
299 LUCI_CFLAGS
+=-I
$(STAGING_DIR
)/usr
/include/cyassl
303 define Package
/luci-px5g
304 $(call Package
/luci
/libtemplate
)
305 TITLE
:=PX5G RSA Keymaster
309 define Package
/luci-px5g
/install
310 $(call Package
/luci
/install/template
,$(1),libs
/px5g
)
314 define Package
/luci-sys
315 $(call Package
/luci
/libtemplate
)
316 TITLE
:=LuCI Linux
/POSIX system library
317 DEPENDS
:=+luci-iwinfo
320 define Package
/luci-sys
/install
321 $(call Package
/luci
/install/template
,$(1),libs
/sys
)
325 define Package
/luci-web
326 $(call Package
/luci
/libtemplate
)
327 DEPENDS
+=+luci-http
+luci-sys
+luci-uci
+luci-lucid
+luci-sgi-cgi
+luci-lmo
328 TITLE
:=MVC Webframework
329 $(call Config
,luci.main.lang
,string
,en
,Default Language
)
332 define Package
/luci-web
/conffiles
336 define Package
/luci-web
/install
337 $(call Package
/luci
/install/template
,$(1),libs
/web
)
341 define Package
/luci-uvl
342 $(call Package
/luci
/libtemplate
)
343 DEPENDS
+=+luci-sys
+luci-uci
+luci-core
344 TITLE
:=UVL
- UCI Validation Layer
347 define Package
/luci-uvl
/install
348 $(call Package
/luci
/install/template
,$(1),libs
/uvl
)
353 ### Community Packages ###
355 define Package
/luci-freifunk-community
356 $(call Package
/luci
/fftemplate
)
358 +luci-lucid
+luci-sgi-cgi
+luci-app-splash \
359 +luci-app-ffwizard-leipzig \
361 +PACKAGE_luci-freifunk-community
:olsrd-luci
+PACKAGE_luci-freifunk-community
:olsrd-luci-mod-dyn-gw-plain \
362 +PACKAGE_luci-freifunk-community
:olsrd-luci-mod-txtinfo
+PACKAGE_luci-freifunk-community
:olsrd-luci-mod-nameservice \
363 +PACKAGE_luci-freifunk-community
:olsrd-luci-mod-watchdog
+PACKAGE_luci-freifunk-community
:kmod-tun \
364 +PACKAGE_luci-freifunk-community
:ip
+PACKAGE_luci-freifunk-community
:freifunk-watchdog
+luci-app-olsr
365 TITLE
:=Freifunk Community Meta-Package
368 define Package
/luci-freifunk-community
/install
369 $(call Package
/luci
/install/template
,$(1),applications
/freifunk-community
)
374 define Package
/luci-admin-core
375 $(call Package
/luci
/webtemplate
)
376 DEPENDS
+=+luci-web
+luci-cbi
+luci-i18n-english
377 TITLE
:=Web UI Core Module
380 define Package
/luci-admin-core
/conffiles
381 /etc
/config
/luci_hosts
382 /etc
/config
/luci_ethers
385 define Package
/luci-admin-core
/install
386 $(call Package
/luci
/install/template
,$(1),modules
/admin-core
)
387 touch
$(1)/etc
/init.d
/luci_fixtime || true
391 define Package
/luci-admin-mini
392 $(call Package
/luci
/webtemplate
)
393 DEPENDS
+=+luci-admin-core
394 TITLE
:=LuCI Essentials
- stripped down and user-friendly
397 define Package
/luci-admin-mini
/install
398 $(call Package
/luci
/install/template
,$(1),modules
/admin-mini
)
402 define Package
/luci-admin-full
403 $(call Package
/luci
/webtemplate
)
404 DEPENDS
+=+luci-admin-core
+luci-ipkg
405 TITLE
:=LuCI Administration
- full-featured for full control
408 define Package
/luci-admin-full
/install
409 $(call Package
/luci
/install/template
,$(1),modules
/admin-full
)
413 define Package
/luci-admin-rpc
414 $(call Package
/luci
/webtemplate
)
416 TITLE
:=LuCI RPC
- JSON-RPC API
419 define Package
/luci-admin-rpc
/install
420 $(call Package
/luci
/install/template
,$(1),modules
/rpc
)
424 define Package
/luci-mod-freifunk
425 $(call Package
/luci
/fftemplate
)
426 DEPENDS
:=+luci-admin-full
+luci-json
+PACKAGE_luci-mod-freifunk
:freifunk-firewall
427 TITLE
:=LuCI Freifunk module
430 define Package
/luci-mod-freifunk
/conffiles
434 define Package
/luci-mod-freifunk
/install
435 $(call Package
/luci
/install/template
,$(1),modules
/freifunk
)
442 define Package
/luci-app-ffwizard-leipzig
443 $(call Package
/luci
/fftemplate
)
444 TITLE
:=Freifunk Leipzig configuration wizard
447 define Package
/luci-app-ffwizard-leipzig
/install
448 $(call Package
/luci
/install/template
,$(1),applications
/luci-ffwizard-leipzig
)
452 define Package
/luci-app-siitwizard
453 $(call Package
/luci
/fftemplate
)
454 TITLE
:=SIIT IPv4-over-IPv6 configuration wizard
455 DEPENDS
:=+luci-admin-core
+PACKAGE_luci-app-siitwizard
:kmod-siit
458 define Package
/luci-app-siitwizard
/install
459 $(call Package
/luci
/install/template
,$(1),applications
/luci-siitwizard
)
463 define Package
/luci-app-firewall
464 $(call Package
/luci
/webtemplate
)
465 DEPENDS
+=+luci-admin-core
+PACKAGE_luci-app-firewall
:firewall
466 TITLE
:=Firewall and Portforwarding application
469 define Package
/luci-app-firewall
/install
470 $(call Package
/luci
/install/template
,$(1),applications
/luci-fw
)
474 define Package
/luci-app-olsr
475 $(call Package
/luci
/webtemplate
)
476 DEPENDS
+=+luci-admin-full
+PACKAGE_luci-app-olsr
:olsrd-luci \
477 +PACKAGE_luci-app-olsr
:olsrd-luci-mod-txtinfo
478 TITLE
:=OLSR configuration and status module
481 define Package
/luci-app-olsr
/install
482 $(call Package
/luci
/install/template
,$(1),applications
/luci-olsr
)
486 define Package
/luci-app-qos
487 $(call Package
/luci
/webtemplate
)
488 DEPENDS
+=+luci-admin-core
+PACKAGE_luci-app-qos
:qos-scripts
489 TITLE
:=Quality of Service configuration module
492 define Package
/luci-app-qos
/install
493 $(call Package
/luci
/install/template
,$(1),applications
/luci-qos
)
497 define Package
/luci-app-splash
498 $(call Package
/luci
/fftemplate
)
499 DEPENDS
+=+PACKAGE_luci-app-splash
:luci-nixio \
500 +PACKAGE_luci-app-splash
:tc
+PACKAGE_luci-app-splash
:kmod-sched \
501 +PACKAGE_luci-app-splash
:iptables-mod-nat-extra \
502 +PACKAGE_luci-app-splash
:iptables-mod-ipopt
503 TITLE
:=Freifunk DHCP-Splash application
506 define Package
/luci-app-splash
/conffiles
507 /etc
/config
/luci_splash
510 define Package
/luci-app-splash
/install
511 $(call Package
/luci
/install/template
,$(1),applications
/luci-splash
)
515 define Package
/luci-app-statistics
516 $(call Package
/luci
/webtemplate
)
517 DEPENDS
+=+luci-admin-full
+PACKAGE_luci-app-statistics
:collectd \
518 +PACKAGE_luci-app-statistics
:rrdtool1 \
519 +PACKAGE_luci-app-statistics
:collectd-mod-rrdtool1 \
520 +PACKAGE_luci-app-statistics
:collectd-mod-wireless \
521 +PACKAGE_luci-app-statistics
:collectd-mod-interface \
522 +PACKAGE_luci-app-statistics
:collectd-mod-load
523 TITLE
:=LuCI Statistics Application
526 define Package
/luci-app-statistics
/conffiles
527 /etc
/config
/luci_statistics
530 define Package
/luci-app-statistics
/install
531 $(call Package
/luci
/install/template
,$(1),applications
/luci-statistics
)
534 define Package
/luci-app-diag-core
535 $(call Package
/luci
/webtemplate
)
536 DEPENDS
+=+PACKAGE_luci-app-diag-core
:luci-admin-core
537 TITLE
:=LuCI Diagnostics Tools
(Core
)
540 define Package
/luci-app-diag-devinfo
541 $(call Package
/luci
/webtemplate
)
542 DEPENDS
+=+PACKAGE_luci_app-diag-devinfo
:luci-app-diag-core \
543 +PACKAGE_luci-app-diag-devinfo
:smap \
544 +PACKAGE_luci-app-diag-devinfo
:netdiscover \
545 +PACKAGE_luci-app-diag-devinfo
:mac-to-devinfo \
546 +PACKAGE_luci-app-diag-devinfo
:httping \
547 +PACKAGE_luci-app-diag-devinfo
:smap-to-devinfo \
548 +PACAKGE_luci-app-diag-devinfo
:netdiscover-to-devinfo
549 TITLE
:=LuCI Diagnostics Tools
(Device Info
)
552 define Package
/luci-app-voice-core
553 $(call Package
/luci
/webtemplate
)
554 DEPENDS
+=+PACKAGE_luci-app-voice-core
:luci-admin-core
555 TITLE
:=LuCI Voice Software
(Core
)
558 define Package
/luci-app-voice-diag
559 $(call Package
/luci
/webtemplate
)
560 DEPENDS
+=+PACKAGE_luci-app-voice-diag
:luci-app-voice-core \
561 +PACKAGE_luci-apps-voice-diag
:luci-app-diag-devinfo
562 TITLE
:=LuCI Voice Software
(Diagnostics
)
565 define Package
/luci-app-diag-devinfo
/conffiles
566 /etc
/config
/luci_devinfo
569 define Package
/luci-app-diag-core
/install
570 $(call Package
/luci
/install/template
,$(1),applications
/luci-diag-core
)
573 define Package
/luci-app-diag-devinfo
/install
574 $(call Package
/luci
/install/template
,$(1),applications
/luci-diag-devinfo
)
577 define Package
/luci-app-voice-core
/install
578 $(call Package
/luci
/install/template
,$(1),applications
/luci-voice-core
)
581 define Package
/luci-app-voice-diag
/install
582 $(call Package
/luci
/install/template
,$(1),applications
/luci-voice-diag
)
585 define Package
/luci-app-upnp
586 $(call Package
/luci
/webtemplate
)
587 DEPENDS
+=+luci-admin-core
+PACKAGE_luci-app-upnp
:miniupnpd
588 TITLE
:=Universal Plug
& Play configuration module
591 define Package
/luci-app-upnp
/install
592 $(call Package
/luci
/install/template
,$(1),applications
/luci-upnp
)
596 define Package
/luci-app-ntpc
597 $(call Package
/luci
/webtemplate
)
598 DEPENDS
+=+luci-admin-core
+PACKAGE_luci-app-ntpc
:ntpclient
599 TITLE
:=NTP time synchronisation client configuration module
602 define Package
/luci-app-ntpc
/install
603 $(call Package
/luci
/install/template
,$(1),applications
/luci-ntpc
)
607 define Package
/luci-app-ddns
608 $(call Package
/luci
/webtemplate
)
609 DEPENDS
+=+luci-admin-core
+PACKAGE_luci-app-ddns
:ddns-scripts
610 TITLE
:=Dynamic DNS configuration module
613 define Package
/luci-app-ddns
/install
614 $(call Package
/luci
/install/template
,$(1),applications
/luci-ddns
)
618 define Package
/luci-app-samba
619 $(call Package
/luci
/webtemplate
)
620 DEPENDS
+=+luci-admin-full
+PACKAGE_luci-app-samba
:samba3
621 TITLE
:=Network Shares
- Samba SMB
/CIFS module
624 define Package
/luci-app-samba
/install
625 $(call Package
/luci
/install/template
,$(1),applications
/luci-samba
)
629 define Package
/luci-app-uvc_streamer
630 $(call Package
/luci
/webtemplate
)
631 DEPENDS
+=+luci-admin-full
+PACKAGE_luci-app-uvc_streamer
:uvc-streamer
632 TITLE
:=Webcam Streaming
- UVC-Streamer module
635 define Package
/luci-app-uvc_streamer
/install
636 $(call Package
/luci
/install/template
,$(1),applications
/luci-uvc_streamer
)
640 define Package
/luci-app-mmc_over_gpio
641 $(call Package
/luci
/webtemplate
)
642 DEPENDS
+=+luci-admin-full
+PACKAGE_luci-app-mmc_over_gpio
:kmod-mmc-over-gpio
646 define Package
/luci-app-mmc_over_gpio
/install
647 $(call Package
/luci
/install/template
,$(1),applications
/luci-mmc_over_gpio
)
651 define Package
/luci-app-p910nd
652 $(call Package
/luci
/webtemplate
)
653 DEPENDS
+=+luci-admin-full
+PACKAGE_luci-app-p910nd
:p910nd
654 TITLE
:=p910nd
- Printer server module
657 define Package
/luci-app-p910nd
/install
658 $(call Package
/luci
/install/template
,$(1),applications
/luci-p910nd
)
662 define Package
/luci-app-ushare
663 $(call Package
/luci
/webtemplate
)
664 DEPENDS
+=+luci-admin-full
+PACKAGE_luci-app-ushare
:ushare
665 TITLE
:=ushare
- UPnP A
/V
& DLNA Media Server
668 define Package
/luci-app-ushare
/install
669 $(call Package
/luci
/install/template
,$(1),applications
/luci-ushare
)
672 define Package
/luci-app-hd_idle
673 $(call Package
/luci
/webtemplate
)
674 DEPENDS
+=+luci-admin-full
+PACKAGE_luci-app-hd_idle
:hd-idle
678 define Package
/luci-app-hd_idle
/install
679 $(call Package
/luci
/install/template
,$(1),applications
/luci-hd_idle
)
682 define Package
/luci-app-tinyproxy
683 $(call Package
/luci
/webtemplate
)
684 DEPENDS
+=+luci-admin-full
+PACKAGE_luci-app-tinyproxy
:tinyproxy
685 TITLE
:=Tinyproxy
- HTTP
(S
)-Proxy
688 define Package
/luci-app-tinyproxy
/install
689 $(call Package
/luci
/install/template
,$(1),applications
/luci-tinyproxy
)
692 define Package
/luci-app-initmgr
693 $(call Package
/luci
/webtemplate
)
694 DEPENDS
+=+luci-admin-full
695 TITLE
:=LuCI Initscript Management
698 define Package
/luci-app-initmgr
/install
699 $(call Package
/luci
/install/template
,$(1),applications
/luci-initmgr
)
702 define Package
/luci-app-livestats
703 $(call Package
/luci
/webtemplate
)
704 DEPENDS
+=+luci-admin-core
+luci-admin-rpc
705 TITLE
:=LuCI Realtime Statistics
708 define Package
/luci-app-livestats
/install
709 $(call Package
/luci
/install/template
,$(1),applications
/luci-livestats
)
712 define Package
/luci-app-asterisk
713 $(call Package
/luci
/webtemplate
)
714 TITLE
:=LuCI Support for Asterisk PBX
715 DEPENDS
+=@BROKEN
+luci-admin-core
+PACKAGE_luci-app-asterisk
:asterisk14-xip-core
718 define Package
/luci-app-asterisk
/install
719 $(call Package
/luci
/install/template
,$(1),applications
/luci-asterisk
)
722 define Package
/luci-app-polipo
723 $(call Package
/luci
/webtemplate
)
724 TITLE
:=LuCI Support for the Polipo Proxy
725 DEPENDS
+=+luci-admin-core
+PACKAGE_luci-app-polipo
:polipo
728 define Package
/luci-app-polipo
/install
729 $(call Package
/luci
/install/template
,$(1),applications
/luci-polipo
)
732 define Package
/luci-app-openvpn
733 $(call Package
/luci
/webtemplate
)
734 TITLE
:=LuCI Support for OpenVPN
735 DEPENDS
+=+luci-admin-core
+PACKAGE_luci-app-openvpn
:openvpn
738 define Package
/luci-app-openvpn
/install
739 $(call Package
/luci
/install/template
,$(1),applications
/luci-openvpn
)
742 define Package
/luci-app-p2pblock
743 $(call Package
/luci
/webtemplate
)
744 TITLE
:=LuCI Support for the Freifunk P2P-Block addon
745 DEPENDS
+=+luci-admin-core
+luci-app-firewall \
746 +PACKAGE_luci-app-p2pblock
:freifunk-p2pblock
749 define Package
/luci-app-p2pblock
/install
750 $(call Package
/luci
/install/template
,$(1),applications
/luci-p2pblock
)
754 ### Server Gateway Interfaces ###
756 define Package
/luci-sgi-cgi
757 $(call Package
/luci
/libtemplate
)
761 define Package
/luci-sgi-cgi
/install
762 $(call Package
/luci
/install/template
,$(1),libs
/sgi-cgi
)
766 define Package
/luci-theme-base
767 $(call Package
/luci
/thtemplate
)
769 TITLE
:=Common base for
all themes
772 define Package
/luci-theme-base
/install
773 $(call Package
/luci
/install/template
,$(1),themes
/base
)
776 define Package
/luci-theme-fledermaus
777 $(call Package
/luci
/fftemplate
)
779 TITLE
:=Fledermaus Theme
782 define Package
/luci-theme-fledermaus
/install
783 $(call Package
/luci
/install/template
,$(1),themes
/fledermaus
)
786 define Package
/luci-theme-freifunk
787 $(call Package
/luci
/fftemplate
)
789 MAINTAINER
:=Stefan Pirwitz
<stefan-at-freifunk-bno-dot-de
>
790 TITLE
:=alternative Freifunk Theme
793 define Package
/luci-theme-freifunk
/install
794 $(call Package
/luci
/install/template
,$(1),themes
/freifunk
)
797 define Package
/luci-theme-freifunk-bno
798 $(call Package
/luci
/fftemplate
)
800 MAINTAINER
:=Stefan Pirwitz
<stefan-at-freifunk-bno-dot-de
>
801 TITLE
:=Freifunk Berlin Nordost Theme
804 define Package
/luci-theme-freifunk-bno
/install
805 $(call Package
/luci
/install/template
,$(1),themes
/freifunk-bno
)
808 define Package
/luci-theme-freifunk-hannover
809 $(call Package
/luci
/fftemplate
)
811 MAINTAINER
:=Mikolas Bingemer
<mickey-at-freifunk-hannover-dot-de
>
812 TITLE
:=Freifunk Hannover Theme
815 define Package
/luci-theme-freifunk-hannover
/install
816 $(call Package
/luci
/install/template
,$(1),themes
/freifunk-hannover
)
819 define Package
/luci-theme-openwrt
820 $(call Package
/luci
/thtemplate
)
821 TITLE
:=OpenWrt.org
(default
)
822 DEPENDS
:=+luci-theme-base luci-core
823 DEFAULT
:=y if PACKAGE_luci-core
826 define Package
/luci-theme-openwrt
/install
827 $(call Package
/luci
/install/template
,$(1),themes
/openwrt.org
)
830 define Package
/luci-theme-openwrtlight
831 $(call Package
/luci
/thtemplate
)
832 TITLE
:=OpenWrt.org
- light variant without images
833 DEPENDS
:=+luci-theme-base
836 define Package
/luci-theme-openwrtlight
/install
837 $(call Package
/luci
/install/template
,$(1),themes
/openwrt-light
)
842 define Package
/luci-i18n-german
843 $(call Package
/luci
/i18ntemplate
)
847 define Package
/luci-i18n-german
/install
848 $(call Package
/luci
/install/template
,$(1),i18n
/german
)
852 define Package
/luci-i18n-english
853 $(call Package
/luci
/i18ntemplate
)
857 define Package
/luci-i18n-english
/install
858 $(call Package
/luci
/install/template
,$(1),i18n
/english
)
862 define Package
/luci-i18n-french
863 $(call Package
/luci
/i18ntemplate
)
864 TITLE
:=French
(by Florian Fainelli
)
867 define Package
/luci-i18n-french
/install
868 $(call Package
/luci
/install/template
,$(1),i18n
/french
)
872 define Package
/luci-i18n-italian
873 $(call Package
/luci
/i18ntemplate
)
874 TITLE
:=Italian
(by Matteo Croce
)
877 define Package
/luci-i18n-italian
/install
878 $(call Package
/luci
/install/template
,$(1),i18n
/italian
)
882 define Package
/luci-i18n-russian
883 $(call Package
/luci
/i18ntemplate
)
884 TITLE
:=Russian
(by Skryabin Dmitry
)
887 define Package
/luci-i18n-russian
/install
888 $(call Package
/luci
/install/template
,$(1),i18n
/russian
)
892 define Package
/luci-i18n-portuguese_brazilian
893 $(call Package
/luci
/i18ntemplate
)
894 TITLE
:=Portuguese
(Brazilian
) (by Carlos Cesario
)
897 define Package
/luci-i18n-portuguese_brazilian
/install
898 $(call Package
/luci
/install/template
,$(1),i18n
/portuguese_brazilian
)
902 define Package
/luci-i18n-japanese
903 $(call Package
/luci
/i18ntemplate
)
904 TITLE
:=Japanese
(by Tsukasa Hamano
)
907 define Package
/luci-i18n-japanese
/install
908 $(call Package
/luci
/install/template
,$(1),i18n
/japanese
)
912 define Package
/luci-i18n-greek
913 $(call Package
/luci
/i18ntemplate
)
914 TITLE
:=Greek
(by Vasilis Tsiligiannis
)
917 define Package
/luci-i18n-greek
/install
918 $(call Package
/luci
/install/template
,$(1),i18n
/greek
)
922 define Package
/luci-i18n-catalan
923 $(call Package
/luci
/i18ntemplate
)
924 TITLE
:=Catalan
(by Eduard Duran
)
927 define Package
/luci-i18n-catalan
/install
928 $(call Package
/luci
/install/template
,$(1),i18n
/catalan
)
932 define Package
/luci-i18n-portuguese
933 $(call Package
/luci
/i18ntemplate
)
934 TITLE
:=Portuguese
(by Jose Monteiro
)
937 define Package
/luci-i18n-portuguese
/install
938 $(call Package
/luci
/install/template
,$(1),i18n
/portuguese
)
942 define Package
/luci-i18n-spanish
943 $(call Package
/luci
/i18ntemplate
)
944 TITLE
:=Spanish
(by Guillermo Javier Nardoni
)
947 define Package
/luci-i18n-spanish
/install
948 $(call Package
/luci
/install/template
,$(1),i18n
/spanish
)
952 define Package
/luci-i18n-vietnamese
953 $(call Package
/luci
/i18ntemplate
)
954 TITLE
:=Vietnamese
(by Hong Phuc Dang
)
957 define Package
/luci-i18n-vietnamese
/install
958 $(call Package
/luci
/install/template
,$(1),i18n
/vietnamese
)
963 ifneq ($(CONFIG_PACKAGE_luci-core
),)
964 PKG_SELECTED_MODULES
+=libs
/core
966 ifneq ($(CONFIG_PACKAGE_luci-cbi
),)
967 PKG_SELECTED_MODULES
+=libs
/cbi
969 ifneq ($(CONFIG_PACKAGE_luci-fastindex
),)
970 PKG_SELECTED_MODULES
+=libs
/fastindex
972 ifneq ($(CONFIG_PACKAGE_luci-http
),)
973 PKG_SELECTED_MODULES
+=libs
/http
975 ifneq ($(CONFIG_PACKAGE_luci-httpclient
),)
976 PKG_SELECTED_MODULES
+=libs
/httpclient
978 ifneq ($(CONFIG_PACKAGE_luci-ipkg
),)
979 PKG_SELECTED_MODULES
+=libs
/ipkg
981 ifneq ($(CONFIG_PACKAGE_luci-json
),)
982 PKG_SELECTED_MODULES
+=libs
/json
984 ifneq ($(CONFIG_PACKAGE_luci-lmo
),)
985 PKG_SELECTED_MODULES
+=libs
/lmo
987 ifneq ($(CONFIG_PACKAGE_luci-luanet
),)
988 PKG_SELECTED_MODULES
+=libs
/luanet
990 ifneq ($(CONFIG_PACKAGE_luci-iwinfo
),)
991 PKG_SELECTED_MODULES
+=libs
/iwinfo
993 ifneq ($(CONFIG_PACKAGE_luci-lucid
),)
994 PKG_SELECTED_MODULES
+=libs
/lucid libs
/lucid-http
996 ifneq ($(CONFIG_PACKAGE_luci-nixio
),)
997 PKG_SELECTED_MODULES
+=libs
/nixio
999 ifneq ($(CONFIG_PACKAGE_luci-px5g
),)
1000 PKG_SELECTED_MODULES
+=libs
/px5g
1002 ifneq ($(CONFIG_PACKAGE_luci-uci
),)
1003 PKG_SELECTED_MODULES
+=libs
/uci
1005 ifneq ($(CONFIG_PACKAGE_luci-sys
),)
1006 PKG_SELECTED_MODULES
+=libs
/sys
1008 ifneq ($(CONFIG_PACKAGE_luci-web
),)
1009 PKG_SELECTED_MODULES
+=libs
/web
1011 ifneq ($(CONFIG_PACKAGE_luci-uvl
),)
1012 PKG_SELECTED_MODULES
+=libs
/uvl
1015 ifneq ($(CONFIG_PACKAGE_luci-admin-core
),)
1016 PKG_SELECTED_MODULES
+=modules
/admin-core
1018 ifneq ($(CONFIG_PACKAGE_luci-admin-mini
),)
1019 PKG_SELECTED_MODULES
+=modules
/admin-mini
1021 ifneq ($(CONFIG_PACKAGE_luci-admin-full
),)
1022 PKG_SELECTED_MODULES
+=modules
/admin-full
1024 ifneq ($(CONFIG_PACKAGE_luci-admin-rpc
),)
1025 PKG_SELECTED_MODULES
+=modules
/rpc
1027 ifneq ($(CONFIG_PACKAGE_luci-mod-freifunk
),)
1028 PKG_SELECTED_MODULES
+=modules
/freifunk
1031 ifneq ($(CONFIG_PACKAGE_luci-freifunk-community
),)
1032 PKG_SELECTED_MODULES
+=applications
/freifunk-community
1035 ifneq ($(CONFIG_PACKAGE_luci-app-ffwizard-leipzig
),)
1036 PKG_SELECTED_MODULES
+=applications
/luci-ffwizard-leipzig
1038 ifneq ($(CONFIG_PACKAGE_luci-app-siitwizard
),)
1039 PKG_SELECTED_MODULES
+=applications
/luci-siitwizard
1041 ifneq ($(CONFIG_PACKAGE_luci-app-firewall
),)
1042 PKG_SELECTED_MODULES
+=applications
/luci-fw
1044 ifneq ($(CONFIG_PACKAGE_luci-app-olsr
),)
1045 PKG_SELECTED_MODULES
+=applications
/luci-olsr
1047 ifneq ($(CONFIG_PACKAGE_luci-app-qos
),)
1048 PKG_SELECTED_MODULES
+=applications
/luci-qos
1050 ifneq ($(CONFIG_PACKAGE_luci-app-splash
),)
1051 PKG_SELECTED_MODULES
+=applications
/luci-splash
1053 ifneq ($(CONFIG_PACKAGE_luci-app-statistics
),)
1054 PKG_SELECTED_MODULES
+=applications
/luci-statistics
1056 ifneq ($(CONFIG_PACKAGE_luci-app-voice-core
),)
1057 PKG_SELECTED_MODULES
+=applications
/luci-voice-core
1059 ifneq ($(CONFIG_PACKAGE_luci-app-voice-diag
),)
1060 PKG_SELECTED_MODULES
+=applications
/luci-voice-diag
1062 ifneq ($(CONFIG_PACKAGE_luci-app-diag-core
),)
1063 PKG_SELECTED_MODULES
+=applications
/luci-diag-core
1065 ifneq ($(CONFIG_PACKAGE_luci-app-diag-devinfo
),)
1066 PKG_SELECTED_MODULES
+=applications
/luci-diag-devinfo
1068 ifneq ($(CONFIG_PACKAGE_luci-app-upnp
),)
1069 PKG_SELECTED_MODULES
+=applications
/luci-upnp
1071 ifneq ($(CONFIG_PACKAGE_luci-app-ntpc
),)
1072 PKG_SELECTED_MODULES
+=applications
/luci-ntpc
1074 ifneq ($(CONFIG_PACKAGE_luci-app-ddns
),)
1075 PKG_SELECTED_MODULES
+=applications
/luci-ddns
1077 ifneq ($(CONFIG_PACKAGE_luci-app-samba
),)
1078 PKG_SELECTED_MODULES
+=applications
/luci-samba
1080 ifneq ($(CONFIG_PACKAGE_luci-app-uvc_streamer
),)
1081 PKG_SELECTED_MODULES
+=applications
/luci-uvc_streamer
1083 ifneq ($(CONFIG_PACKAGE_luci-app-mmc_over_gpio
),)
1084 PKG_SELECTED_MODULES
+=applications
/luci-mmc_over_gpio
1086 ifneq ($(CONFIG_PACKAGE_luci-app-p910nd
),)
1087 PKG_SELECTED_MODULES
+=applications
/luci-p910nd
1089 ifneq ($(CONFIG_PACKAGE_luci-app-ushare
),)
1090 PKG_SELECTED_MODULES
+=applications
/luci-ushare
1092 ifneq ($(CONFIG_PACKAGE_luci-app-hd_idle
),)
1093 PKG_SELECTED_MODULES
+=applications
/luci-hd_idle
1095 ifneq ($(CONFIG_PACKAGE_luci-app-tinyproxy
),)
1096 PKG_SELECTED_MODULES
+=applications
/luci-tinyproxy
1098 ifneq ($(CONFIG_PACKAGE_luci-app-initmgr
),)
1099 PKG_SELECTED_MODULES
+=applications
/luci-initmgr
1101 ifneq ($(CONFIG_PACKAGE_luci-app-livestats
),)
1102 PKG_SELECTED_MODULES
+=applications
/luci-livestats
1104 ifneq ($(CONFIG_PACKAGE_luci-app-asterisk
),)
1105 PKG_SELECTED_MODULES
+=applications
/luci-asterisk
1107 ifneq ($(CONFIG_PACKAGE_luci-app-polipo
),)
1108 PKG_SELECTED_MODULES
+=applications
/luci-polipo
1110 ifneq ($(CONFIG_PACKAGE_luci-app-openvpn
),)
1111 PKG_SELECTED_MODULES
+=applications
/luci-openvpn
1113 ifneq ($(CONFIG_PACKAGE_luci-app-p2pblock
),)
1114 PKG_SELECTED_MODULES
+=applications
/luci-p2pblock
1118 ifneq ($(CONFIG_PACKAGE_luci-sgi-cgi
),)
1119 PKG_SELECTED_MODULES
+=libs
/sgi-cgi
1121 ifneq ($(CONFIG_PACKAGE_luci-sgi-luci
),)
1122 PKG_SELECTED_MODULES
+=libs
/sgi-luci
1125 ifneq ($(CONFIG_PACKAGE_luci-theme-base
),)
1126 PKG_SELECTED_MODULES
+=themes
/base
1128 ifneq ($(CONFIG_PACKAGE_luci-theme-fledermaus
),)
1129 PKG_SELECTED_MODULES
+=themes
/fledermaus
1131 ifneq ($(CONFIG_PACKAGE_luci-theme-freifunk-bno
),)
1132 PKG_SELECTED_MODULES
+=themes
/freifunk-bno
1134 ifneq ($(CONFIG_PACKAGE_luci-theme-freifunk-hannover
),)
1135 PKG_SELECTED_MODULES
+=themes
/freifunk-hannover
1137 ifneq ($(CONFIG_PACKAGE_luci-theme-freifunk
),)
1138 PKG_SELECTED_MODULES
+=themes
/freifunk
1140 ifneq ($(CONFIG_PACKAGE_luci-theme-openwrt
),)
1141 PKG_SELECTED_MODULES
+=themes
/openwrt.org
1143 ifneq ($(CONFIG_PACKAGE_luci-theme-openwrtlight
),)
1144 PKG_SELECTED_MODULES
+=themes
/openwrt-light
1147 ifneq ($(CONFIG_PACKAGE_luci-i18n-german
),)
1148 PKG_SELECTED_MODULES
+=i18n
/german
1150 ifneq ($(CONFIG_PACKAGE_luci-i18n-english
),)
1151 PKG_SELECTED_MODULES
+=i18n
/english
1153 ifneq ($(CONFIG_PACKAGE_luci-i18n-french
),)
1154 PKG_SELECTED_MODULES
+=i18n
/french
1156 ifneq ($(CONFIG_PACKAGE_luci-i18n-italian
),)
1157 PKG_SELECTED_MODULES
+=i18n
/italian
1159 ifneq ($(CONFIG_PACKAGE_luci-i18n-russian
),)
1160 PKG_SELECTED_MODULES
+=i18n
/russian
1162 ifneq ($(CONFIG_PACKAGE_luci-i18n-portuguese_brazilian
),)
1163 PKG_SELECTED_MODULES
+=i18n
/portuguese_brazilian
1165 ifneq ($(CONFIG_PACKAGE_luci-i18n-japanese
),)
1166 PKG_SELECTED_MODULES
+=i18n
/japanese
1168 ifneq ($(CONFIG_PACKAGE_luci-i18n-greek
),)
1169 PKG_SELECTED_MODULES
+=i18n
/greek
1171 ifneq ($(CONFIG_PACKAGE_luci-i18n-catalan
),)
1172 PKG_SELECTED_MODULES
+=i18n
/catalan
1174 ifneq ($(CONFIG_PACKAGE_luci-i18n-portuguese
),)
1175 PKG_SELECTED_MODULES
+=i18n
/portuguese
1177 ifneq ($(CONFIG_PACKAGE_luci-i18n-spanish
),)
1178 PKG_SELECTED_MODULES
+=i18n
/spanish
1180 ifneq ($(CONFIG_PACKAGE_luci-i18n-vietnamese
),)
1181 PKG_SELECTED_MODULES
+=i18n
/vietnamese
1186 MODULES
="$(PKG_SELECTED_MODULES)" \
1187 LUA_TARGET
="$(LUA_TARGET)" \
1188 LUA_SHLIBS
="-llua -lm -ldl -lcrypt" \
1189 CFLAGS
="$(TARGET_CFLAGS) $(LUCI_CFLAGS) -I$(STAGING_DIR)/usr/include" \
1190 LDFLAGS
="$(TARGET_LDFLAGS) -L$(STAGING_DIR)/usr/lib" \
1191 NIXIO_TLS
="$(NIXIO_TLS)" OS
="Linux"
1194 $(eval
$(call BuildPackage
,luci-core
))
1195 $(eval
$(call BuildPackage
,luci-cbi
))
1196 $(eval
$(call BuildPackage
,luci-fastindex
))
1197 $(eval
$(call BuildPackage
,luci-http
))
1198 $(eval
$(call BuildPackage
,luci-httpclient
))
1199 $(eval
$(call BuildPackage
,luci-ipkg
))
1200 $(eval
$(call BuildPackage
,luci-json
))
1201 $(eval
$(call BuildPackage
,luci-lmo
))
1202 $(eval
$(call BuildPackage
,luci-luanet
))
1203 $(eval
$(call BuildPackage
,luci-iwinfo
))
1204 $(eval
$(call BuildPackage
,luci-lucid
))
1205 $(eval
$(call BuildPackage
,luci-nixio
))
1206 $(eval
$(call BuildPackage
,luci-px5g
))
1207 $(eval
$(call BuildPackage
,luci-uci
))
1208 $(eval
$(call BuildPackage
,luci-sys
))
1209 $(eval
$(call BuildPackage
,luci-web
))
1210 $(eval
$(call BuildPackage
,luci-uvl
))
1212 $(eval
$(call BuildPackage
,luci-admin-core
))
1213 $(eval
$(call BuildPackage
,luci-admin-mini
))
1214 $(eval
$(call BuildPackage
,luci-admin-full
))
1215 $(eval
$(call BuildPackage
,luci-admin-rpc
))
1216 $(eval
$(call BuildPackage
,luci-mod-freifunk
))
1218 $(eval
$(call BuildPackage
,luci-freifunk-community
))
1220 $(eval
$(call BuildPackage
,luci-app-ffwizard-leipzig
))
1221 $(eval
$(call BuildPackage
,luci-app-siitwizard
))
1222 $(eval
$(call BuildPackage
,luci-app-firewall
))
1223 $(eval
$(call BuildPackage
,luci-app-olsr
))
1224 $(eval
$(call BuildPackage
,luci-app-qos
))
1225 $(eval
$(call BuildPackage
,luci-app-splash
))
1226 $(eval
$(call BuildPackage
,luci-app-statistics
))
1227 $(eval
$(call BuildPackage
,luci-app-diag-core
))
1228 $(eval
$(call BuildPackage
,luci-app-diag-devinfo
))
1229 $(eval
$(call BuildPackage
,luci-app-voice-core
))
1230 $(eval
$(call BuildPackage
,luci-app-voice-diag
))
1231 $(eval
$(call BuildPackage
,luci-app-upnp
))
1232 $(eval
$(call BuildPackage
,luci-app-ntpc
))
1233 $(eval
$(call BuildPackage
,luci-app-ddns
))
1234 $(eval
$(call BuildPackage
,luci-app-samba
))
1235 $(eval
$(call BuildPackage
,luci-app-uvc_streamer
))
1236 $(eval
$(call BuildPackage
,luci-app-mmc_over_gpio
))
1237 $(eval
$(call BuildPackage
,luci-app-p910nd
))
1238 $(eval
$(call BuildPackage
,luci-app-ushare
))
1239 $(eval
$(call BuildPackage
,luci-app-hd_idle
))
1240 $(eval
$(call BuildPackage
,luci-app-tinyproxy
))
1241 $(eval
$(call BuildPackage
,luci-app-initmgr
))
1242 $(eval
$(call BuildPackage
,luci-app-livestats
))
1243 $(eval
$(call BuildPackage
,luci-app-asterisk
))
1244 $(eval
$(call BuildPackage
,luci-app-polipo
))
1245 $(eval
$(call BuildPackage
,luci-app-openvpn
))
1246 $(eval
$(call BuildPackage
,luci-app-p2pblock
))
1248 $(eval
$(call BuildPackage
,luci-sgi-cgi
))
1250 $(eval
$(call BuildPackage
,luci-theme-base
))
1251 $(eval
$(call BuildPackage
,luci-theme-fledermaus
))
1252 $(eval
$(call BuildPackage
,luci-theme-freifunk
))
1253 $(eval
$(call BuildPackage
,luci-theme-freifunk-bno
))
1254 $(eval
$(call BuildPackage
,luci-theme-freifunk-hannover
))
1255 $(eval
$(call BuildPackage
,luci-theme-openwrt
))
1256 $(eval
$(call BuildPackage
,luci-theme-openwrtlight
))
1258 $(eval
$(call BuildPackage
,luci-i18n-german
))
1259 $(eval
$(call BuildPackage
,luci-i18n-english
))
1260 $(eval
$(call BuildPackage
,luci-i18n-french
))
1261 $(eval
$(call BuildPackage
,luci-i18n-italian
))
1262 $(eval
$(call BuildPackage
,luci-i18n-russian
))
1263 $(eval
$(call BuildPackage
,luci-i18n-portuguese_brazilian
))
1264 $(eval
$(call BuildPackage
,luci-i18n-japanese
))
1265 $(eval
$(call BuildPackage
,luci-i18n-greek
))
1266 $(eval
$(call BuildPackage
,luci-i18n-catalan
))
1267 $(eval
$(call BuildPackage
,luci-i18n-portuguese
))
1268 $(eval
$(call BuildPackage
,luci-i18n-spanish
))
1269 $(eval
$(call BuildPackage
,luci-i18n-vietnamese
))