wok-6.x annotate mdk3/receipt @ rev 22599
Up snapper (0.8.6)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jan 07 19:13:38 2020 +0100 (2020-01-07) |
parents | 3765f181a6d5 |
children | 544e47246b33 |
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@20674 | 10 WEB_SITE="http://aspj.aircrack-ng.org/index.html#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 |
slaxemulator@7522 | 15 # Rules to configure and make the package. |
slaxemulator@7522 | 16 compile_rules() |
slaxemulator@7522 | 17 { |
slaxemulator@7522 | 18 cd $src |
slaxemulator@7522 | 19 sed -i -e "s:/usr/local:/usr:" Makefile |
slaxemulator@7522 | 20 make -C osdep |
slaxemulator@7522 | 21 make |
pascal@15584 | 22 make DESTDIR="$DESTDIR" install |
slaxemulator@7522 | 23 } |
slaxemulator@7522 | 24 |
slaxemulator@7522 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7522 | 26 genpkg_rules() |
slaxemulator@7522 | 27 { |
slaxemulator@7522 | 28 mkdir -p $fs/usr |
pascal@15584 | 29 cp -a $install/usr/sbin $fs/usr |
slaxemulator@7522 | 30 } |