wok-4.x annotate mdk3/receipt @ rev 12468
Add missing patch for glibc
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Wed Nov 09 16:34:52 2022 +0000 (2022-11-09) |
parents | |
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" |
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 |