From c96f95c00eb8b022efc55b39d5d241d8fba8540f Mon Sep 17 00:00:00 2001 From: David Spencer Date: Fri, 15 Nov 2013 23:33:22 +0000 Subject: graphics/povray: Updated for version 3.7.0.0. --- graphics/povray/povray.SlackBuild | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) (limited to 'graphics/povray/povray.SlackBuild') diff --git a/graphics/povray/povray.SlackBuild b/graphics/povray/povray.SlackBuild index 4ee3b6d2f6..f770277221 100644 --- a/graphics/povray/povray.SlackBuild +++ b/graphics/povray/povray.SlackBuild @@ -26,7 +26,7 @@ # revision date 2013/03/26 PRGNAM=povray -VERSION=${VERSION:-3.7.0.RC7} +VERSION=${VERSION:-3.7.0.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -68,18 +68,16 @@ set -e rm -rf $TMP/$PRGNAM-$VERSION $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 +if [ -f $CWD/v$VERSION.tar.?z* ]; then + tar xvf $CWD/v$VERSION.tar.?z* +else + tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* +fi cd $PRGNAM-$VERSION chown -R root:root . chmod -R u+w,go+r-w,a-s . -# Need to specify boost_thread for 64-bits -# (upstream is aware of this glitch) -if [ "$ARCH" = "x86_64" ]; then - BOOST64="--with-boost-thread=boost_thread" -else - BOOST64="" -fi +( cd unix; sh ./prebuild.sh ) CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -89,7 +87,7 @@ CXXFLAGS="$SLKCFLAGS" \ --localstatedir=/var \ --mandir=/usr/man \ --build=$ARCH-slackware-linux \ - $BOOST64 \ + LIBS="-lboost_system -lboost_thread" \ COMPILED_BY="$POVRAY_BUILDER" make -- cgit v1.2.3