misc/viking: Updated for version 0.9.94.

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Pierre Cazenave 2010-06-29 20:44:30 -05:00 committed by Robby Workman
parent 66ad06bd2f
commit f161518537
2 changed files with 9 additions and 11 deletions

View File

@ -2,7 +2,7 @@
# Slackware build script for viking.
# Copyright 2009 Pierre Cazenave <pwcazenave {at} gmail [dot] com>
# Copyright 2009,2010 Pierre Cazenave <pwcazenave {at} gmail [dot] com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -23,16 +23,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=viking
VERSION=${VERSION:-0.9.9}
VERSION=${VERSION:-0.9.94}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@ -75,15 +73,15 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--mandir=/usr/man \
--disable-scrollkeeper \
--build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
( cd $PKG
find . | xargs file | grep -E "executable|shared object" | grep ELF | \
cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
)
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
# /usr/man is empty
rm -rf $PKG/usr/man

View File

@ -1,8 +1,8 @@
PRGNAM="viking"
VERSION="0.9.9"
VERSION="0.9.94"
HOMEPAGE="http://sourceforge.net/projects/viking/"
DOWNLOAD="http://downloads.sourceforge.net/project/viking/viking/0.9.9/viking-0.9.9.tar.gz"
MD5SUM="5df46455c4842cc5c5ed016e1df2f48c"
DOWNLOAD="http://downloads.sourceforge.net/project/viking/viking/0.9.94/viking-0.9.94.tar.gz"
MD5SUM="25dc0a09f1a3e39e99a6324d79c740e6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Pierre Cazenave"