wok-current view mdk3/receipt @ rev 24797
updated libhtp and libhtp-dev (0.5.32 -> 0.5.39)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 21 17:10:45 2022 +0100 (2022-03-21) |
parents | eeba7ab1dffe |
children | 870e1ce31226 |
line source
1 # SliTaz package receipt.
3 PACKAGE="mdk3"
4 VERSION="v6"
5 CATEGORY="security"
6 SHORT_DESC="WLAN penetration tool"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://aspj.aircrack-ng.org/index.html#mdk3"
11 WGET_URL="http://homepages.tu-darmstadt.de/~p_larbig/wlan/$TARBALL"
13 DEPENDS=""
15 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - https://raw.githubusercontent.com/charlesxsh/mdk3-master/master/CHANGELOG 2>/dev/null | \
19 sed '/^version/!d;s|version |v|;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 cd $src
26 sed -i -e "s:/usr/local:/usr:" Makefile
27 make -C osdep
28 make
29 make DESTDIR="$DESTDIR" install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
36 cp -a $install/usr/sbin $fs/usr
37 }