Make packages having a non-empty luasrc/ directory automatically depend on the LuCI Lua runtime package. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
28 lines
506 B
Makefile
28 lines
506 B
Makefile
#
|
|
# Copyright (C) 2022 Jo-Philipp Wich <jo@mein.io>
|
|
#
|
|
# This is free software, licensed under the Apache License, Version 2.0 .
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=luci-lua-runtime
|
|
|
|
LUCI_TYPE:=mod
|
|
LUCI_BASENAME:=lua-runtime
|
|
|
|
LUCI_TITLE:=LuCI Lua runtime libraries
|
|
LUCI_DEPENDS:= \
|
|
+luci-base \
|
|
+lua \
|
|
+luci-lib-base \
|
|
+luci-lib-nixio \
|
|
+luci-lib-ip \
|
|
+luci-lib-jsonc \
|
|
+libubus-lua \
|
|
+liblucihttp-lua \
|
|
+ucode-mod-lua
|
|
|
|
include ../../luci.mk
|
|
|
|
# call BuildPackage - OpenWrt buildroot signature
|