summaryrefslogtreecommitdiff
path: root/misc/siege/siege.SlackBuild
diff options
context:
space:
mode:
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