aboutsummaryrefslogtreecommitdiff
path: root/libraries/opencv/opencv.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2014-02-13 16:02:24 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-02-14 01:33:08 +0700
commit32271d2d7da2f04cd7beb467f1d9ecbf731842e5 (patch)
treef918e28f5c4fe312db8aa44c467cfeeaf1d9c882 /libraries/opencv/opencv.SlackBuild
parent4aab0d902151ae5b0f0952a6b47b7f218b51b81b (diff)
libraries/opencv: Updated for version 2.4.8.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/opencv/opencv.SlackBuild')
-rw-r--r--libraries/opencv/opencv.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/libraries/opencv/opencv.SlackBuild b/libraries/opencv/opencv.SlackBuild
index c1bfaf50d48d9..525dd6f62abb8 100644
--- a/libraries/opencv/opencv.SlackBuild
+++ b/libraries/opencv/opencv.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=opencv
-VERSION=${VERSION:-2.4.7}
+VERSION=${VERSION:-2.4.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,7 +60,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -72,6 +72,9 @@ find -L . \
# http://code.opencv.org/issues/2512
patch -p1 < $CWD/opencv-2.4.7-fsh.patch
+# https://bugzilla.novell.com/show_bug.cgi?id=853036
+patch -p1 < $CWD/opencv-2.4.7-pkgconfig.patch
+
mkdir -p build
cd build
cmake \