summaryrefslogtreecommitdiff
path: root/misc/siege/siege.SlackBuild
diff options
context:
space:
mode:
authorMenno Duursma <druiloor@zonnet.nl>2010-10-25 07:36:40 -0500
committerErik Hanson <erik@slackbuilds.org>2010-10-25 07:55:31 -0500
commitca46ac39a08968acca806dfaa75eaa4c6e303b84 (patch)
tree18c71f6bf082bf435fa7b0a40758966b40d9e3cc /misc/siege/siege.SlackBuild
parente932e113f43109da9d84cfdc679b77622e9c72f7 (diff)
downloadslackbuilds-ca46ac39a08968acca806dfaa75eaa4c6e303b84.tar.gz
misc/siege: Updated for version 2.70.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'misc/siege/siege.SlackBuild')
-rw-r--r--misc/siege/siege.SlackBuild17
1 files changed, 9 insertions, 8 deletions
diff --git a/misc/siege/siege.SlackBuild b/misc/siege/siege.SlackBuild
index 912b7ded74..210e9bba76 100644
--- a/misc/siege/siege.SlackBuild
+++ b/misc/siege/siege.SlackBuild
@@ -9,16 +9,14 @@
# http://sam.zoy.org/wtfpl/COPYING for more details.
PRGNAM=siege
-VERSION=${VERSION:-2.69}
+VERSION=${VERSION:-2.70}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -70,15 +68,18 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install-strip DESTDIR=$PKG
-( cd $PKG/usr/man || exit 1
- find . -type f -exec gzip -9 {} \;
- for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-)
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS ChangeLog COPYING KNOWNBUGS MACHINES NEWS PLATFORM README* \
+ $PKG/usr/doc/$PRGNAM-$VERSION
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/html
# Include .siegerc and url.txt examples
cp -a doc/{urls.txt,siegerc} $PKG/usr/doc/$PRGNAM-$VERSION
+
# Test webpages
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/html
cp -a html/{README,basic.php,cache-control.php,cookie-test.php,etag.php,login.php} \
$PKG/usr/doc/$PRGNAM-$VERSION/html