summaryrefslogtreecommitdiff
path: root/graphics/povray/povray.SlackBuild
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2013-11-15 23:33:22 +0000
committerRobby Workman <rworkman@slackbuilds.org>2013-11-15 20:27:40 -0600
commitc96f95c00eb8b022efc55b39d5d241d8fba8540f (patch)
treea74e57a2dd04a2c657b1b04069efd343c200932b /graphics/povray/povray.SlackBuild
parentca14a0970ec95410e3eb5485f8a5142442228ce4 (diff)
downloadslackbuilds-c96f95c00eb8b022efc55b39d5d241d8fba8540f.tar.gz
graphics/povray: Updated for version 3.7.0.0.
Diffstat (limited to 'graphics/povray/povray.SlackBuild')
-rw-r--r--graphics/povray/povray.SlackBuild18
1 files changed, 8 insertions, 10 deletions
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