From 55eb9fd6b85484539a40ea6a2a814e3f1db2a105 Mon Sep 17 00:00:00 2001 From: "M.Dinslage" Date: Sun, 19 May 2013 09:12:10 -0400 Subject: libraries/opencv: Updated for version 2.4.5. Signed-off-by: dsomero --- libraries/opencv/opencv.SlackBuild | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'libraries/opencv/opencv.SlackBuild') diff --git a/libraries/opencv/opencv.SlackBuild b/libraries/opencv/opencv.SlackBuild index af61e9e402..0e34f3e144 100644 --- a/libraries/opencv/opencv.SlackBuild +++ b/libraries/opencv/opencv.SlackBuild @@ -23,13 +23,10 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=opencv -VERSION=${VERSION:-2.4.4a} +VERSION=${VERSION:-2.4.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -SRCNAM=OpenCV -TARVER=2.4.4 - if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; @@ -62,9 +59,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $SRCNAM-$VERSION -tar xvf $CWD/$SRCNAM-$VERSION.tar.bz2 -cd $PRGNAM-$TARVER +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ @@ -72,6 +69,9 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# http://code.opencv.org/issues/2512 +patch -p1 < $CWD/fsh.patch + mkdir -p build cd build cmake \ -- cgit v1.2.3