diff options
Diffstat (limited to 'libraries/opencv/opencv.SlackBuild')
-rw-r--r-- | libraries/opencv/opencv.SlackBuild | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libraries/opencv/opencv.SlackBuild b/libraries/opencv/opencv.SlackBuild index af61e9e402b9..0e34f3e1449d 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 \ |