summaryrefslogtreecommitdiffstats
path: root/mcabber/build
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2006-11-16 20:43:02 +0000
committer Eric Hameleers <alien@slackware.com>2006-11-16 20:43:02 +0000
commit7dd166a7233a4d84ecae35aba4c1d108b569c66c (patch)
tree674f8368fdf2db456c5a98ca7eb620c206d2a20d /mcabber/build
parentd10338dd7b10dbeb3e0b1e7bd9e9c10bb3e8d611 (diff)
downloadasb-7dd166a7233a4d84ecae35aba4c1d108b569c66c.tar.gz
asb-7dd166a7233a4d84ecae35aba4c1d108b569c66c.tar.xz
New release for mcabber, couple of small tweaks to the SlackBuild
Diffstat (limited to 'mcabber/build')
-rwxr-xr-xmcabber/build/mcabber.SlackBuild27
1 files changed, 7 insertions, 20 deletions
diff --git a/mcabber/build/mcabber.SlackBuild b/mcabber/build/mcabber.SlackBuild
index 0dfc3f38..0e0c529b 100755
--- a/mcabber/build/mcabber.SlackBuild
+++ b/mcabber/build/mcabber.SlackBuild
@@ -33,6 +33,8 @@
# * New release (configure bugfix).
# 0.8.2-1: 19/sep/2006 by Eric Hameleers <alien@slackware.com>
# * New release.
+# 0.8.3-1: 16/nov/2006 by Eric Hameleers <alien@slackware.com>
+# * New release. Lots of new features, read the changelog.
#
# Run 'sh SlackBuild --cleanup' to build a Slackware package.
# The package (.tgz) plus descriptive .txt file are created in /tmp .
@@ -48,7 +50,7 @@ if [ "$TMP" = "" ]; then
fi
PRGNAM=mcabber
-VERSION=0.8.2
+VERSION=0.8.3
ARCH=${ARCH:-i486}
BUILD=1
@@ -91,7 +93,7 @@ if [ ! -d $PKG ]; then
fi
# Download the sources if requested
-if [ "${SOURCE}" != "" ] && ! [ -f ${CWD}/${SOURCE} ]; then
+if [ "x${SOURCE}" != "x" ] && ! [ -f ${CWD}/${SOURCE} ]; then
echo "Source '${SOURCE}' not available yet... will download now:"
wget -nv -O ${CWD}/${SOURCE} "${SRCURL}"
if [ $? -ne 0 ]; then
@@ -128,25 +130,10 @@ fi
cd $TMP/tmp-$PRGNAM
-if [ ! -f $CWD/${PRGNAM}-${VERSION}.tar.bz2 ]; then
- echo "Retrieving missing source archive first..."
- wget -nv -O $CWD/${PRGNAM}-${VERSION}.tar.bz2 \
- http://www.lilotux.net/~mikael/${PRGNAM}/files/${PRGNAM}-${VERSION}.tar.bz2
- if [ $? -ne 0 ]; then
- echo "Download failed! Aborting"
- mv $CWD/${PRGNAM}-${VERSION}.tar.bz2 $CWD/${PRGNAM}-${VERSION}.tar.bz2.FAIL
- exit 1
- fi
-fi
-
# --- TARBALL EXTRACTION,PATCH,MODIFY ---
echo "Extracting the source archive for $PRGNAM..."
-if `file $CWD/${SOURCE} | grep -q ": bzip2"`; then
- tar -xjvf $CWD/${SOURCE}
-else
- tar -xzvf $CWD/${SOURCE}
-fi
+tar -xvf $CWD/${SOURCE}
if [ $? -ne 0 ]; then
echo "Error in unpacking '${SOURCE}!' Aborting..."
exit $?
@@ -156,7 +143,7 @@ cd ${PRGNAM}-${VERSION}
# Small patch for 0.8.0, will be fixed in next release:
#patch -p1 < $CWD/fix_configure_ncurses.diff
-chown -R root.root *
+chown -R root:root *
find . -perm 777 -exec chmod 755 {} \;
@@ -294,7 +281,7 @@ chmod -R o-w $PKG
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
if [ -f $CWD/doinst.sh ]; then
- cat $CWD/doinst.sh > $PKG/install/doinst.sh
+ cat $CWD/doinst.sh >> $PKG/install/doinst.sh
fi