wok-next diff mdk3/receipt @ rev 21441

rogue: reverted to 5.4.4
author Hans-G?nter Theisgen
date Tue May 05 16:11:30 2020 +0100 (2020-05-05)
parents 8e1b2a143eb3
children
line diff
     1.1 --- a/mdk3/receipt	Sat Sep 01 16:21:51 2018 +0300
     1.2 +++ b/mdk3/receipt	Tue May 05 16:11:30 2020 +0100
     1.3 @@ -1,30 +1,24 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="mdk3"
     1.8  VERSION="v6"
     1.9  CATEGORY="security"
    1.10  SHORT_DESC="WLAN penetration tool"
    1.11 -MAINTAINER="slaxemulator@gmail.com"
    1.12 +MAINTAINER="devel@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="http://aspj.aircrack-ng.org/index.html#mdk3"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.17 -WEB_SITE="http://aspj.aircrack-ng.org/index.html#mdk3"
    1.18  WGET_URL="http://homepages.tu-darmstadt.de/~p_larbig/wlan/$TARBALL"
    1.19  
    1.20 -DEPENDS=""
    1.21 +compile_rules() {
    1.22 +	sed -i "s|/usr/local|/usr|" Makefile
    1.23  
    1.24 -# Rules to configure and make the package.
    1.25 -compile_rules()
    1.26 -{
    1.27 -	cd $src
    1.28 -	sed -i -e "s:/usr/local:/usr:" Makefile
    1.29 -	make -C osdep
    1.30 -	make
    1.31 -	make DESTDIR="$DESTDIR" install
    1.32 +	make -C osdep &&
    1.33 +	make &&
    1.34 +	make DESTDIR=$install install
    1.35  }
    1.36  
    1.37 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.38 -genpkg_rules()
    1.39 -{
    1.40 -	mkdir -p $fs/usr
    1.41 -	cp -a $install/usr/sbin $fs/usr
    1.42 +genpkg_rules() {
    1.43 +	copy @std
    1.44  }