summaryrefslogtreecommitdiff
path: root/graphics/rawtherapee/rawtherapee.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/rawtherapee/rawtherapee.SlackBuild')
-rw-r--r--graphics/rawtherapee/rawtherapee.SlackBuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/graphics/rawtherapee/rawtherapee.SlackBuild b/graphics/rawtherapee/rawtherapee.SlackBuild
index 93b33e8137..20ebb1e2e4 100644
--- a/graphics/rawtherapee/rawtherapee.SlackBuild
+++ b/graphics/rawtherapee/rawtherapee.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for rawtherapee
-# Copyright 2014 Panagiotis Nikolaou, Karlovasi Samos, Gr
+# Copyright 2014-2016 Panagiotis Nikolaou, Karlovasi Samos, Gr
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
PRGNAM=rawtherapee
VERSION=${VERSION:-4.2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -73,7 +73,8 @@ mkdir -p build
cd build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -std=c++11" \
+ -DPROC_TARGET_NUMBER="2" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release ..
make
@@ -88,6 +89,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a RELEASE_NOTES.txt README.md AUTHORS.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install