From f022c42d59e56d276c030c29f67626bdf4a92909 Mon Sep 17 00:00:00 2001 From: ponce Date: Thu, 29 Mar 2012 23:41:08 -0400 Subject: development/lua: Updated for version 5.1.5. Signed-off-by: dsomero --- development/lua/lua.SlackBuild | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) (limited to 'development/lua/lua.SlackBuild') diff --git a/development/lua/lua.SlackBuild b/development/lua/lua.SlackBuild index 18509b1725..c616ccc33e 100644 --- a/development/lua/lua.SlackBuild +++ b/development/lua/lua.SlackBuild @@ -12,8 +12,8 @@ # http://sam.zoy.org/wtfpl/COPYING for more details. PRGNAM=lua -VERSION=${VERSION:-5.1.4} -BUILD=${BUILD:-7} +VERSION=${VERSION:-5.1.5} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -50,10 +50,6 @@ tar xvf $CWD/$PRGNAM-${VERSION}.tar.gz cd $PRGNAM-$VERSION chown -R root:root . -# apply patch-lua-5.1.4-4 -# http://www.lua.org/bugs.html#5.1.4 -( cd src ; patch -p0 < $CWD/patch-lua-5.1.4-4 ) - # Fix up a to-be-installed header and the pkgconfig file sed -i "s|/usr/local|/usr|" src/luaconf.h sed -i "s|lib/lua|lib$LIBDIRSUFFIX/lua|" src/luaconf.h @@ -78,12 +74,12 @@ make linux install \ mkdir -p shared cd shared ar -x $PKG/usr/lib${LIBDIRSUFFIX}/liblua.a - gcc -ldl -lreadline -lhistory -lncurses -lm -shared *.o -o liblua.so.5.1.4 - cp -a liblua.so.5.1.4 $PKG/usr/lib${LIBDIRSUFFIX} + gcc -ldl -lreadline -lhistory -lncurses -lm -shared *.o -o liblua.so.$VERSION + cp -a liblua.so.$VERSION $PKG/usr/lib${LIBDIRSUFFIX} ( cd $PKG/usr/lib${LIBDIRSUFFIX} - ln -s liblua.so.5.1.4 liblua.so.5.1 - ln -s liblua.so.5.1.4 liblua.so.5 - ln -s liblua.so.5.1.4 liblua.so + ln -s liblua.so.$VERSION liblua.so.5.1 + ln -s liblua.so.$VERSION liblua.so.5 + ln -s liblua.so.$VERSION liblua.so ) cd .. -- cgit v1.2.3