aports/community/lua-resty-hmac/make-install-without-string.lua.patch
Celeste 601e4cacec community/lua-resty-hmac: don't install string.lua
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.
2024-04-27 14:59:12 +00:00

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