mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
The makefile tries to download `string.lua` with `curl`, which succeeded before, when `curl` was a dependency of `abuild`, but this is not the case now.
14 lines
509 B
Diff
14 lines
509 B
Diff
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -11,9 +11,8 @@
|
|
@$(INSTALL) -d resty_modules/lualib/resty
|
|
@test -f resty_modules/lualib/resty/string.lua || curl -s -o resty_modules/lualib/resty/string.lua https://raw.githubusercontent.com/openresty/lua-resty-string/master/lib/resty/string.lua
|
|
|
|
-install: all
|
|
+install:
|
|
$(INSTALL) -d $(DESTDIR)$(LUA_LIB_DIR)/resty
|
|
- $(INSTALL) resty_modules/lualib/resty/*.lua $(DESTDIR)$(LUA_LIB_DIR)/resty
|
|
$(INSTALL) lib/resty/*.lua $(DESTDIR)$(LUA_LIB_DIR)/resty
|
|
|
|
test: install
|