wok view mdk3/receipt @ rev 25614

Add libslirp
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 03 11:59:41 2023 +0000 (15 months ago)
parents 870e1ce31226
children
line source
1 # SliTaz package receipt.
3 PACKAGE="mdk3"
4 VERSION="v6"
5 CATEGORY="security"
6 SHORT_DESC="WLAN penetration tool"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://www.kali.org/tools/mdk3/"
11 WGET_URL="https://salsa.debian.org/pkg-security-team/mdk3/-/archive/upstream/6.0/mdk3-upstream-6.0.tar.bz2"
13 DEPENDS=""
15 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - https://raw.githubusercontent.com/charlesxsh/mdk3-master/master/CHANGELOG 2>/dev/null | \
19 sed '/^version/!d;s|version |v|;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 cd $src
26 sed -i -e "s:/usr/local:/usr:" Makefile
27 make -C osdep
28 make
29 make DESTDIR="$DESTDIR" install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
36 cp -a $install/usr/sbin $fs/usr
37 }