summaryrefslogtreecommitdiff
path: root/packages/aircrack/aircrack-ng_0.7.bb
blob: bf5bd27d9d9481a9753f98b6579ca1f165732667 (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
SECTION = "console/network"
DESCRIPTION = "Aircrack-ng is a set of tools for wep key statistical cracking"
HOMEPAGE = "http://www.aircrack-ng.org/"
LICENSE = "GPLv2"
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}
}