development/lua: Small script cleanups and new maintainer.

Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
This commit is contained in:
ponce 2010-10-31 16:55:39 +01:00 committed by Heinz Wiesinger
parent 624f2815b0
commit b9c93f4471
2 changed files with 5 additions and 9 deletions

View file

@ -15,12 +15,10 @@ VERSION=${VERSION:-5.1.4}
BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@ -91,10 +89,8 @@ cat etc/lua.pc > $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig/lua.pc
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;
for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
)
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/{extras,html}
cp -a COPYRIGHT HISTORY INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION

View file

@ -5,6 +5,6 @@ DOWNLOAD="http://www.lua.org/ftp/lua-5.1.4.tar.gz"
MD5SUM="d0870f2de55d59c1c8419f36e8fac150"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Menno Duursma"
EMAIL="druiloor@zonnet.nl"
APPROVED="dsomero"
MAINTAINER="ponce"
EMAIL="matteo.bernardini@sns.it"
APPROVED="pprkut"