aboutsummaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2014-08-16 10:05:22 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-08-22 22:10:07 +0700
commita9f226bcbb7b03a63b2a46d49f9fbe11cb9f6efe (patch)
tree783bd5991c495ef769d22f60623026dbfe032e49 /development
parentd97a34424bedcbb5682f1fb7d5f2e8821fbfa328 (diff)
development/lua52: Updated for version 5.2.3.
Restore some CFLAGS that get overwritten, thanks to Stefan Beckert for the report Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'development')
-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 805e49974f17..74ca8da3b4a8 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 e76df9a36b22..6ab7fc2c9f2e 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=""