aboutsummaryrefslogtreecommitdiff
path: root/network/centerim
diff options
context:
space:
mode:
authorChristopher Forrest <cforrest@gmx.net>2010-05-13 00:35:54 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:35:54 +0200
commit869be710c5d74bb95304a04b80ad31a83b6f910f (patch)
treefb71a883fcb4fd35d6da4d8e2bb76f94b2db3f04 /network/centerim
parente826751603917719d412843e0c92a8a19f22eaed (diff)
network/centerim: Updated for version 4.22.9
Diffstat (limited to 'network/centerim')
-rw-r--r--network/centerim/centerim.SlackBuild16
-rw-r--r--network/centerim/centerim.info15
2 files changed, 21 insertions, 10 deletions
diff --git a/network/centerim/centerim.SlackBuild b/network/centerim/centerim.SlackBuild
index 95206b412382c..10eb5d6fc10ff 100644
--- a/network/centerim/centerim.SlackBuild
+++ b/network/centerim/centerim.SlackBuild
@@ -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}
diff --git a/network/centerim/centerim.info b/network/centerim/centerim.info
index 6dafe645dc071..b5e1a62fbfc35 100644
--- a/network/centerim/centerim.info
+++ b/network/centerim/centerim.info
@@ -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"
+