aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNishant Limbachia <nishant@mnspace.net>2015-08-12 14:16:44 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-08-12 18:51:57 +0700
commit6eb4173c053be05e2feeef09392a30d726084eca (patch)
tree1870ab4e1a7f442f5e2b0377aa477a67496edf7a
parent385f6e515d115890b4a0330cedef390f3ea6deea (diff)
libraries/vigra: Add cmake switch.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--libraries/vigra/vigra.SlackBuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/libraries/vigra/vigra.SlackBuild b/libraries/vigra/vigra.SlackBuild
index 1a630c79920e..945c1ace8865 100644
--- a/libraries/vigra/vigra.SlackBuild
+++ b/libraries/vigra/vigra.SlackBuild
@@ -27,7 +27,7 @@
PRGNAM="vigra"
VERSION=${VERSION:-1.10.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -70,7 +70,7 @@ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
mkdir -p build
cd build
@@ -79,6 +79,7 @@ cd build
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DWITH_OPENEXR=true \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG