summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-09-06 06:36:01 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-09-06 06:36:01 +0700
commit4c88dd3cea474bc16907840e4abdab3298dfd7eb (patch)
treee0cd7d825df8e75bbcada04c14f703b4c603b93d
parent84d5cf9475726fbc5c40ba6ee34614c96e3fb28d (diff)
downloadslackbuilds-4c88dd3cea474bc16907840e4abdab3298dfd7eb.tar.gz
libraries/opencv: Fix path to opencv_contrib modules.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--libraries/opencv/opencv.SlackBuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/libraries/opencv/opencv.SlackBuild b/libraries/opencv/opencv.SlackBuild
index 32616f8f9a..ff8f4a27ad 100644
--- a/libraries/opencv/opencv.SlackBuild
+++ b/libraries/opencv/opencv.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for opencv
-# Copyright 2012-2014 Matt Dinslage, Springfield, MO USA
+# Copyright 2012-2015 Matt Dinslage, Springfield, MO USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
PRGNAM=opencv
PRGNAM2=opencv_contrib
VERSION=${VERSION:-3.0.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -89,8 +89,7 @@ cd build
-DWITH_IPP=OFF \
-DLIB_SUFFIX=$LIBDIRSUFFIX \
-DLIB_INSTALL_DIR=/usr/lib$LIBDIRSUFFIX \
- -DOPENCV_EXTRA_MODULES_PATH=$PRGNAM2-$VERSION/modules .. \
- ..
+ -DOPENCV_EXTRA_MODULES_PATH=../$PRGNAM2-$VERSION/modules ..
make VERBOSE=1
make install DESTDIR=$PKG
cd ..