summaryrefslogtreecommitdiff
path: root/network/wifite/wifite.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/wifite/wifite.SlackBuild')
-rw-r--r--network/wifite/wifite.SlackBuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/network/wifite/wifite.SlackBuild b/network/wifite/wifite.SlackBuild
index 5cc892f91b..c46f6f85e7 100644
--- a/network/wifite/wifite.SlackBuild
+++ b/network/wifite/wifite.SlackBuild
@@ -23,7 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=wifite
-VERSION=${VERSION:-1}
+VERSION=${VERSION:-20150525_edbdedd}
+COMMIT=${COMMIT:-edbdedd149254f58a99d2f53e5e9b8105c4c61bb}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -38,10 +39,16 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$COMMIT
+tar xvf $CWD/$PRGNAM-$COMMIT.tar.gz
+cd $PRGNAM-$COMMIT
+
mkdir -p $PKG/usr/bin
install -D -m 0775 wifite.py $PKG/usr/bin/wifite
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a readme.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install