Commits

Lee Pak Hong  committed 2f17429

Update opencv to 2.4.6

Signed-off-by: Lee Pak Hong <benreilly@vector.Linux.net>

  • Participants
  • Parent commits d796c86
  • Branches veclinux-7.0

Comments (0)

Files changed (1)

File var/vabs/opencv/src/opencv.SlackBuild

 # AUTHORS = 
 
 NAME="opencv"            #Enter package Name!
-VERSION=${VERSION:-"2.4.2"}      #Enter package Version!
+VERSION=${VERSION:-"2.4.6"}      #Enter package Version!
 VER=$(echo $VERSION|sed 's/-/_/') #this fixes - in version
 VL_PACKAGER=${VL_PACKAGER:-"hata_ph"}   #Enter your Name!
-LINK=${LINK:-"http://downloads.sourceforge.net/opencvlibrary/OpenCV-$VERSION.tar.bz2"}  #Enter URL for package here!
+LINK=${LINK:-"http://downloads.sourceforge.net/opencvlibrary/$NAME-$VERSION.tar.bz2"}  #Enter URL for package here!
 
 
 #SYSTEM VARIABLES
     -DINSTALL_MAN_DIR=man \
     -DINSTALL_DOC_DIR=doc/$NAME-$VERSION \
     -DBUILD_SHARED_LIBS=ON \
+    -DENABLE_PRECOMPILED_HEADERS=OFF \
+    -DWITH_QT=ON \
     -DLIB_SUFFIX=$LIBDIRSUFFIX \
     -DLIB_INSTALL_DIR=/usr/lib$LIBDIRSUFFIX \
     ..