[Slackbuilds-users] SlackBuilds, Package:Lua (fwd)
Menno Duursma
druiloor at zonnet.nl
Mon Aug 17 14:14:41 UTC 2009
On Mon, 17 Aug 2009, Robby Workman wrote:
> We tweaked the script a bit to make everything build on x86_64
> (much thanks to Aaron Hsu for some help with it), and the result
> is attached - how's that look?
Nice one! Tests good. One thing though, in case someone has compiled some
app against the former version, they'll have to create a compatibility
link unless this patch (and unlikely the .so.5.1 will _ever_ be used):
--- lua.tmp/lua.SlackBuild 2009-08-10 01:32:27.000000000 +0200
+++ lua/lua.SlackBuild 2009-08-17 16:02:05.000000000 +0200
@@ -8,7 +8,7 @@
PRGNAM=lua
VERSION=5.1.4
-ARCH=${ARCH:-x86_64}
+ARCH=${ARCH:-i486}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
@@ -68,7 +68,7 @@
gcc -shared *.o -o liblua.so.5.1.4
cp -a liblua.so.5.1.4 $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-5.1.so
ln -s liblua.so.5.1.4 liblua.so.5
ln -s liblua.so.5.1.4 liblua.so
)
More information about the SlackBuilds-users
mailing list