SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "aircrack-ng"

# SliTaz package receipt.

PACKAGE="aircrack-ng"
VERSION="1.1"
CATEGORY="network"
SHORT_DESC="802.11 WEP and WPA-PSK keys cracking program."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL2"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="https://www.aircrack-ng.org/"
WGET_URL="https://download.aircrack-ng.org/$TARBALL"

DEPENDS="aircrack-ng-oui iw openssl sqlite zlib pylorcon"
BUILD_DEPENDS="sqlite-dev pylorcon openssl-dev"

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/*} 2>/dev/null | sed 's|.*: ||'
}

# Rules to configure and make the package.
compile_rules()
{
    sed -i s#/usr/local#/usr#g common.mak || return 1
    sed -i s#/man/man1#/share/man/man1# common.mak || return 1

    # fix build with gcc45
    sed -i s/-Werror// common.mak || return 1

    make -j 1 SQLITE=true unstable=true &&
    make -j 1 SQLITE=true unstable=true DESTDIR=$DESTDIR install
    sed -i 's|/usr/local||g' $DESTDIR/usr/sbin/airodump-ng-oui-update
}

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