network/loic: Build bump, removed source build option.

Signed-off-by: Erik Hanson <erik@slackbuilds.org>
This commit is contained in:
Chris Abela 2011-11-07 19:19:35 -06:00 committed by Robby Workman
parent e8f10d48a8
commit efd3cdc37e
2 changed files with 10 additions and 11 deletions

View File

@ -10,10 +10,9 @@ packets, UDP packets, or HTTP requests with the intention of disrupting the
service of a particular host. People have used LOIC to join voluntary botnets.
This SlackBuild simply builds a package from the binaries included in the
source archive. Alternatively, you may opt to recompile by passing
MONODEVELOP=yes to the script. In this case monodevelop would be needed.
source archive.
In any case, you still need mono to run loic:
mono is needed to run loic:
mono /opt/loic/LOIC.exe

View File

@ -30,7 +30,7 @@
PRGNAM=loic
VERSION=${VERSION:-v1.1.1.25}
BUILD=${BUILD:-2}
BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
ARCH=noarch # Leave this alone
@ -51,14 +51,14 @@ cd $PRGNAM-$VERSION
unzip $CWD/$PRGNAM.$VERSION.zip
chown -R root:root .
if [ "$MONODEVELOP" = yes ] ;then
# This is only for those who want rebuild the binaries.
# They would need monodevelop.
mdtool -v build -f source/LOIC.sln
cp -a source/bin/Debug $PKG/opt/loic
else
## This broke for every monodevelop update,
## so now it is not supported. Sorry!
#if [ "$MONODEVELOP" = yes ] ;then
# mdtool -v build -f source/LOIC.sln
# cp -a source/bin/Debug $PKG/opt/loic
#else
cp -a debug $PKG/opt/loic
fi
#fi
# This for GUI users
mkdir -p $PKG/usr/share/applications