Browse Source

d/lua: Upgraded to lua-5.3.4.

slackware-14.2
Damien Goutte-Gattat 5 years ago
parent
commit
5f2ba944cd
  1. 1
      d/lua/lua-5.3.3.tar.gz.sha1
  2. 1
      d/lua/lua-5.3.4.tar.gz.sha256
  3. 11
      d/lua/lua.SlackBuild

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

@ -1 +0,0 @@
a0341bc3d1415b814cc738b2ec01ae56045d64ef lua-5.3.3.tar.gz

1
d/lua/lua-5.3.4.tar.gz.sha256

@ -0,0 +1 @@
f681aa518233bc407e23acf0f5887c884f17436f000d453b2491a9f11a52400c lua-5.3.4.tar.gz

11
d/lua/lua.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2011,2012,2013,2015,2016 Damien Goutte-Gattat
# Copyright (C) 2011-2013,2015-2017 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.3.3}
VERSION=${VERSION:-5.3.4}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-http://www.lua.org/ftp/$ARCHIVE}
@ -63,7 +63,7 @@ if [ ! -r $ARCHIVE ]; then
wget -c -O $ARCHIVE.part "$WGET"
mv $ARCHIVE.part $ARCHIVE
fi
sha1sum -c $ARCHIVE.sha1
sha256sum -c $ARCHIVE.sha256
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1)
# Compile
@ -88,10 +88,9 @@ find $PKG | xargs file | grep "ELF \(32\|64\)-bit LSB" | cut -d : -f 1 | \
find $PKG/usr/man -type f -exec gzip -9 {} \;
# Install the documentation
mkdir -p $PKG/usr/doc/$NAME/html
install -m 644 README $PKG/usr/doc/$NAME
mkdir -p $PKG/usr/doc/$NAME
install -m 644 doc/*.gif doc/*.png doc/*.css doc/*.html \
$PKG/usr/doc/$NAME/html
$PKG/usr/doc/$NAME
# Install pkg-config file
mkdir -p $PKG/usr/lib$LIBDIRSUFFIX/pkgconfig

Loading…
Cancel
Save