Browse Source

d/lua: Upgraded to lua-5.2.2.

slackware-14.2
Damien Goutte-Gattat 8 years ago
parent
commit
2ed21bc739
  1. 1
      d/lua/lua-5.2.1.tar.gz.sha1
  2. 1
      d/lua/lua-5.2.2.tar.gz.sha1
  3. 6
      d/lua/lua.SlackBuild

1
d/lua/lua-5.2.1.tar.gz.sha1

@ -1 +0,0 @@
6bb1b0a39b6a5484b71a83323c690154f86b2021 lua-5.2.1.tar.gz

1
d/lua/lua-5.2.2.tar.gz.sha1

@ -0,0 +1 @@
0857e41e5579726a4cb96732e80d7aa47165eaf5 lua-5.2.2.tar.gz

6
d/lua/lua.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2011,2012 Damien Goutte-Gattat
# Copyright (C) 2011,2012,2013 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -26,7 +26,7 @@
# Source package infos
NAMESRC=${NAMESRC:-lua}
VERSION=${VERSION:-5.2.1}
VERSION=${VERSION:-5.2.2}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-http://www.lua.org/ftp/$ARCHIVE}
@ -75,7 +75,7 @@ sed -i 's,^#define LUA_ROOT.*$,#define LUA_ROOT "/usr/",' src/luaconf.h
if [ "x$ARCH" = xx86_64 ]; then
sed -i 's,^#define LUA_CDIR.*$,#define LUA_CDIR "/usr/lib64/lua/5.2/",' src/luaconf.h
fi
make linux INSTALL_TOP=/usr INSTALL_LIB=/usr/lib$LIBDIRSUFFIX
make linux INSTALL_TOP=/usr INSTALL_LIB=/usr/lib$LIBDIRSUFFIX MYLIBS=-ltermcap
make install INSTALL_TOP=$PKG/usr \
INSTALL_LIB=$PKG/usr/lib$LIBDIRSUFFIX \
INSTALL_CMOD=$PKG/usr/lib$LIBDIRSUFFIX/lua/5.2

Loading…
Cancel
Save