games/ltris: Updated for version 1.0.12
This commit is contained in:
parent
1f5ad16c49
commit
1468add846
|
@ -3,12 +3,15 @@
|
||||||
# Slackware build script for LTris
|
# Slackware build script for LTris
|
||||||
|
|
||||||
# Written by Bill Kirkpatrick <bkirkp@gmail.com>
|
# Written by Bill Kirkpatrick <bkirkp@gmail.com>
|
||||||
|
# Build 2, 20080515 - Minor version bump, 1.0.12
|
||||||
|
# Modified by Robby Workman <rworkman@slackbuilds.org>
|
||||||
|
|
||||||
PRGNAM=ltris
|
PRGNAM=ltris
|
||||||
VERSION=1.0.11
|
VERSION=1.0.12
|
||||||
ARCH=${ARCH:-i486}
|
ARCH=${ARCH:-i486}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-2}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
CWD=$(pwd)
|
CWD=$(pwd)
|
||||||
TMP=${TMP:-/tmp/SBo}
|
TMP=${TMP:-/tmp/SBo}
|
||||||
PKG=$TMP/package-$PRGNAM
|
PKG=$TMP/package-$PRGNAM
|
||||||
|
@ -18,14 +21,18 @@ if [ "$ARCH" = "i486" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||||
elif [ "$ARCH" = "i686" ]; then
|
elif [ "$ARCH" = "i686" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||||
|
elif [ "$ARCH" = "x86_64" ]; then
|
||||||
|
SLKCFLAGS="-O2 -fPIC"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
rm -rf $PKG
|
rm -rf $PKG
|
||||||
mkdir -p $TMP $PKG
|
mkdir -p $TMP $PKG $OUTPUT
|
||||||
cd $TMP
|
cd $TMP
|
||||||
rm -rf $PRGNAM-$VERSION
|
rm -rf $PRGNAM-$VERSION
|
||||||
tar -xvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1
|
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
||||||
cd $PRGNAM-$VERSION || exit 1
|
cd $PRGNAM-$VERSION
|
||||||
chown -R root:root .
|
chown -R root:root .
|
||||||
chmod -R u+w,go+r-w,a-s .
|
chmod -R u+w,go+r-w,a-s .
|
||||||
|
|
||||||
|
@ -35,13 +42,16 @@ CXXFLAGS="$SLKCFLAGS" \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
--localstatedir=/var/lib/lgames \
|
--localstatedir=/var/lib/lgames \
|
||||||
|| exit 1
|
--build=$ARCH-slackware-linux \
|
||||||
|
--host=$ARCH-slackware-linux
|
||||||
|
|
||||||
make || exit 1
|
make
|
||||||
make install DESTDIR=$PKG || exit 1
|
make install DESTDIR=$PKG
|
||||||
|
|
||||||
find $PKG | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
( cd $PKG
|
||||||
find $PKG | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||||
|
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
||||||
|
)
|
||||||
|
|
||||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cp -a AUTHORS COPYING INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION
|
cp -a AUTHORS COPYING INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
PRGNAM="ltris"
|
PRGNAM="ltris"
|
||||||
VERSION="1.0.11"
|
VERSION="1.0.12"
|
||||||
HOMEPAGE="http://lgames.sourceforge.net/index.php?project=LTris"
|
HOMEPAGE="http://lgames.sourceforge.net/index.php?project=LTris"
|
||||||
DOWNLOAD="http://dl.sourceforge.net/lgames/ltris-1.0.11.tar.gz"
|
DOWNLOAD="http://downloads.sourceforge.net/lgames/ltris-1.0.12.tar.gz"
|
||||||
MD5SUM="412ecd9b7577a5bbcb76e19b5397391c"
|
MD5SUM="53b00c17a05c438602a52009e65ebde2"
|
||||||
MAINTAINER="Bill Kirkpatrick"
|
MAINTAINER="Bill Kirkpatrick"
|
||||||
EMAIL="bkirkp@gmail.com"
|
EMAIL="bkirkp@gmail.com"
|
||||||
APPROVED="BP{k}"
|
APPROVED="rworkman"
|
||||||
|
|
|
@ -6,14 +6,14 @@
|
||||||
# customary to leave one space after the ':'.
|
# customary to leave one space after the ':'.
|
||||||
|
|
||||||
|-----handy-ruler------------------------------------------------------|
|
|-----handy-ruler------------------------------------------------------|
|
||||||
ltris:
|
ltris: LTris (tetris clone)
|
||||||
ltris:
|
ltris:
|
||||||
ltris: LTris as a tetris clone which means you have a bowl with blocks
|
ltris: LTris as a tetris clone which means you have a bowl with blocks
|
||||||
ltris: falling down. By rotating and moving the blocks you try to
|
ltris: falling down. By rotating and moving the blocks you try to
|
||||||
ltris: to assemble whole lines which then disappear.
|
ltris: to assemble whole lines which then disappear.
|
||||||
ltris:
|
ltris:
|
||||||
ltris:
|
|
||||||
ltris: Homepage: http://lgames.sourceforge.net/
|
ltris: Homepage: http://lgames.sourceforge.net/
|
||||||
ltris:
|
ltris:
|
||||||
ltris:
|
ltris:
|
||||||
ltris:
|
ltris:
|
||||||
|
ltris:
|
||||||
|
|
Loading…
Reference in New Issue