wok-current annotate mdk3/receipt @ rev 24909
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 09 14:28:38 2022 +0000 (2022-04-09) |
parents | 544e47246b33 |
children | 9981cfce1dd8 |
rev | line source |
---|---|
slaxemulator@7522 | 1 # SliTaz package receipt. |
slaxemulator@7522 | 2 |
slaxemulator@7522 | 3 PACKAGE="mdk3" |
slaxemulator@7522 | 4 VERSION="v6" |
slaxemulator@7522 | 5 CATEGORY="security" |
slaxemulator@7522 | 6 SHORT_DESC="WLAN penetration tool" |
slaxemulator@7522 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15584 | 8 LICENSE="GPL2" |
slaxemulator@7522 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@24894 | 10 WEB_SITE="https://www.kali.org/tools/mdk3/" |
slaxemulator@7522 | 11 WGET_URL="http://homepages.tu-darmstadt.de/~p_larbig/wlan/$TARBALL" |
slaxemulator@7522 | 12 |
pascal@15584 | 13 DEPENDS="" |
pascal@15584 | 14 |
pascal@24540 | 15 # What is the latest version available today? |
pascal@24540 | 16 current_version() |
pascal@24540 | 17 { |
pascal@24540 | 18 wget -O - https://raw.githubusercontent.com/charlesxsh/mdk3-master/master/CHANGELOG 2>/dev/null | \ |
pascal@24540 | 19 sed '/^version/!d;s|version |v|;q' |
pascal@24540 | 20 } |
pascal@24540 | 21 |
slaxemulator@7522 | 22 # Rules to configure and make the package. |
slaxemulator@7522 | 23 compile_rules() |
slaxemulator@7522 | 24 { |
slaxemulator@7522 | 25 cd $src |
slaxemulator@7522 | 26 sed -i -e "s:/usr/local:/usr:" Makefile |
slaxemulator@7522 | 27 make -C osdep |
slaxemulator@7522 | 28 make |
pascal@15584 | 29 make DESTDIR="$DESTDIR" install |
slaxemulator@7522 | 30 } |
slaxemulator@7522 | 31 |
slaxemulator@7522 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7522 | 33 genpkg_rules() |
slaxemulator@7522 | 34 { |
slaxemulator@7522 | 35 mkdir -p $fs/usr |
pascal@15584 | 36 cp -a $install/usr/sbin $fs/usr |
slaxemulator@7522 | 37 } |