summaryrefslogtreecommitdiff
path: root/development/lua52
diff options
context:
space:
mode:
Diffstat (limited to 'development/lua52')
-rw-r--r--development/lua52/lua52.SlackBuild8
-rw-r--r--development/lua52/lua52.info6
2 files changed, 8 insertions, 6 deletions
diff --git a/development/lua52/lua52.SlackBuild b/development/lua52/lua52.SlackBuild
index 805e49974f..74ca8da3b4 100644
--- a/development/lua52/lua52.SlackBuild
+++ b/development/lua52/lua52.SlackBuild
@@ -12,7 +12,7 @@
# http://sam.zoy.org/wtfpl/COPYING for more details.
PRGNAM=lua52
-VERSION=${VERSION:-5.2.1}
+VERSION=${VERSION:-5.2.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -57,13 +57,15 @@ sed -i "s|/usr/local|/usr|" src/luaconf.h
sed -i "s|lib/lua|lib$LIBDIRSUFFIX/lua|" src/luaconf.h
make linux \
- CFLAGS="$SLKCFLAGS \$(MYCFLAGS)" \
+ MYLIBS="-lncurses" \
+ CFLAGS="$SLKCFLAGS \$(MYCFLAGS) -DLUA_COMPAT_ALL -DLUA_USE_LINUX" \
INSTALL_TOP=/usr \
INSTALL_LIB=/usr/lib${LIBDIRSUFFIX} \
INSTALL_CMOD=/usr/lib${LIBDIRSUFFIX}/lua/5.2
make linux install \
- CFLAGS="$SLKCFLAGS \$(MYCFLAGS)" \
+ MYLIBS="-lncurses" \
+ CFLAGS="$SLKCFLAGS \$(MYCFLAGS) -DLUA_COMPAT_ALL -DLUA_USE_LINUX" \
INSTALL_TOP=$PKG/usr \
INSTALL_LIB=$PKG/usr/lib${LIBDIRSUFFIX} \
INSTALL_CMOD=/usr/lib${LIBDIRSUFFIX}/lua/5.2
diff --git a/development/lua52/lua52.info b/development/lua52/lua52.info
index e76df9a36b..6ab7fc2c9f 100644
--- a/development/lua52/lua52.info
+++ b/development/lua52/lua52.info
@@ -1,8 +1,8 @@
PRGNAM="lua52"
-VERSION="5.2.1"
+VERSION="5.2.3"
HOMEPAGE="http://www.lua.org"
-DOWNLOAD="http://www.lua.org/ftp/lua-5.2.1.tar.gz"
-MD5SUM="ae08f641b45d737d12d30291a5e5f6e3"
+DOWNLOAD="http://www.lua.org/ftp/lua-5.2.3.tar.gz"
+MD5SUM="dc7f94ec6ff15c985d2d6ad0f1b35654"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""