diff options
author | dsomero <xgizzmo@gmail.com> | 2010-05-19 20:09:10 -0400 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-21 00:58:54 -0500 |
commit | 24e16c78360cbb8a62f23129b95e3993865dace1 (patch) | |
tree | fe17e01d4d3402d4619ab4cc49646599b0b4307d /games/Scorched3D/Scorched3D.SlackBuild | |
parent | 875aff5d7d40b28031a44e9640f0e1627505f8aa (diff) | |
download | slackbuilds-24e16c78360cbb8a62f23129b95e3993865dace1.tar.gz |
games/Scorched3D: Removed (build failure)
This appears related to libpng14
Diffstat (limited to 'games/Scorched3D/Scorched3D.SlackBuild')
-rw-r--r-- | games/Scorched3D/Scorched3D.SlackBuild | 96 |
1 files changed, 0 insertions, 96 deletions
diff --git a/games/Scorched3D/Scorched3D.SlackBuild b/games/Scorched3D/Scorched3D.SlackBuild deleted file mode 100644 index aef96132e0..0000000000 --- a/games/Scorched3D/Scorched3D.SlackBuild +++ /dev/null @@ -1,96 +0,0 @@ -#!/bin/sh - -# Slackware build script for Scorched3D - -# Copyright 2008-2009 Heinz Wiesinger <pprkut@liwjatan.at> -# All rights reserved. -# -# Redistribution and use of this script, with or without modification, is -# permitted provided that the following conditions are met: -# -# 1. Redistributions of this script must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -PRGNAM=Scorched3D -VERSION=42.1 -ARCH=${ARCH:-i486} -BUILD=${BUILD:-2} -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" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf scorched -rm -rf scorched-dep-osx -tar xvf $CWD/$PRGNAM-$VERSION-src.tar.gz -cd scorched -chown -R root:root . -chmod -R u+w,go+r-w,a-s . - -patch -p1 -i $CWD/scorched3d-42.1-fixups.patch - -chmod +x ./autogen.sh -./autogen.sh - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --datadir=/usr/share/scorched3d \ - --build=$ARCH-slackware-linux \ - --host=$ARCH-slackware-linux - -make -make install DESTDIR=$PKG - -mkdir -p $PKG/usr/share/{applications,pixmaps} -cp -f $CWD/scorched3d.desktop $PKG/usr/share/applications -cp -f $CWD/scorched3d.png $PKG/usr/share/pixmaps - -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a CHANGELOG README $PKG/usr/doc/$PRGNAM-$VERSION -mv $PKG/usr/share/scorched3d/documentation/* $PKG/usr/doc/$PRGNAM-$VERSION/ -rm -rf $PKG/usr/share/scorched3d/documentation -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc -cat $CWD/doinst.sh > $PKG/install/doinst.sh - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |