summaryrefslogtreecommitdiff
path: root/graphics/povray
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/povray')
-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 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
diff --git a/graphics/povray/povray.info b/graphics/povray/povray.info
index b848464a80..6abdc52c30 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=""