summaryrefslogtreecommitdiff
path: root/development/lua/lua.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/lua/lua.SlackBuild')
-rw-r--r--development/lua/lua.SlackBuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/development/lua/lua.SlackBuild b/development/lua/lua.SlackBuild
index e6f78d0a4b..7c9de43283 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