libraries/vigra: Updated for version 1.11.0.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Nishant Limbachia 2016-08-27 08:25:20 +07:00 committed by David Spencer
parent 2e58882641
commit d5e0ae5b25
2 changed files with 14 additions and 10 deletions

View file

@ -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}

View file

@ -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=""