diff options
author | Nishant Limbachia <nishant@mnspace.net> | 2014-03-02 10:05:10 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-03-02 10:05:10 +0700 |
commit | ae5fe4800aa9af948803b8516a204916d17eccc0 (patch) | |
tree | 4976c51da9e4283dbf434a6506696a2cfa3f1078 /libraries/vigra/vigra.SlackBuild | |
parent | 39ea284aae1f7fdfee15627f8667bab398dde18d (diff) | |
download | slackbuilds-ae5fe4800aa9af948803b8516a204916d17eccc0.tar.gz |
libraries/vigra: Updated for version 1.10.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/vigra/vigra.SlackBuild')
-rw-r--r-- | libraries/vigra/vigra.SlackBuild | 24 |
1 files changed, 11 insertions, 13 deletions
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 |