summaryrefslogtreecommitdiff
path: root/network/centerim/centerim.SlackBuild
diff options
context:
space:
mode:
authorMartin Lefevbre <dadexter@sekurity.com>2010-05-11 19:45:49 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 19:45:49 +0200
commit74660190b3cae2df8557a1dd7884cd4de235d708 (patch)
tree669d4db612ee6c6066167b3d925a7a0ef2325a03 /network/centerim/centerim.SlackBuild
parent5f658af54af626a61d1ed1dc579da63157ef99d0 (diff)
downloadslackbuilds-74660190b3cae2df8557a1dd7884cd4de235d708.tar.gz
network/centerim: Updated for version 4.22.2
Diffstat (limited to 'network/centerim/centerim.SlackBuild')
-rw-r--r--network/centerim/centerim.SlackBuild28
1 files changed, 13 insertions, 15 deletions
diff --git a/network/centerim/centerim.SlackBuild b/network/centerim/centerim.SlackBuild
index d305bd8a70..95206b4123 100644
--- a/network/centerim/centerim.SlackBuild
+++ b/network/centerim/centerim.SlackBuild
@@ -22,15 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Modified by the SlackBuilds.org project
-set -e
-
PRGNAM=centerim
-VERSION=4.22.0
+VERSION=4.22.2
ARCH=${ARCH:-i486}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=`pwd`
+
+CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -41,13 +39,14 @@ elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686"
fi
+set -e
+
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 xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R a-s,u+w,go+r-w .
@@ -57,14 +56,13 @@ CFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
- --with-ssl \
- || exit 1
+ --with-ssl
-make || exit 1
-make install DESTDIR=$PKG || exit 1
+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
+ 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
)