summaryrefslogtreecommitdiff
path: root/libraries/opencv/opencv.SlackBuild
diff options
context:
space:
mode:
authorM.Dinslage <daedra1980@gmail.com>2012-05-13 08:58:22 -0400
committerdsomero <xgizzmo@slackbuilds.org>2012-05-13 08:58:22 -0400
commit575e2a1663bc606ea9dedd9bff99c04713de2414 (patch)
tree712923836cdb3e1f285aad2a1558147115bd1615 /libraries/opencv/opencv.SlackBuild
parentd5db4462bd380dd055b230706e57fbec24885946 (diff)
downloadslackbuilds-575e2a1663bc606ea9dedd9bff99c04713de2414.tar.gz
libraries/opencv: Updated for version 2.4.0.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'libraries/opencv/opencv.SlackBuild')
-rw-r--r--libraries/opencv/opencv.SlackBuild12
1 files changed, 3 insertions, 9 deletions
diff --git a/libraries/opencv/opencv.SlackBuild b/libraries/opencv/opencv.SlackBuild
index 2a4730b8eb..7f34af1687 100644
--- a/libraries/opencv/opencv.SlackBuild
+++ b/libraries/opencv/opencv.SlackBuild
@@ -6,8 +6,8 @@
PRGNAM=opencv
SRCNAM=OpenCV
-VERSION=${VERSION:-2.3.1a}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-2.4.0}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -44,7 +44,7 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.bz2
-cd $SRCNAM-2.3.1
+cd $SRCNAM-2.4.0
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -52,12 +52,6 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# Honor LIB_SUFFIX
-patch -p1 < $CWD/libopencv-2.3.1a-libdir.patch
-
-# Fix building with ffmmpeg 0.6/0.8
-patch -p1 < $CWD/opencv-2.3.1a-libav-0.7.patch
-
mkdir -p build
cd build
cmake \