SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "mdk3"

# SliTaz package receipt.

PACKAGE="mdk3"
VERSION="v6"
CATEGORY="security"
SHORT_DESC="WLAN penetration tool"
MAINTAINER="slaxemulator@gmail.com"
LICENSE="GPL2"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="https://www.kali.org/tools/mdk3/"
WGET_URL="https://salsa.debian.org/pkg-security-team/mdk3/-/archive/upstream/6.0/mdk3-upstream-6.0.tar.bz2"

DEPENDS=""

# What is the latest version available today?
current_version()
{
    wget -O - https://raw.githubusercontent.com/charlesxsh/mdk3-master/master/CHANGELOG 2>/dev/null | \
    sed '/^version/!d;s|version |v|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    sed -i -e "s:/usr/local:/usr:" Makefile
    make -C osdep
    make
    make DESTDIR="$DESTDIR" install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr
    cp -a $install/usr/sbin $fs/usr
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)