wok view aircrack-ng/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (23 months ago)
parents 9af0e03b8ad0
children
line source
1 # SliTaz package receipt.
3 PACKAGE="aircrack-ng"
4 VERSION="1.1"
5 CATEGORY="network"
6 SHORT_DESC="802.11 WEP and WPA-PSK keys cracking program."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://www.aircrack-ng.org/"
11 WGET_URL="https://download.aircrack-ng.org/$TARBALL"
13 DEPENDS="aircrack-ng-oui iw openssl sqlite zlib pylorcon"
14 BUILD_DEPENDS="sqlite-dev pylorcon openssl-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/*} 2>/dev/null | sed 's|.*: ||'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 sed -i s#/usr/local#/usr#g common.mak || return 1
26 sed -i s#/man/man1#/share/man/man1# common.mak || return 1
28 # fix build with gcc45
29 sed -i s/-Werror// common.mak || return 1
31 make -j 1 SQLITE=true unstable=true &&
32 make -j 1 SQLITE=true unstable=true DESTDIR=$DESTDIR install
33 sed -i 's|/usr/local||g' $DESTDIR/usr/sbin/airodump-ng-oui-update
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/sbin $fs/usr
42 }