diff options
Diffstat (limited to 'libraries/irrlicht/irrlicht.SlackBuild')
-rw-r--r-- | libraries/irrlicht/irrlicht.SlackBuild | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/libraries/irrlicht/irrlicht.SlackBuild b/libraries/irrlicht/irrlicht.SlackBuild index b916bda023..a6b6268184 100644 --- a/libraries/irrlicht/irrlicht.SlackBuild +++ b/libraries/irrlicht/irrlicht.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for irrlicht # Copyright 2010 Larry Hajali <larryhaja[at]gmail[dot]com> -# Copyright 2011-2012 Niels Horn, Rio de Janeiro, RJ, Brazil +# Copyright 2011-2013 Niels Horn, Rio de Janeiro, RJ, Brazil # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,11 +23,11 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# Revision date 2012/08/09 +# Revision date 2013/03/28 PRGNAM=irrlicht -VERSION=${VERSION:-svn_3843} -BUILD=${BUILD:-2} +VERSION=${VERSION:-1.8} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -63,7 +63,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 +unzip $CWD/$PRGNAM-$VERSION.zip cd $PRGNAM-$VERSION chown -R root:root . find . \ @@ -72,14 +72,6 @@ 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 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 - -# Patch for gcc-4.7 - included upstream on 2012/06/18. -# Thanks to Larry Hajali for the info! -patch -p1 < $CWD/irrlicht_gcc47.patch - CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ NDEBUG=1 \ |