wok annotate mdk3/receipt @ rev 25005
updated ntl (11.4.3 -> 11.5.1)
author | Hans-G?nter Theisgen |
---|---|
date | Mon May 16 16:29:07 2022 +0100 (2022-05-16) |
parents | 870e1ce31226 |
children |
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/" |
pascal@24990 | 11 WGET_URL="https://salsa.debian.org/pkg-security-team/mdk3/-/archive/upstream/6.0/mdk3-upstream-6.0.tar.bz2" |
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 } |