summaryrefslogtreecommitdiff
path: root/libraries/opencv/opencv.SlackBuild
diff options
context:
space:
mode:
authorM.Dinslage <daedra1980@gmail.com>2015-03-07 09:35:48 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-03-07 09:35:48 +0700
commitb2f5d06a90f2d9ab2e4ab8ba535d7cf933a12772 (patch)
treeb0418984a4a36c5e58b04ccd1df2e69b6abe03e8 /libraries/opencv/opencv.SlackBuild
parent74a3044c7914865e75fad8a41e712bac366ea6c0 (diff)
downloadslackbuilds-b2f5d06a90f2d9ab2e4ab8ba535d7cf933a12772.tar.gz
libraries/opencv: Updated for version 2.4.11.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/opencv/opencv.SlackBuild')
-rw-r--r--libraries/opencv/opencv.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/libraries/opencv/opencv.SlackBuild b/libraries/opencv/opencv.SlackBuild
index 5ba0adf481..70e56b1774 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.9}
+VERSION=${VERSION:-2.4.11}
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/$VERSION.tar.gz
+unzip $CWD/$PRGNAM-$VERSION.zip
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -70,10 +70,10 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# http://code.opencv.org/issues/2512
-patch -p1 < $CWD/opencv-2.4.9-fsh.patch
+patch -p1 < $CWD/opencv-2.4.11-fsh.patch
# https://bugzilla.novell.com/show_bug.cgi?id=853036
-patch -p1 < $CWD/opencv-2.4.9-pkgconfig.patch
+patch -p1 < $CWD/opencv-2.4.11-pkgconfig.patch
mkdir -p build
cd build