Browse Source

d/lua: Upgraded to lua-5.3.2.

slackware-14.2
Damien Goutte-Gattat 6 years ago
parent
commit
73187ef85a
  1. 1
      d/lua/lua-5.2.3.tar.gz.sha1
  2. 1
      d/lua/lua-5.3.2.tar.gz.sha1
  3. 11
      d/lua/lua.SlackBuild
  4. 10
      l/lgi/lgi.SlackBuild

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

@ -1 +0,0 @@
926b7907bc8d274e063d42804666b40a3f3c124c lua-5.2.3.tar.gz

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

@ -0,0 +1 @@
7a47adef554fdca7d0c5536148de34579134a973 lua-5.3.2.tar.gz

11
d/lua/lua.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2011,2012,2013,2015 Damien Goutte-Gattat
# Copyright (C) 2011,2012,2013,2015,2016 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.3}
VERSION=${VERSION:-5.3.2}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-http://www.lua.org/ftp/$ARCHIVE}
@ -73,12 +73,12 @@ tar xf $CWD/$ARCHIVE
cd $NAME
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
sed -i 's,"lib/lua/","lib64/lua/",' src/luaconf.h
fi
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
INSTALL_CMOD=$PKG/usr/lib$LIBDIRSUFFIX/lua/5.3
# Strip binaries
find $PKG | xargs file | grep "ELF \(32\|64\)-bit LSB" | cut -d : -f 1 | \
@ -119,9 +119,8 @@ PACKAGING="
chown root:root . -R
/sbin/makepkg -l y -c n $OUT/$NAMEPKG-$VERSION-$ARCH-$BUILD.$EXT
rm -rf $PKG
rm -rf $TMP/$NAME
"
#rm -rf $TMP/$NAME
#"
if type -p fakeroot ; then
echo "$PACKAGING" | fakeroot
else

10
l/lgi/lgi.SlackBuild

@ -34,7 +34,7 @@ WGET=${WGET:-https://github.com/pavouk/lgi/archive/$VERSION.tar.gz}
# Build infos
NAMEPKG=${NAMEPKG:-lgi}
BUILD=${BUILD:-1GGD}
BUILD=${BUILD:-2GGD}
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')}
EXT=${EXT:-txz}
@ -87,13 +87,13 @@ cd $NAME
CFLAGS=$CPUOPT \
make \
PREFIX=/usr \
LUA_LIBDIR=/usr/lib$LIBDIRSUFFIX/lua/5.2 \
LUA_SHAREDIR=/usr/share/lua/5.2
LUA_LIBDIR=/usr/lib$LIBDIRSUFFIX/lua/5.3 \
LUA_SHAREDIR=/usr/share/lua/5.3
make install \
DESTDIR=$PKG \
PREFIX=/usr \
LUA_LIBDIR=/usr/lib$LIBDIRSUFFIX/lua/5.2 \
LUA_SHAREDIR=/usr/share/lua/5.2
LUA_LIBDIR=/usr/lib$LIBDIRSUFFIX/lua/5.3 \
LUA_SHAREDIR=/usr/share/lua/5.3
# Strip binaries
find $PKG | xargs file | grep "ELF \(32\|64\)-bit LSB" | cut -d : -f 1 | \

Loading…
Cancel
Save