diff options
author | M.Dinslage <daedra1980@gmail.com> | 2012-12-02 12:33:53 -0500 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2012-12-11 16:21:48 -0500 |
commit | eeb290dcaca6620ddb17c8fd08e65d628e9e2ac6 (patch) | |
tree | 639af68653c7434608864cbf880b7fd303221bca /games/darkplaces/darkplaces.SlackBuild | |
parent | ef6d78d961bbf0705cbdbde305ca8108063c222c (diff) | |
download | slackbuilds-eeb290dcaca6620ddb17c8fd08e65d628e9e2ac6.tar.gz |
games/darkplaces: Added a option to honor $SLKFLAGS
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
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 |