Browse Source

luarocks: Update from 2.4.2 to 2.4.3

android-5
Fredrik Fornwall 7 years ago
parent
commit
0b5ef41344
  1. 4
      packages/luarocks/build.sh
  2. 8
      packages/luarocks/configure.patch

4
packages/luarocks/build.sh

@ -1,8 +1,8 @@
TERMUX_PKG_HOMEPAGE=https://luarocks.org/
TERMUX_PKG_DESCRIPTION="Deployment and management system for Lua modules"
TERMUX_PKG_VERSION=2.4.2
TERMUX_PKG_VERSION=2.4.3
TERMUX_PKG_SHA256=4d414d32fed5bb121c72d3ff1280b7f2dc9027a9bc012e41dfbffd5b519b362e
TERMUX_PKG_SRCURL=https://luarocks.org/releases/luarocks-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=0e1ec34583e1b265e0fbafb64c8bd348705ad403fe85967fd05d3a659f74d2e5
TERMUX_PKG_DEPENDS="curl, lua"
TERMUX_PKG_BUILD_IN_SRC=yes
TERMUX_PKG_PLATFORM_INDEPENDENT=yes

8
packages/luarocks/configure.patch

@ -1,6 +1,6 @@
diff -u -r ../luarocks-2.4.2/configure ./configure
--- ../luarocks-2.4.2/configure 2016-11-30 13:49:34.000000000 +0100
+++ ./configure 2017-01-18 01:34:32.289341721 +0100
diff -u -r ../luarocks-2.4.3/configure ./configure
--- ../luarocks-2.4.3/configure 2017-09-13 01:46:14.000000000 +0200
+++ ./configure 2017-10-14 23:43:39.753730578 +0200
@@ -305,26 +305,6 @@
}
fi
@ -8,7 +8,7 @@ diff -u -r ../luarocks-2.4.2/configure ./configure
-if [ "$lua_interp_found" != "yes" ]
-then
- [ "$LUA_VERSION_SET" ] && { interp="Lua $LUA_VERSION" ;} || { interp="Lua" ;}
- [ "$LUA_DIR_SET" -o "$LUA_BINDIR_SET" ] && { where="$LUA_BINDIR" ;} || { interp="\$PATH" ;}
- [ "$LUA_DIR_SET" -o "$LUA_BINDIR_SET" ] && { where="$LUA_BINDIR" ;} || { where="\$PATH" ;}
- echo "$interp interpreter not found in $where"
- die "You may want to use the flags --with-lua, --with-lua-bin and/or --lua-suffix. See --help."
-fi

Loading…
Cancel
Save