summaryrefslogtreecommitdiff
path: root/system/worker/worker.SlackBuild
diff options
context:
space:
mode:
authorCJ Johnson <clavius@gmail.com>2010-05-11 19:46:45 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 19:46:45 +0200
commitd9185ef9d1b2760d21162e74fe19847f4125b75f (patch)
treef6c279894b2cfee8dc36e2dbb8836faea6c5c1bf /system/worker/worker.SlackBuild
parent25b01fabba43ae115ca01d8f37e6ffa309d7df99 (diff)
downloadslackbuilds-d9185ef9d1b2760d21162e74fe19847f4125b75f.tar.gz
system/worker: Updated for version 2.13.1
Diffstat (limited to 'system/worker/worker.SlackBuild')
-rw-r--r--system/worker/worker.SlackBuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/system/worker/worker.SlackBuild b/system/worker/worker.SlackBuild
index 128a98298f..84d5b13435 100644
--- a/system/worker/worker.SlackBuild
+++ b/system/worker/worker.SlackBuild
@@ -30,7 +30,7 @@ VERSION=2.13.1
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=`pwd`
+CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -44,17 +44,16 @@ elif [ "$ARCH" = "s390" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2"
fi
-H
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
rm -rf $TMP/$PRGNAM-$VERSION
cd $TMP || exit 1
-tar -vxjf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1
+tar -xjvf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1
+cd $PRGNAM-$VERSION || exit 1
chown -R root:root .
chmod -R u+rw,go+r-w,a-s .
-cd $PRGNAM-$VERSION || exit 1
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -76,8 +75,7 @@ gzip -9 $PKG/usr/man/man?/*
gzip -9 $PKG/usr/man/fr/man?/*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS README_LARGEFILES \
+cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS README_LARGEFILES \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild