libraries/guichan: Updated for version 0.8.1

This commit is contained in:
Erik Hanson 2010-05-11 22:23:44 +02:00 committed by David Somero
parent 5eb46d0a59
commit b5cbb1c3c8
2 changed files with 14 additions and 18 deletions

View file

@ -2,13 +2,15 @@
# Slackware build script for guichan
# Written by Erik Hanson erik@slackbuilds.org
# Modified for version 0.6.1 by ppr:kut <hmwiesinger@gmx.at>
set -eu
PRGNAM=guichan
VERSION=0.6.1
VERSION=0.8.1
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@ -22,10 +24,10 @@ fi
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP || exit 1
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xzvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1
cd $PRGNAM-$VERSION || exit 1
tar xzvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R a-s,u+w,go+r-w .
@ -33,16 +35,10 @@ CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
|| exit 1
--localstatedir=/var
make || exit 1
make install DESTDIR=$PKG || exit 1
( cd $PKG
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
)
make
make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -ar AUTHORS COPYING ChangeLog INSTALL NEWS README TODO \

View file

@ -1,8 +1,8 @@
PRGNAM="guichan"
VERSION="0.6.1"
VERSION="0.8.1"
HOMEPAGE="http://guichan.sourceforge.net/"
DOWNLOAD="http://downloads.sourceforge.net/guichan/guichan-0.6.1.tar.gz"
MD5SUM="830145f71ad4ce4c91e09808fec68c8a"
DOWNLOAD="http://guichan.googlecode.com/files/guichan-0.8.1.tar.gz"
MD5SUM="f9ace11cc70d3ba60b62347172334a5f"
MAINTAINER="Erik Hanson"
EMAIL="erik@slackbuilds.org"
APPROVED="rworkman"
APPROVED="David Somero"