aboutsummaryrefslogtreecommitdiff
path: root/recipes/rfakeap/rfakeap_0.2.bb
blob: 55948abaefdc47c920b31b32d7443f38a3af90ce (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 = "Raw Fake AP"
HOMEPAGE = "http://rfakeap.tuxfamily.org/"
LICENSE = "GPLv2"
DEPENDS = "libpcap"
PV="0.2"
PR ="r1"

SRC_URI = "http://rfakeap.tuxfamily.org/rfakeap-0.2.tar.gz"

#EXTRA_OEMAKE = "CFLAGS='${CFLAGS} -O3'"

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}/${sysconfdir}
        install -m 0755 ${WORKDIR}/${PN}-${PV}/rfakeap           ${D}/${sbindir}
#	install -m 0644 ap_manuf	  ${D}/${sysconfdir}
}

SRC_URI[md5sum] = "38f159681196b566f20bf837aff1e8f8"
SRC_URI[sha256sum] = "4e5f63d8488b0fbd1a709429feb797c8c679de48f47ef93ab4741f8506830667"