summaryrefslogtreecommitdiff
path: root/packages/wpa-supplicant/wpa-supplicant_0.2.6.inc
blob: c2b51021f9d121c5f86a698c7a7d115ef8bfdb60 (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
32
33
34
SECTION = "kernel/userland"
HOMEPAGE = "http://hostap.epitest.fi/wpa_supplicant/"
PRIORITY = "optional"
MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
LICENSE = "GPL"

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

RREPLACES_${PN} = "hostap-${PN}"
RPROVIDES_${PN} = "hostap-${PN}"
RCONFLICTS_${PN} = "hostap-${PN}"

S = "${WORKDIR}/wpa_supplicant-${PV}"

do_compile() {
	unset CFLAGS
	base_do_compile
}

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}/wpa_supplicant.conf.sample
	install -m 0644 ../wpa_supplicant_default.conf ${D}${sysconfdir}/wpa_supplicant.conf
	install -m 0755 wpa_passphrase ${D}${bindir}
	install -m 0755 wpa_cli        ${D}${bindir}
	install -m 0755 wpa_supplicant ${D}${bindir}
}