wok-current annotate mdk3/receipt @ rev 14867
Up: perl-glib (1.301)
author | Claudinei Pereira <claudinei@slitaz.org> |
---|---|
date | Mon Jul 22 19:46:29 2013 -0300 (2013-07-22) |
parents | |
children | 3765f181a6d5 |
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" |
slaxemulator@7522 | 8 DEPENDS="" |
slaxemulator@7522 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
slaxemulator@7522 | 10 WEB_SITE="http://homepages.tu-darmstadt.de/~p_larbig/wlan/" |
slaxemulator@7522 | 11 WGET_URL="http://homepages.tu-darmstadt.de/~p_larbig/wlan/$TARBALL" |
slaxemulator@7522 | 12 |
slaxemulator@7522 | 13 # Rules to configure and make the package. |
slaxemulator@7522 | 14 compile_rules() |
slaxemulator@7522 | 15 { |
slaxemulator@7522 | 16 cd $src |
slaxemulator@7522 | 17 sed -i -e "s:/usr/local:/usr:" Makefile |
slaxemulator@7522 | 18 make -C osdep |
slaxemulator@7522 | 19 make |
slaxemulator@7522 | 20 make DESTDIR="$PWD/_pkg" install |
slaxemulator@7522 | 21 } |
slaxemulator@7522 | 22 |
slaxemulator@7522 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7522 | 24 genpkg_rules() |
slaxemulator@7522 | 25 { |
slaxemulator@7522 | 26 mkdir -p $fs/usr |
slaxemulator@7522 | 27 cp -a $_pkg/usr/sbin $fs/usr |
slaxemulator@7522 | 28 } |
slaxemulator@7522 | 29 |