aboutsummaryrefslogtreecommitdiff
path: root/development/lua
diff options
context:
space:
mode:
authorMenno E. Duursma <druiloor@zonnet.nl>2010-05-11 22:22:37 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 22:22:37 +0200
commitd2ef54b71d18fc5b70318406e06231641e56d85e (patch)
treea1d9d8313053519894127888a6315461421534f5 /development/lua
parent26659b97dfb9de13826679c534638d9daa928bbd (diff)
development/lua: Updated for version 5.1.4
Diffstat (limited to 'development/lua')
-rw-r--r--development/lua/lua-5.1.4-shared.diff (renamed from development/lua/lua-5.1.3-shared.diff)16
-rw-r--r--development/lua/lua.SlackBuild8
-rw-r--r--development/lua/lua.info8
3 files changed, 17 insertions, 15 deletions
diff --git a/development/lua/lua-5.1.3-shared.diff b/development/lua/lua-5.1.4-shared.diff
index 046d788dd2ed1..e4083916c36e1 100644
--- a/development/lua/lua-5.1.3-shared.diff
+++ b/development/lua/lua-5.1.4-shared.diff
@@ -1,6 +1,6 @@
-diff -Naur lua-5.1.3.orig/Makefile lua-5.1.3/Makefile
---- lua-5.1.3.orig/Makefile 2007-03-25 09:44:39.000000000 -0500
-+++ lua-5.1.3/Makefile 2007-04-05 09:49:38.000000000 -0500
+diff -Nur lua-5.1.4.orig/Makefile lua-5.1.4/Makefile
+--- lua-5.1.4.orig/Makefile 2008-08-11 19:40:48.000000000 -0500
++++ lua-5.1.4/Makefile 2008-10-28 11:05:20.258085554 -0500
@@ -43,7 +43,7 @@
# What to install.
TO_BIN= lua luac
@@ -10,9 +10,9 @@ diff -Naur lua-5.1.3.orig/Makefile lua-5.1.3/Makefile
TO_MAN= lua.1 luac.1
# Lua version and release.
-diff -Naur lua-5.1.3.orig/src/Makefile lua-5.1.3/src/Makefile
---- lua-5.1.3.orig/src/Makefile 2007-03-25 09:49:23.000000000 -0500
-+++ lua-5.1.3/src/Makefile 2007-04-05 09:57:48.000000000 -0500
+diff -Nur lua-5.1.4.orig/src/Makefile lua-5.1.4/src/Makefile
+--- lua-5.1.4.orig/src/Makefile 2008-01-19 13:37:58.000000000 -0600
++++ lua-5.1.4/src/Makefile 2008-10-28 11:08:46.895111523 -0500
@@ -18,11 +18,17 @@
MYLDFLAGS=
MYLIBS=
@@ -20,7 +20,7 @@ diff -Naur lua-5.1.3.orig/src/Makefile lua-5.1.3/src/Makefile
+# Shared object info
+MAJOR= 5
+MINOR= 1
-+REL= 3
++REL= 4
+
# == END OF USER SETTINGS. NO NEED TO CHANGE ANYTHING BELOW THIS LINE =========
@@ -46,7 +46,7 @@ diff -Naur lua-5.1.3.orig/src/Makefile lua-5.1.3/src/Makefile
a: $(ALL_A)
-+s: $(ALL_S)
++s: $(ALL_S)
+
$(LUA_A): $(CORE_O) $(LIB_O)
$(AR) $@ $?
diff --git a/development/lua/lua.SlackBuild b/development/lua/lua.SlackBuild
index e6f78d0a4b3b0..7c9de43283417 100644
--- a/development/lua/lua.SlackBuild
+++ b/development/lua/lua.SlackBuild
@@ -6,9 +6,9 @@
# Modified by the SlackBuilds.org project
PRGNAM=lua
-VERSION=5.1.3
+VERSION=5.1.4
ARCH=${ARCH:-i486}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
CWD=$(pwd)
@@ -48,13 +48,15 @@ sed 's|prefix= /usr/local|prefix= /usr|' etc/lua.pc > \
# Let's make sure all of the library symlinks correctly exist
( cd $PKG/usr/lib
- ln -sf liblua.so.${VERSION} liblua.so
ln -sf liblua.so.${VERSION} liblua.so.5
+ ln -sf liblua.so.${VERSION} liblua.so
+ chmod 0755 liblua.so.${VERSION}
)
( cd $PKG
find . -type f | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
find . -type f | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+ strip -g usr/lib/*.a
)
( cd $PKG/usr/man
diff --git a/development/lua/lua.info b/development/lua/lua.info
index b40f4feb14f2a..1e6b0e7f166ad 100644
--- a/development/lua/lua.info
+++ b/development/lua/lua.info
@@ -1,8 +1,8 @@
PRGNAM="lua"
-VERSION="5.1.3"
+VERSION="5.1.4"
HOMEPAGE="http://www.lua.org"
-DOWNLOAD="http://www.lua.org/ftp/lua-5.1.3.tar.gz"
-MD5SUM="a70a8dfaa150e047866dc01a46272599"
+DOWNLOAD="http://www.lua.org/ftp/lua-5.1.4.tar.gz"
+MD5SUM="d0870f2de55d59c1c8419f36e8fac150"
MAINTAINER="Menno E. Duursma"
EMAIL="druiloor@zonnet.nl"
-APPROVED="rworkman,Erik Hanson,David Somero"
+APPROVED="rworkman"