mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
network/centerim: Updated for version 4.22.9
This commit is contained in:
parent
e826751603
commit
869be710c5
2 changed files with 21 additions and 10 deletions
|
@ -23,7 +23,7 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=centerim
|
PRGNAM=centerim
|
||||||
VERSION=4.22.2
|
VERSION=4.22.9
|
||||||
ARCH=${ARCH:-i486}
|
ARCH=${ARCH:-i486}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
@ -35,8 +35,13 @@ OUTPUT=${OUTPUT:-/tmp}
|
||||||
|
|
||||||
if [ "$ARCH" = "i486" ]; then
|
if [ "$ARCH" = "i486" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i486"
|
SLKCFLAGS="-O2 -march=i486"
|
||||||
|
LIBDIRSUFFIX=""
|
||||||
elif [ "$ARCH" = "i686" ]; then
|
elif [ "$ARCH" = "i686" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i686"
|
SLKCFLAGS="-O2 -march=i686"
|
||||||
|
LIBDIRSUFFIX=""
|
||||||
|
elif [ "$ARCH" = "x86_64" ]; then
|
||||||
|
SLKCFLAGS="-O2 -fPIC"
|
||||||
|
LIBDIRSUFFIX="64"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
@ -53,6 +58,7 @@ chmod -R a-s,u+w,go+r-w .
|
||||||
CFLAGS="$SLKCFLAGS" \
|
CFLAGS="$SLKCFLAGS" \
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
|
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
--localstatedir=/var \
|
--localstatedir=/var \
|
||||||
--mandir=/usr/man \
|
--mandir=/usr/man \
|
||||||
|
@ -62,8 +68,10 @@ make
|
||||||
make install DESTDIR=$PKG
|
make install DESTDIR=$PKG
|
||||||
|
|
||||||
( cd $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 "executable" | grep ELF | cut -f 1 -d : | \
|
||||||
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
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?/*
|
gzip -9 $PKG/usr/man/man?/*
|
||||||
|
@ -77,4 +85,4 @@ mkdir -p $PKG/install
|
||||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||||
|
|
||||||
cd $PKG
|
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}
|
||||||
|
|
|
@ -1,8 +1,11 @@
|
||||||
PRGNAM="centerim"
|
PRGNAM="centerim"
|
||||||
VERSION="4.22.2"
|
VERSION="4.22.9"
|
||||||
HOMEPAGE="http://www.centerim.org"
|
HOMEPAGE="http://www.centerim.org"
|
||||||
DOWNLOAD="http://www.centerim.org/download/releases/centerim-4.22.2.tar.gz"
|
DOWNLOAD="http://www.centerim.org/download/releases/centerim-4.22.9.tar.gz"
|
||||||
MD5SUM="dcced736e2f261e08e667403c42dc78f"
|
DOWNLOAD_x86_64=""
|
||||||
MAINTAINER="Martin Lefevbre"
|
MD5SUM="c43911508205e0277529230c8316a298"
|
||||||
EMAIL="dadexter@sekurity.com"
|
MD5SUM_x86_64=""
|
||||||
APPROVED="rworkman"
|
MAINTAINER="Christopher Forrest"
|
||||||
|
EMAIL="cforrest@gmx.net"
|
||||||
|
APPROVED="dsomero"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue