diff options
author | Nishant Limbachia <nishant@mnspace.net> | 2016-08-27 08:25:20 +0700 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2016-08-28 00:22:40 +0100 |
commit | d5e0ae5b25b10e3168846bcc385a1637a72d4ec2 (patch) | |
tree | 1db9056e264ecb3e45427c7e3db5e77593bf027c /libraries/vigra | |
parent | 2e588826414a9f86ac104da719fad16412972ffd (diff) |
libraries/vigra: Updated for version 1.11.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/vigra')
-rw-r--r-- | libraries/vigra/vigra.SlackBuild | 18 | ||||
-rw-r--r-- | libraries/vigra/vigra.info | 6 |
2 files changed, 14 insertions, 10 deletions
diff --git a/libraries/vigra/vigra.SlackBuild b/libraries/vigra/vigra.SlackBuild index 945c1ace8865e..9ea1564b07527 100644 --- a/libraries/vigra/vigra.SlackBuild +++ b/libraries/vigra/vigra.SlackBuild @@ -3,7 +3,7 @@ # Slackware Package Build Script for vigra # Home Page http://ukoethe.github.io/vigra/ -# Copyright (c) 2013-2014, Nishant Limbachia, Hoffman Estates, IL, USA +# Copyright (c) 2013-2016, Nishant Limbachia, Hoffman Estates, IL, USA # (nishant _AT_ mnspace _DOT_ net) # All rights reserved. @@ -26,13 +26,13 @@ # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM="vigra" -VERSION=${VERSION:-1.10.0} -BUILD=${BUILD:-2} +VERSION=${VERSION:-1.11.0} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -43,8 +43,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -63,9 +63,10 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION-src-with-docu.tar.gz +tar xvf $CWD/$PRGNAM-$VERSION-src.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 \ @@ -85,9 +86,11 @@ cd build make install DESTDIR=$PKG cd .. +# Strip binaries and libraries find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true +# copy documentation mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a LICENSE.txt \ $PKG/usr/doc/$PRGNAM-$VERSION @@ -96,5 +99,6 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc +# Make package cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/libraries/vigra/vigra.info b/libraries/vigra/vigra.info index b5c2a96c82ad6..8c0a7e5261c92 100644 --- a/libraries/vigra/vigra.info +++ b/libraries/vigra/vigra.info @@ -1,8 +1,8 @@ PRGNAM="vigra" -VERSION="1.10.0" +VERSION="1.11.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="https://github.com/ukoethe/vigra/releases/download/Version-1-11-0/vigra-1.11.0-src.tar.gz" +MD5SUM="7f80d289e03a2f2e8c8e85f3ff29d988" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |