diff options
author | M.Dinslage <daedra1980@gmail.com> | 2013-05-19 09:12:10 -0400 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2013-05-19 09:12:10 -0400 |
commit | 55eb9fd6b85484539a40ea6a2a814e3f1db2a105 (patch) | |
tree | 9042ae9c1fb758caf93ae20e05c2427a252cf743 /libraries/opencv/opencv.SlackBuild | |
parent | 0fa725094732c3bb45d94cdb90374c46480bd04d (diff) | |
download | slackbuilds-55eb9fd6b85484539a40ea6a2a814e3f1db2a105.tar.gz |
libraries/opencv: Updated for version 2.4.5.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
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 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 \ |