network/centerim: Updated for version 4.22.9

This commit is contained in:
Christopher Forrest 2010-05-13 00:35:54 +02:00 committed by David Somero
parent e826751603
commit 869be710c5
2 changed files with 21 additions and 10 deletions

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=centerim
VERSION=4.22.2
VERSION=4.22.9
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -35,8 +35,13 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
fi
set -e
@ -53,6 +58,7 @@ chmod -R a-s,u+w,go+r-w .
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
@ -62,8 +68,10 @@ make
make install DESTDIR=$PKG
( cd $PKG
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
xargs strip --strip-unneeded 2> /dev/null || true
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
xargs strip --strip-unneeded 2> /dev/null
)
gzip -9 $PKG/usr/man/man?/*
@ -77,4 +85,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}

View file

@ -1,8 +1,11 @@
PRGNAM="centerim"
VERSION="4.22.2"
VERSION="4.22.9"
HOMEPAGE="http://www.centerim.org"
DOWNLOAD="http://www.centerim.org/download/releases/centerim-4.22.2.tar.gz"
MD5SUM="dcced736e2f261e08e667403c42dc78f"
MAINTAINER="Martin Lefevbre"
EMAIL="dadexter@sekurity.com"
APPROVED="rworkman"
DOWNLOAD="http://www.centerim.org/download/releases/centerim-4.22.9.tar.gz"
DOWNLOAD_x86_64=""
MD5SUM="c43911508205e0277529230c8316a298"
MD5SUM_x86_64=""
MAINTAINER="Christopher Forrest"
EMAIL="cforrest@gmx.net"
APPROVED="dsomero"