aboutsummaryrefslogtreecommitdiff
path: root/graphics
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
parentca14a0970ec95410e3eb5485f8a5142442228ce4 (diff)
graphics/povray: Updated for version 3.7.0.0.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/povray/povray.SlackBuild18
-rw-r--r--graphics/povray/povray.info6
2 files changed, 11 insertions, 13 deletions
diff --git a/graphics/povray/povray.SlackBuild b/graphics/povray/povray.SlackBuild
index 4ee3b6d2f638f..f77027722166a 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
diff --git a/graphics/povray/povray.info b/graphics/povray/povray.info
index b848464a800b1..6abdc52c3025a 100644
--- a/graphics/povray/povray.info
+++ b/graphics/povray/povray.info
@@ -1,8 +1,8 @@
PRGNAM="povray"
-VERSION="3.7.0.RC7"
+VERSION="3.7.0.0"
HOMEPAGE="http://www.povray.org/"
-DOWNLOAD="http://www.povray.org/beta/source/povray-3.7.0.RC7.tar.bz2"
-MD5SUM="7d24ec051af67bcf040a898a267d920a"
+DOWNLOAD="https://github.com/POV-Ray/povray/archive/v3.7.0.0.tar.gz"
+MD5SUM="c9473256677808e9e3246e6eb8f69a75"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""