games/ltris: Initial import
This commit is contained in:
parent
4cce41897c
commit
d11907445d
|
@ -0,0 +1,4 @@
|
|||
LTris as a tetris clone which means you have a bowl with blocks
|
||||
falling down. By rotating and moving the blocks you try to
|
||||
to assemble whole lines which then disappear.
|
||||
LTris uses the sdl package.
|
|
@ -0,0 +1,54 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Slackware build script for LTris
|
||||
|
||||
# Written by Bill Kirkpatrick <bkirkp@gmail.com>
|
||||
|
||||
PRGNAM=ltris
|
||||
VERSION=1.0.11
|
||||
ARCH=${ARCH:-i486}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
CWD=`pwd`
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
if [ "$ARCH" = "i486" ]; then
|
||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
fi
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
tar -xvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1
|
||||
cd $PRGNAM-$VERSION || exit 1
|
||||
chown -R root:root .
|
||||
chmod -R u+w,go+r-w,a-s .
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
|| exit 1
|
||||
|
||||
make || exit 1
|
||||
make install DESTDIR=$PKG || exit 1
|
||||
|
||||
find $PKG | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
||||
find $PKG | 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
|
||||
cp -a AUTHORS COPYING INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
|
|
@ -0,0 +1,8 @@
|
|||
PRGNAM="ltris"
|
||||
VERSION="1.0.11"
|
||||
HOMEPAGE="http://lgames.sourceforge.net/index.php?project=LTris"
|
||||
DOWNLOAD="http://prdownloads.sourceforge.net/lgames/ltris-1.0.11.tar.gz?download"
|
||||
MD5SUM="412ecd9b7577a5bbcb76e19b5397391c"
|
||||
MAINTAINER="Bill Kirkpatrick"
|
||||
EMAIL="bkirkp@gmail.com"
|
||||
APPROVED="BP{k}"
|
|
@ -0,0 +1,19 @@
|
|||
# HOW TO EDIT THIS FILE:
|
||||
# The "handy ruler" below makes it easier to edit a package description. Line
|
||||
# up the first '|' above the ':' following the base package name, and the '|'
|
||||
# on the right side marks the last column you can put a character in. You must
|
||||
# make exactly 11 lines for the formatting to be correct. It's also
|
||||
# customary to leave one space after the ':'.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
ltris:
|
||||
ltris:
|
||||
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: to assemble whole lines which then disappear.
|
||||
ltris:
|
||||
ltris:
|
||||
ltris: Homepage: http://lgames.sourceforge.net/
|
||||
ltris:
|
||||
ltris:
|
||||
ltris:
|
Loading…
Reference in New Issue