aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/void11/void11_0.2.0.bb
blob: 3ae12a9d0b3e579bee65f79909e9e3962f9161e8 (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
29
30
31
DESCRIPTION = "void11"
HOMEPAGE = "http://www.wlsec.net/void11"
SECTION = "console/network"
LICENSE = "GPL"
FILES_${PN} += "${libdir}/libvoid11.so"

SRC_URI = "http://www.wirelessdefence.org/Contents/Files/void11-0.2.0.tar.bz2;name=archive \
           http://hostap.epitest.fi/releases/hostapd-0.1.3.tar.gz;name=hostapd \
           file://oezc.patch"

S = "${WORKDIR}/void11-0.2.0"

inherit autotools

do_compile () {
    oe_runmake USECONSOLE=1 HOSTAPD_PATH=${WORKDIR}/hostapd-0.1.3
}

do_install () {
    install -d ${D}/${sbindir}
    install -d ${D}/${libdir}
    install -m 0755 lib/libvoid11.so  ${D}/${libdir}
    install -m 0755 console/void11_hopper ${D}/${sbindir}
    install -m 0755 smallsleep/smallsleep ${D}/${sbindir}
    install -m 0755 console/void11_penetration ${D}/${sbindir}
}

SRC_URI[archive.md5sum] = "1c5b3e3e70916de74c2932c7f3e46d9e"
SRC_URI[archive.sha256sum] = "08d588ce0731d0c0e55a1cac35acf019e1b735d0f75f16962adfeb4fefd69441"
SRC_URI[hostapd.md5sum] = "54563fb51f143c4bf26ddec2516e8f9f"
SRC_URI[hostapd.sha256sum] = "d14b56996ba9aa9cb6c78c889831113cc55a400bd1d237cec6eec7549a358c97"