diff options
author | Niels Horn <niels.horn@gmail.com> | 2011-10-27 21:01:29 -0500 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2011-11-04 21:59:28 -0200 |
commit | a33f1f014102eaf0d834387921cd0f8acfedaad9 (patch) | |
tree | 6f2dccc05d2fd84961890375a6bc63e615a4740a /libraries/irrlicht/irrlicht.SlackBuild | |
parent | b48f59e5963c950c9028b0bfe02e9e45b8b0a4cb (diff) | |
download | slackbuilds-a33f1f014102eaf0d834387921cd0f8acfedaad9.tar.gz |
libraries/irrlicht: Updated for svn_3843 and new maintainer.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries/irrlicht/irrlicht.SlackBuild')
-rw-r--r-- | libraries/irrlicht/irrlicht.SlackBuild | 30 |
1 files changed, 26 insertions, 4 deletions
diff --git a/libraries/irrlicht/irrlicht.SlackBuild b/libraries/irrlicht/irrlicht.SlackBuild index f2c32db0e9..e4ef02e98c 100644 --- a/libraries/irrlicht/irrlicht.SlackBuild +++ b/libraries/irrlicht/irrlicht.SlackBuild @@ -2,10 +2,31 @@ # Slackware build script for irrlicht -# Written by Larry Hajali <larryhaja[at]gmail[dot]com> +# Copyright 2010 Larry Hajali <larryhaja[at]gmail[dot]com> +# Copyright 2011 Niels Horn, Rio de Janeiro, RJ, Brazil +# 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 ''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. + +# Revision date 2011/10/26 PRGNAM=irrlicht -VERSION=${VERSION:-1.7.2} +VERSION=${VERSION:-svn_3843} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -42,7 +63,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -unzip $CWD/$PRGNAM-$VERSION.zip +tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 cd $PRGNAM-$VERSION chown -R root:root . find . \ @@ -51,7 +72,8 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -# Correct the install sequence. +# Correct the install sequence to get a working link to the shared lib +# Based on a patch from Debian, adapted for the newer irrlicht versions patch -p1 < $CWD/correct-install.diff CFLAGS="$SLKCFLAGS" \ |