summaryrefslogtreecommitdiff
path: root/nonworking/hostap/hostap-wpa-supplicant_0.2.5.oe
blob: efe779d0262fa86fb324f8a88bfe68f71e326930 (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
DESCRIPTION = "User space helper for WPA and WPA2 client operations. \
The Supplicant is used in WPA/WPA2 key handshakes to authenticate \
with the AP and to generate dynamic encryption keys (TKIP or CCMP)."
SECTION = "base"
PRIORITY = "optional"
MAINTAINER = "Michael Lauer <mickey@Vanille.de>"
LICENSE = "GPL"
DEPENDS = "openssl"
RDEPENDS = "hostap-modules (${PV}) hostap-utils (${PV}) hostap-daemon (${PV})"

SRC_URI = "http://hostap.epitest.fi/releases/wpa_supplicant-${PV}.tar.gz \
	   file://wpa-defconfig"
S = "${WORKDIR}/wpa_supplicant-${PV}"

EXTRA_OEMAKE="LIBS='-L${STAGING_LIBDIR} -lssl -lcrypto' LIBS_p='-L${STAGING_LIBDIR} -lssl -lcrypto'"

do_configure() {
	install -m 0644 ${WORKDIR}/wpa-defconfig .config
}

do_install() {
	install -d ${D}/${sysconfdir} ${D}/${bindir}
	install -m 0644 wpa_supplicant.conf ${D}/${sysconfdir}/
	install -m 0755 wpa_passphrase ${D}/${bindir}
	install -m 0755 wpa_cli        ${D}/${bindir}
	install -m 0755 wpa_supplicant ${D}/${bindir}
}