summaryrefslogtreecommitdiff
path: root/packages/aircrack/aircrack-ng_0.7.bb
blob: 3093c399558bbcb7b566fe53672980781eba9be7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
SECTION = "console/network"
DESCRIPTION = "Aircrack-ng is a set of tools for wep key statistical cracking"
HOMEPAGE = "http://www.aircrack-ng.org/"
LICENSE = "GPLv2"
MAINTAINER = "Zero_Chaos <sidhayn@gmail.com>"
DEPENDS = ""
RDEPENDS = ""
PR="r2"

SRC_URI = "http://download.aircrack-ng.org/aircrack-ng-${PV}.tar.gz"

oe_compile() {
        oe_runmake CC="${CC}" CXX="${CXX}" CFLAGS="-O3 ${CFLAGS}" CXXFLAGS="${CXXFLAGS}" LD="${LD}" LDFLAGS="${LDFLAGS}"
}

do_install() {
        install -d ${D}/${sbindir}
	install -d ${D}/${bindir}
        install -m 0755 airodump-ng       ${D}/${sbindir}
        install -m 0755 aircrack-ng       ${D}/${bindir}
        install -m 0755 aireplay-ng       ${D}/${sbindir}
        install -m 0755 airdecap-ng       ${D}/${bindir}
        install -m 0755 packetforge-ng    ${D}/${bindir}
        install -m 0755 airmon-ng         ${D}/${sbindir}
        install -m 0755 ivstools          ${D}/${bindir}
	install -m 0755 kstats		  ${D}/${bindir}
	install -m 0755 airtun-ng	  ${D}/${bindir}
}