1 include $(TOPDIR
)/rules.mk
6 USELOCAL
:=$(shell grep luci ..
/..
/..
/.project
2>/dev
/null
>/dev
/null
&& echo
1)
15 PKG_VERSION
:=trunk
+svn
17 PKG_SOURCE_URL
:=http
://svn.luci.subsignal.org
/luci
/$(PKG_BRANCH
)
19 PKG_REV
:=$(shell LC_ALL
=C svn
info $(CURDIR
) | sed
-ne
's/^Revision: //p')
20 PKG_VERSION
:=trunk
+svn
$(PKG_REV
)
22 PKG_SOURCE_SUBDIR
:=$(PKG_NAME
)-$(PKG_VERSION
)
23 PKG_SOURCE
:=$(PKG_SOURCE_SUBDIR
).
tar.gz
25 PKG_SOURCE_VERSION
:=$(PKG_REV
)
28 PKG_BUILD_DEPENDS
:=$(if
$(STAGING_DIR_ROOT
),lua
/host
)
29 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
30 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
35 LUCI_SELECTED_MODULES
:=
37 ifeq ($(BOARD
),brcm-2.4
)
38 MAKE_FLAGS
+= CRAP
="1"
43 define Package
/luci
/install/template
44 $(CP
) -a
$(PKG_BUILD_DIR
)/$(2)/dist/* $(1)/ -R
45 $(CP
) -a
$(PKG_BUILD_DIR
)/$(2)/ipkg
/* $(1)/CONTROL
/ 2>/dev
/null || true
50 define Package
/luci-lib-core
53 TITLE
:=LuCI
- Lua Configuration Interface
54 URL
:=http
://luci.subsignal.org
/
55 MAINTAINER
:=LuCI Development Team
<luci@lists.subsignal.org
>
57 DEPENDS
:=+lua
+libuci-lua
58 TITLE
:=LuCI core libraries
61 define Package
/luci-lib-core
/install
62 $(call Package
/luci
/install/template
,$(1),libs
/core
)
63 $(PKG_BUILD_DIR
)/build
/mkversion.sh
$(1)/usr
/lib
/lua
/luci
/version.lua \
70 define Package
/luci-lib-core
/config
73 default PACKAGE_luci-lib-core_source
75 config PACKAGE_luci-lib-core_compile
78 config PACKAGE_luci-lib-core_stripped
81 config PACKAGE_luci-lib-core_srcdiet
82 bool
"Compressed Source"
84 config PACKAGE_luci-lib-core_source
90 ifneq ($(CONFIG_PACKAGE_luci-lib-core_compile
),)
94 ifneq ($(CONFIG_PACKAGE_luci-lib-core_stripped
),)
98 ifneq ($(CONFIG_PACKAGE_luci-lib-core_srcdiet
),)
102 ifneq ($(CONFIG_PACKAGE_luci-lib-core
),)
103 LUCI_SELECTED_MODULES
+=libs
/core
106 LUCI_BUILD_PACKAGES
+= luci-lib-core
111 define Package
/luci-lib-
$(1)
114 TITLE
:=LuCI
- Lua Configuration Interface
115 URL
:=http
://luci.subsignal.org
/
116 MAINTAINER
:=LuCI Development Team
<luci@lists.subsignal.org
>
118 TITLE
:=$(if
$(2),$(2),LuCI
$(1) library
)
119 $(if
$(3),DEPENDS
:=+luci-lib-core
$(3))
122 define Package
/luci-lib-
$(1)/install
123 $(call Package
/luci
/install/template
,$$(1),libs
/$(1))
124 $(call Package
/luci-lib-
$(1)/extra-install
)
127 ifneq ($(CONFIG_PACKAGE_luci-lib-
$(1)),)
128 LUCI_SELECTED_MODULES
+=libs
/$(1)
131 LUCI_BUILD_PACKAGES
+= luci-lib-
$(1)
134 define Package
/luci-lib-web
/conffiles
138 define Package
/luci-lib-nixio
/config
140 prompt
"TLS Provider"
141 default PACKAGE_luci-lib-nixio_notls
143 config PACKAGE_luci-lib-nixio_notls
146 config PACKAGE_luci-lib-nixio_axtls
147 bool
"Builtin (axTLS)"
149 config PACKAGE_luci-lib-nixio_cyassl
151 select PACKAGE_libcyassl
153 config PACKAGE_luci-lib-nixio_openssl
155 select PACKAGE_libopenssl
162 ifneq ($(CONFIG_PACKAGE_luci-lib-nixio_axtls
),)
166 ifneq ($(CONFIG_PACKAGE_luci-lib-nixio_openssl
),)
170 ifneq ($(CONFIG_PACKAGE_luci-lib-nixio_cyassl
),)
172 LUCI_CFLAGS
+=-I
$(STAGING_DIR
)/usr
/include/cyassl
176 $(eval
$(call library
,fastindex
,Fastindex indexing module
))
177 $(eval
$(call library
,httpclient
,HTTP
(S
) client library
,+luci-lib-web
+luci-lib-nixio
))
178 $(eval
$(call library
,ipkg
,LuCI IPKG
/OPKG call abstraction library
))
179 $(eval
$(call library
,json
,LuCI JSON library
))
180 $(eval
$(call library
,lmo
,LuCI LMO I18N library
))
181 $(eval
$(call library
,lucid
,LuCId Full-Stack Webserver
,+luci-lib-nixio
+luci-lib-web
+luci-lib-px5g
))
182 $(eval
$(call library
,lucid-http
,LuCId HTTP Backend
,+luci-lib-lucid
))
183 $(eval
$(call library
,lucid-rpc
,LuCId RPC Backend
,+luci-lib-lucid
))
184 $(eval
$(call library
,nixio
,NIXIO POSIX library
,+PACKAGE_luci-lib-nixio_openssl
:libopenssl
+PACKAGE_luci-lib-nixio_cyassl
:libcyassl
))
185 $(eval
$(call library
,px5g
,RSA
/X
.509 Key Generator
(required for LuCId SSL support
),+luci-lib-nixio
))
186 $(eval
$(call library
,sys
,LuCI Linux
/POSIX system library
))
187 $(eval
$(call library
,web
,MVC Webframework
,+luci-lib-sys
+luci-lib-nixio
+luci-lib-core
+luci-sgi-cgi
+luci-lib-lmo
))
190 ### Community Packages ###
191 define Package
/luci-mod-freifunk-community
194 TITLE
:=LuCI
- Lua Configuration Interface
195 URL
:=http
://luci.subsignal.org
/
196 MAINTAINER
:=LuCI Development Team
<luci@lists.subsignal.org
>
198 TITLE
:=Freifunk Community Meta-Package
200 +luci-lib-web
+luci-app-splash
+luci-i18n-german \
201 +PACKAGE_luci-mod-freifunk-community
:olsrd
+PACKAGE_luci-mod-freifunk-community
:olsrd-mod-dyn-gw-plain \
202 +PACKAGE_luci-mod-freifunk-community
:olsrd-mod-txtinfo
+PACKAGE_luci-mod-freifunk-community
:olsrd-mod-nameservice \
203 +PACKAGE_luci-mod-freifunk-community
:olsrd-mod-watchdog
+PACKAGE_luci-mod-freifunk-community
:kmod-tun \
204 +PACKAGE_luci-mod-freifunk-community
:ip
+PACKAGE_luci-mod-freifunk-community
:freifunk-watchdog
+luci-app-olsr \
205 +luci-app-olsr-services
+freifunk-gwcheck
+freifunk-mapupdate
208 define Package
/luci-mod-freifunk-community
/install
209 $(call Package
/luci
/install/template
,$(1),applications
/freifunk-community
)
212 ifneq ($(CONFIG_PACKAGE_luci-mod-freifunk-community
),)
213 LUCI_SELECTED_MODULES
+=applications
/freifunk-community
216 LUCI_BUILD_PACKAGES
+= luci-mod-freifunk-community
221 define Package
/luci-mod-
$(1)
224 TITLE
:=LuCI
- Lua Configuration Interface
225 URL
:=http
://luci.subsignal.org
/
226 MAINTAINER
:=LuCI Development Team
<luci@lists.subsignal.org
>
228 TITLE
:=$(if
$(2),$(2),LuCI
$(1) module
)
229 $(if
$(3),DEPENDS
+=$(3))
232 define Package
/luci-mod-
$(1)/install
233 $(call Package
/luci
/install/template
,$$(1),modules
/$(1))
234 $(call Package
/luci-mod-
$(1)/extra-install
)
237 ifneq ($(CONFIG_PACKAGE_luci-mod-
$(1)),)
238 LUCI_SELECTED_MODULES
+=modules
/$(1)
241 LUCI_BUILD_PACKAGES
+= luci-mod-
$(1)
245 define Package
/luci-mod-admin-core
/extra-install
246 touch
$(1)/etc
/init.d
/luci_fixtime || true
249 $(eval
$(call module
,admin-core
,Web UI Core module
,+luci-lib-web
+luci-i18n-english
))
250 $(eval
$(call module
,admin-mini
,LuCI Essentials
- stripped down and user-friendly
,+luci-mod-admin-core @BROKEN
))
251 $(eval
$(call module
,admin-full
,LuCI Administration
- full-featured for full control
,+luci-mod-admin-core
+luci-lib-ipkg
))
252 $(eval
$(call module
,rpc
,LuCI RPC
- JSON-RPC API
,+luci-lib-json
))
253 $(eval
$(call module
,freifunk
,LuCI Freifunk module
,+luci-mod-admin-full
+luci-lib-json
+PACKAGE_luci-mod-freifunk
:freifunk-firewall
+freifunk-common
+community-profiles
))
254 $(eval
$(call module
,niu
,NIU
- Next Generation Interface
,+luci-mod-admin-core @BROKEN
))
259 define Package
/luci-app-
$(1)
262 TITLE
:=LuCI
- Lua Configuration Interface
263 URL
:=http
://luci.subsignal.org
/
264 MAINTAINER
:=LuCI Development Team
<luci@lists.subsignal.org
>
265 SUBMENU
:=Applications
266 TITLE
:=$(if
$(2),$(2),LuCI
$(1) application
)
267 DEPENDS
:=+luci-mod-admin-core
$(3)
270 define Package
/luci-app-
$(1)/install
271 $(call Package
/luci
/install/template
,$$(1),applications
/luci-
$(1))
274 ifneq ($(CONFIG_PACKAGE_luci-app-
$(1)),)
275 LUCI_SELECTED_MODULES
+=applications
/luci-
$(1)
278 LUCI_BUILD_PACKAGES
+= luci-app-
$(1)
281 define Package
/luci-app-splash
/conffiles
282 /etc
/config
/luci_splash
283 /usr
/lib
/luci-splash
/splashtext.html
286 define Package
/luci-app-statistics
/conffiles
287 /etc
/config
/luci_statistics
290 define Package
/luci-app-diag-devinfo
/conffiles
291 /etc
/config
/luci_devinfo
295 $(eval
$(call application
,ffwizard
,Freifunk configuration wizard
,\
298 $(eval
$(call application
,siitwizard
,SIIT IPv4-over-IPv6 configuration wizard
,\
299 +PACKAGE_luci-app-siitwizard
:kmod-siit
))
301 $(eval
$(call application
,firewall
,Firmware and Portforwarding application
,\
302 +PACKAGE_luci-app-firewall
:firewall
))
304 $(eval
$(call application
,freifunk-policyrouting
,Policy routing for mesh traffic
,\
305 +PACKAGE_luci-app-freifunk-policyrouting
:freifunk-policyrouting
+luci-mod-freifunk
))
307 $(eval
$(call application
,meshwizard
, Shellscript based wizard to setup mesh networks
,\
308 +meshwizard
+luci-mod-freifunk
))
310 $(eval
$(call application
,olsr
,OLSR configuration and status module
,\
311 +luci-mod-admin-full
+PACKAGE_luci-app-olsr
:olsrd
+PACKAGE_luci-app-olsr
:olsrd-mod-txtinfo
))
313 $(eval
$(call application
,olsr-viz
,OLSR Visualisation
,\
314 +PACKAGE_luci-app-olsr-viz
:luci-app-olsr
+PACKAGE_luci-app-olsr-viz
:olsrd-mod-txtinfo
))
316 $(eval
$(call application
,olsr-services
,Show services announced with the nameservice plugin
,\
317 +PACKAGE_luci-app-olsr-services
:olsrd-mod-nameservice
+luci-mod-freifunk
+PACKAGE_luci-app-olsr-services
:luci-app-olsr
))
319 $(eval
$(call application
,qos
,Quality of Service configuration module
,\
320 +PACKAGE_luci-app-qos
:qos-scripts
))
322 $(eval
$(call application
,splash
,Freifunk DHCP-Splash application
,\
323 +luci-lib-nixio
+PACKAGE_luci-app-splash
:tc \
324 +PACKAGE_luci-app-splash
:kmod-sched
+PACKAGE_luci-app-splash
:iptables-mod-nat-extra \
325 +PACKAGE_luci-app-splash
:iptables-mod-ipopt
))
327 $(eval
$(call application
,statistics
,LuCI Statistics Application
,\
328 +luci-mod-admin-full
+PACKAGE_luci-app-statistics
:collectd \
329 +PACKAGE_luci-app-statistics
:rrdtool1 \
330 +PACKAGE_luci-app-statistics
:collectd-mod-rrdtool \
331 +PACKAGE_luci-app-statistics
:collectd-mod-wireless \
332 +PACKAGE_luci-app-statistics
:collectd-mod-interface \
333 +PACKAGE_luci-app-statistics
:collectd-mod-load
))
336 $(eval
$(call application
,diag-core
,LuCI Diagnostics Tools
(Core
)))
338 $(eval
$(call application
,diag-devinfo
,LuCI Diagnostics Tools
(Device Info
),\
339 +luci-app-diag-core \
340 +PACKAGE_luci-app-diag-devinfo
:smap \
341 +PACKAGE_luci-app-diag-devinfo
:netdiscover \
342 +PACKAGE_luci-app-diag-devinfo
:mac-to-devinfo \
343 +PACKAGE_luci-app-diag-devinfo
:httping \
344 +PACKAGE_luci-app-diag-devinfo
:smap-to-devinfo \
345 +PACKAGE_luci-app-diag-devinfo
:netdiscover-to-devinfo
))
347 $(eval
$(call application
,voice-core
,LuCI Voice Software
(Core
)))
349 $(eval
$(call application
,voice-diag
,LuCI Voice Software
(Diagnostics
),\
350 +luci-app-voice-core
+luci-app-diag-devinfo
))
352 $(eval
$(call application
,upnp
,Universal Plug
& Play configuration module
,\
353 +PACKAGE_luci-app-upnp
:miniupnpd
))
355 $(eval
$(call application
,ntpc
,NTP time synchronisation configuration module
,\
356 +PACKAGE_luci-app-ntpc
:ntpclient
))
358 $(eval
$(call application
,ddns
,Dynamic DNS configuration module
,\
359 +PACKAGE_luci-app-ddns
:ddns-scripts
))
361 $(eval
$(call application
,samba
,Network Shares
- Samba SMB
/CIFS module
,\
362 +luci-mod-admin-full
+PACKAGE_luci-app-samba
:samba3
))
364 $(eval
$(call application
,mmc-over-gpio
,MMC-over-GPIO configuration module
,\
365 +luci-mod-admin-full
+PACKAGE_luci-app-mmc-over-gpio
:kmod-mmc-over-gpio
))
367 $(eval
$(call application
,p910nd
,p910nd
- Printer server module
,\
368 +luci-mod-admin-full
+PACKAGE_luci-app-p910nd
:p910nd
))
370 $(eval
$(call application
,ushare
,uShare
- UPnP A
/V
& DLNA Media Server
,\
371 +luci-mod-admin-full
+PACKAGE_luci-app-ushare
:ushare
))
373 $(eval
$(call application
,hd-idle
,Hard Disk Idle Spin-Down module
,\
374 +luci-mod-admin-full
+PACKAGE_luci-app-hd-idle
:hd-idle
))
376 $(eval
$(call application
,tinyproxy
,Tinyproxy
- HTTP
(S
)-Proxy configuration
,\
377 +luci-mod-admin-full
+PACKAGE_luci-app-tinyproxy
:tinyproxy
))
379 $(eval
$(call application
,polipo
,LuCI Support for the Polipo Proxy
,\
380 +PACKAGE_luci-app-polipo
:polipo
))
382 $(eval
$(call application
,openvpn
,LuCI Support for OpenVPN
,\
383 +PACKAGE_luci-app-openvpn
:openvpn
))
385 $(eval
$(call application
,p2pblock
,LuCI Support for the Freifunk P2P-Block addon
,\
386 +luci-app-firewall
+PACKAGE_luci-app-p2pblock
:freifunk-p2pblock
))
388 $(eval
$(call application
,multiwan
,LuCI Support for the OpenWrt MultiWAN agent
,\
389 +luci-app-firewall
+PACKAGE_luci-app-multiwan
:multiwan
))
391 $(eval
$(call application
,wol
,LuCI Support for Wake-on-LAN
,\
392 +PACKAGE_luci-app-wol
:etherwake
))
394 $(eval
$(call application
,vnstat
,LuCI Support for VnStat
,\
395 +PACKAGE_luci-app-vnstat
:vnstat \
396 +PACKAGE_luci-app-vnstat
:vnstati
))
398 $(eval
$(call application
,radvd
,LuCI Support for Radvd
,\
399 +luci-mod-admin-full
+PACKAGE_luci-app-radvd
:radvd
))
401 $(eval
$(call application
,ahcp
,LuCI Support for AHCPd
,\
402 +luci-mod-admin-full
+PACKAGE_luci-app-ahcp
:ahcpd
))
404 $(eval
$(call application
,lqtapifoss
,Lantiq voip
))
406 ### Server Gateway Interfaces ###
408 define Package
/luci-sgi-
$(1)
411 TITLE
:=LuCI
- Lua Configuration Interface
412 URL
:=http
://luci.subsignal.org
/
413 MAINTAINER
:=LuCI Development Team
<luci@lists.subsignal.org
>
414 SUBMENU
:=Server Interfaces
415 TITLE
:=$(if
$(2),$(2),LuCI
$(1) server gateway interface
)
416 $(if
$(3),DEPENDS
:=$(3))
419 define Package
/luci-sgi-
$(1)/install
420 $(call Package
/luci
/install/template
,$$(1),libs
/sgi-
$(1))
423 ifneq ($(CONFIG_PACKAGE_luci-sgi-
$(1)),)
424 LUCI_SELECTED_MODULES
+=libs
/sgi-
$(1)
427 LUCI_BUILD_PACKAGES
+= luci-sgi-
$(1)
430 $(eval
$(call sgi
,cgi
,CGI Gateway behind existing Webserver
))
431 $(eval
$(call sgi
,uhttpd
,Binding for the uHTTPd server
,+uhttpd
+uhttpd-mod-lua
))
436 define Package
/luci-theme-
$(1)
439 TITLE
:=LuCI
- Lua Configuration Interface
440 URL
:=http
://luci.subsignal.org
/
442 TITLE
:=$(if
$(2),$(2),LuCI
$(1) theme
)
443 MAINTAINER
:=$(if
$(3),$(3),LuCI Development Team
<luci@lists.subsignal.org
>)
444 DEPENDS
:=$(if
$(filter-out base
,$(1)),+luci-theme-base
) $(4)
445 $(if
$(5),DEFAULT
:=PACKAGE_luci-lib-core
)
448 define Package
/luci-theme-
$(1)/install
449 $(call Package
/luci
/install/template
,$$(1),themes
/$(1))
452 ifneq ($(CONFIG_PACKAGE_luci-theme-
$(1)),)
453 LUCI_SELECTED_MODULES
+=themes
/$(1)
456 LUCI_BUILD_PACKAGES
+= luci-theme-
$(1)
459 $(eval
$(call theme
,base
,Common base for
all themes
,,+luci-lib-web
))
460 $(eval
$(call theme
,openwrt
,OpenWrt.org
(default
),,,1))
461 $(eval
$(call theme
,fledermaus
,Fledermaus Theme
))
463 $(eval
$(call theme
,freifunk
,alternative Freifunk Theme
,\
464 Stefan Pirwitz
<stefan-at-freifunk-bno-dot-de
>))
466 $(eval
$(call theme
,freifunk-bno
,Freifunk Berlin Nordost Theme
,\
467 Stefan Pirwitz
<stefan-at-freifunk-bno-dot-de
>))
469 $(eval
$(call theme
,freifunk-hannover
,Freifunk Hannover Theme
,\
470 Mikolas Bingemer
<mickey-at-freifunk-hannover-dot-de
>))
472 $(eval
$(call theme
,freifunk-generic
,Freifunk Generic Theme
,\
473 Manuel Munz
<freifunk-at-somakoma-dot-de
>))
477 define Package
/luci-i18n-
$(1)
480 TITLE
:=LuCI
- Lua Configuration Interface
481 URL
:=http
://luci.subsignal.org
/
482 MAINTAINER
:=LuCI Development Team
<luci@lists.subsignal.org
>
483 SUBMENU
:=Translations
484 TITLE
:=$(if
$(2),$(2),$(1))
487 define Package
/luci-i18n-
$(1)/install
488 $(call Package
/luci
/install/template
,$$(1),i18n
/$(1))
491 ifneq ($(CONFIG_PACKAGE_luci-i18n-
$(1)),)
492 LUCI_SELECTED_MODULES
+=i18n
/$(1)
495 LUCI_BUILD_PACKAGES
+= luci-i18n-
$(1)
498 $(eval
$(call translation
,german
,German
))
499 $(eval
$(call translation
,english
,English
))
500 $(eval
$(call translation
,french
,French
(by Florian Fainelli
)))
501 $(eval
$(call translation
,italian
,Italian
(by Matteo Croce
)))
502 $(eval
$(call translation
,russian
,Russian
(by Skryabin Dmitry
)))
503 $(eval
$(call translation
,portuguese_brazilian
,Portuguese
(Brazilian
) (by Carlos Cesario
)))
504 $(eval
$(call translation
,chinese
,Chinese
(by Chinese Translators
)))
505 $(eval
$(call translation
,japanese
,Japanese
(by Tsukasa Hamano
)))
506 $(eval
$(call translation
,greek
,Greek
(by Vasilis Tsiligiannis
)))
507 $(eval
$(call translation
,catalan
,Catalan
(by Eduard Duran
)))
508 $(eval
$(call translation
,portuguese
,Portuguese
(by Jose Monteiro
)))
509 $(eval
$(call translation
,spanish
,Spanish
(by Guillermo Javier Nardoni
)))
510 $(eval
$(call translation
,vietnamese
,Vietnamese
(by Hong Phuc Dang
)))
511 $(eval
$(call translation
,malay
,Malay
(by Teow Wai Chet
)))
512 $(eval
$(call translation
,norwegian
,Norwegian
(by Lars Hardy
)))
513 $(eval
$(call translation
,hebrew
,Hebrew
))
518 define Package
/luci
$(if
$(1),-$(1))
521 TITLE
:=LuCI
- Lua Configuration Interface
522 URL
:=http
://luci.subsignal.org
/
523 MAINTAINER
:=LuCI Development Team
<luci@lists.subsignal.org
>
525 TITLE
:=$(if
$(2),$(2),LuCI
$(if
$(1),$(1),general
) collection
)
526 $(if
$(3),DEPENDS
:=$(3))
529 define Package
/luci
$(if
$(1),-$(1))/install
533 LUCI_BUILD_PACKAGES
+= luci
$(if
$(1),-$(1))
536 $(eval
$(call collection
,,\
537 Standard OpenWrt set including full and mini admin and the standard theme
,\
538 +uhttpd
+luci-mod-admin-full
+luci-theme-openwrt
+luci-app-firewall \
541 $(eval
$(call collection
,ssl
,\
542 Standard OpenWrt set with HTTPS support
,\
543 +uhttpd
+uhttpd-mod-tls
+px5g
+luci-mod-admin-full
+luci-theme-openwrt \
544 +luci-app-firewall
+libiwinfo
))
546 $(eval
$(call collection
,light
,\
547 Minimum package set using only admin mini and the standard theme
,\
548 +uhttpd
+luci-mod-admin-mini
+luci-theme-openwrt @BROKEN
))
552 PKG_CONFIG_DEPENDS
=$(patsubst %,CONFIG_PACKAGE_
%,$(LUCI_BUILD_PACKAGES
))
554 include $(INCLUDE_DIR
)/package.mk
558 mkdir
-p
$(PKG_BUILD_DIR
)
559 $(TAR
) c
-C ..
/..
/..
/ . \
560 --exclude
=.
pc --exclude
=.svn
--exclude
=.git \
561 --exclude
='boa-0*' --exclude
='*.o' --exclude
='*.so' \
563 tar x
-C
$(PKG_BUILD_DIR
)/
567 define Build
/Configure
571 MODULES
="$(LUCI_SELECTED_MODULES)" \
572 LUA_TARGET
="$(LUA_TARGET)" \
573 LUA_SHLIBS
="-llua -lm -ldl -lcrypt" \
574 CFLAGS
="$(TARGET_CFLAGS) $(LUCI_CFLAGS) -I$(STAGING_DIR)/usr/include" \
575 LDFLAGS
="$(TARGET_LDFLAGS) -L$(STAGING_DIR)/usr/lib" \
576 NIXIO_TLS
="$(NIXIO_TLS)" OS
="Linux"
579 $(foreach b
,$(LUCI_BUILD_PACKAGES
),$(eval
$(call BuildPackage
,$(b
))))