Browse Source

d/lua: Upgraded to lua-5.1.5.

slackware-14.2
Damien Goutte-Gattat 10 years ago
parent
commit
e0e2ea989c
  1. 1
      d/lua/lua-5.1.4.tar.gz.sha1
  2. 1
      d/lua/lua-5.1.5.tar.gz.sha1
  3. 22
      d/lua/lua.SlackBuild

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

@ -1 +0,0 @@
2b11c8e60306efb7f0734b747588f57995493db7 lua-5.1.4.tar.gz

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

@ -0,0 +1 @@
b3882111ad02ecc6b972f8c1241647905cb2e3fc lua-5.1.5.tar.gz

22
d/lua/lua.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2011 Damien Goutte-Gattat
# Copyright (C) 2011,2012 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.1.4}
VERSION=${VERSION:-5.1.5}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-http://www.lua.org/ftp/$ARCHIVE}
@ -86,9 +86,25 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
# Install the documentation
mkdir -p $PKG/usr/doc/$NAME/html
install -m 644 COPYRIGHT HISTORY README $PKG/usr/doc/$NAME
install -m 644 doc/*.gif doc/cover.png doc/manual.css doc/*.html \
install -m 644 doc/*.gif doc/*.png doc/manual.css doc/*.html \
$PKG/usr/doc/$NAME/html
# Install pkg-config file
mkdir -p $PKG/usr/lib$LIBDIRSUFFIX/pkgconfig
cat > $PKG/usr/lib$LIBDIRSUFFIX/pkgconfig/lua.pc <<EOF
prefix=/usr
exec_prefix=\${prefix}
libdir=\${prefix}/lib$LIBDIRSUFFIX
includedir=\${prefix}/include
Name: lua
Description: An Extensible Extension Language
Version: $VERSION
Requires:
Libs: -L\${libdir} -llua -lm
Cflags: -I\${includedir}
EOF
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc

Loading…
Cancel
Save