Browse Source

l/opencv: Upgraded to opencv-2.4.7.

slackware-14.2
Damien Goutte-Gattat 9 years ago
parent
commit
626430f179
  1. 1
      l/opencv/OpenCV-2.3.1a.tar.bz2.sha1
  2. 1
      l/opencv/OpenCV-2.4.7.tar.gz.sha1
  3. 12
      l/opencv/opencv.SlackBuild

1
l/opencv/OpenCV-2.3.1a.tar.bz2.sha1

@ -1 +0,0 @@
9784e6824c5f677fac82ae83a2f366743adb3299 OpenCV-2.3.1a.tar.bz2

1
l/opencv/OpenCV-2.4.7.tar.gz.sha1

@ -0,0 +1 @@
67ec788943894d4be3dff6efd7720591108feb29 OpenCV-2.4.7.tar.gz

12
l/opencv/opencv.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2011 Damien Goutte-Gattat
# Copyright (C) 2011,2013 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -27,9 +27,9 @@
# Source package infos
NAMESRC=${NAMESRC:-OpenCV}
VERSION=${VERSION:-2.3.1}
ARCHIVE=${ARCHIVE:-$NAMESRC-${VERSION}a.tar.bz2}
WGET=${WGET:-http://downloads.sourceforge.net/opencvlibrary/$ARCHIVE}
VERSION=${VERSION:-2.4.7}
ARCHIVE=${ARCHIVE:-$NAMESRC-${VERSION}.tar.gz}
WGET=${WGET:-https://github.com/Itseez/opencv/archive/$VERSION.tar.gz}
# Build infos
NAMEPKG=${NAMEPKG:-opencv}
@ -99,10 +99,6 @@ make install DESTDIR=$PKG
find $PKG | xargs file | grep "ELF \(32\|64\)-bit LSB" | cut -d : -f 1 | \
xargs strip --strip-unneeded 2> /dev/null
# Install the documentation
mkdir -p $PKG/usr/doc
mv $PKG/usr/share/OpenCV/doc $PKG/usr/doc/$NAME
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc

Loading…
Cancel
Save