diff options
Diffstat (limited to 'games/darkplaces/darkplaces.SlackBuild')
-rw-r--r-- | games/darkplaces/darkplaces.SlackBuild | 28 |
1 files changed, 21 insertions, 7 deletions
diff --git a/games/darkplaces/darkplaces.SlackBuild b/games/darkplaces/darkplaces.SlackBuild index 111d4f7b7b..7d410585e9 100644 --- a/games/darkplaces/darkplaces.SlackBuild +++ b/games/darkplaces/darkplaces.SlackBuild @@ -2,13 +2,29 @@ # Slackware build script for darkplaces -# Written by M.Dinslage (daedra1980@gmail.com) -# Big thanks to Robby Workman for tweaks and -# various script cleanups. +# Copyright 2012 Matt Dinslage (daedra1980@gmail.com), Springfield, MO, USA +# All rights reserved. Big thanks to Robby Workman for cleaning up my mistakes ;). +# +# 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=darkplaces VERSION=${VERSION:-20110628} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -74,11 +90,9 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -# Let the Makefile set its own flags; -# this way the precompiled and from-source binaries use the same flags if [ "$SOURCE" != "NO" ]; then cd $PRGNAM - make release + make OPTIM_RELEASE="$SLKCFLAGS" release cd - fi |