wok-6.x view mdk3/receipt @ rev 24982

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 08 13:06:36 2022 +0000 (2022-05-08)
parents 544e47246b33
children 9981cfce1dd8
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="https://www.kali.org/tools/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 }