From ae5fe4800aa9af948803b8516a204916d17eccc0 Mon Sep 17 00:00:00 2001 From: Nishant Limbachia Date: Sun, 2 Mar 2014 10:05:10 +0700 Subject: [PATCH] libraries/vigra: Updated for version 1.10.0. Signed-off-by: Willy Sudiarto Raharjo --- libraries/vigra/README | 2 ++ libraries/vigra/slack-desc | 2 +- libraries/vigra/vigra.SlackBuild | 24 +++++++++++------------- libraries/vigra/vigra.info | 8 ++++---- 4 files changed, 18 insertions(+), 18 deletions(-) diff --git a/libraries/vigra/README b/libraries/vigra/README index 14def9647f..4992a5ce61 100644 --- a/libraries/vigra/README +++ b/libraries/vigra/README @@ -1,3 +1,5 @@ VIGRA stands for "Vision with Generic Algorithms". It is a novel computer vision library that puts its main emphasis on customizable algorithms and data structures. + +Optional dependencies: nose, numpy, Sphinx diff --git a/libraries/vigra/slack-desc b/libraries/vigra/slack-desc index e55d5a9c90..abb58c3f54 100644 --- a/libraries/vigra/slack-desc +++ b/libraries/vigra/slack-desc @@ -12,7 +12,7 @@ vigra: VIGRA stands for "Vision with Generic Algorithms". It is a vigra: novel computer vision library that puts its main emphasis vigra: on customizable algorithms and data structures. vigra: -vigra: Home Page: http://hci.iwr.uni-heidelberg.de/vigra/ +vigra: Home Page: http://ukoethe.github.io/vigra/ vigra: vigra: vigra: diff --git a/libraries/vigra/vigra.SlackBuild b/libraries/vigra/vigra.SlackBuild index c9c6937976..1a630c7992 100644 --- a/libraries/vigra/vigra.SlackBuild +++ b/libraries/vigra/vigra.SlackBuild @@ -1,9 +1,9 @@ #!/bin/sh # Slackware Package Build Script for vigra -# Home Page http://hci.iwr.uni-heidelberg.de/vigra/ +# Home Page http://ukoethe.github.io/vigra/ -# Copyright (c) 2013, Nishant Limbachia, Hoffman Estates, IL, USA +# Copyright (c) 2013-2014, Nishant Limbachia, Hoffman Estates, IL, USA # (nishant _AT_ mnspace _DOT_ net) # All rights reserved. @@ -26,7 +26,7 @@ # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM="vigra" -VERSION=${VERSION:-1.9.0} +VERSION=${VERSION:-1.10.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -34,7 +34,7 @@ if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; + *) ARCH=$( uname -m ) ;; esac fi @@ -63,15 +63,14 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION-src.tar.gz +tar xvf $CWD/$PRGNAM-$VERSION-src-with-docu.tar.gz cd $PRGNAM-$VERSION chown -R root:root . - find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; mkdir -p build cd build @@ -80,9 +79,8 @@ cd build -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ -DLIB_SUFFIX=${LIBDIRSUFFIX} \ - -DDOCINSTALL=doc/$PRGNAM-$VERSION \ -DCMAKE_BUILD_TYPE=Release .. - make VERBOSE=1 + make make install DESTDIR=$PKG cd .. @@ -90,7 +88,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a LICENSE.txt README.txt \ +cp -a LICENSE.txt \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/libraries/vigra/vigra.info b/libraries/vigra/vigra.info index 53d6c1c255..b5c2a96c82 100644 --- a/libraries/vigra/vigra.info +++ b/libraries/vigra/vigra.info @@ -1,8 +1,8 @@ PRGNAM="vigra" -VERSION="1.9.0" -HOMEPAGE="http://hci.iwr.uni-heidelberg.de/vigra/" -DOWNLOAD="http://hci.iwr.uni-heidelberg.de/vigra-old-versions/vigra-1.9.0-src.tar.gz" -MD5SUM="b6155afe1ea967917d2be16d98a85404" +VERSION="1.10.0" +HOMEPAGE="http://ukoethe.github.io/vigra/" +DOWNLOAD="https://github.com/ukoethe/vigra/releases/download/Version-1-10-0/vigra-1.10.0-src-with-docu.tar.gz" +MD5SUM="85e2968e4ee5f9541b5dd8b3fb9cc433" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES=""