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. 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 This SlackBuild simply builds a package from the binaries included in the
source archive. Alternatively, you may opt to recompile by passing source archive.
MONODEVELOP=yes to the script. In this case monodevelop would be needed.
In any case, you still need mono to run loic: mono is needed to run loic:
mono /opt/loic/LOIC.exe mono /opt/loic/LOIC.exe

View File

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