diff options
Diffstat (limited to 'meta/packages/wpa-supplicant/wpa-supplicant_0.2.6.inc')
| -rw-r--r-- | meta/packages/wpa-supplicant/wpa-supplicant_0.2.6.inc | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/meta/packages/wpa-supplicant/wpa-supplicant_0.2.6.inc b/meta/packages/wpa-supplicant/wpa-supplicant_0.2.6.inc new file mode 100644 index 0000000000..c2b51021f9 --- /dev/null +++ b/meta/packages/wpa-supplicant/wpa-supplicant_0.2.6.inc | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | SECTION = "kernel/userland" | ||
| 2 | HOMEPAGE = "http://hostap.epitest.fi/wpa_supplicant/" | ||
| 3 | PRIORITY = "optional" | ||
| 4 | MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>" | ||
| 5 | LICENSE = "GPL" | ||
| 6 | |||
| 7 | SRC_URI = "http://hostap.epitest.fi/releases/wpa_supplicant-${PV}.tar.gz \ | ||
| 8 | file://wpa-defconfig \ | ||
| 9 | file://wpa_supplicant_default.conf" | ||
| 10 | |||
| 11 | RREPLACES_${PN} = "hostap-${PN}" | ||
| 12 | RPROVIDES_${PN} = "hostap-${PN}" | ||
| 13 | RCONFLICTS_${PN} = "hostap-${PN}" | ||
| 14 | |||
| 15 | S = "${WORKDIR}/wpa_supplicant-${PV}" | ||
| 16 | |||
| 17 | do_compile() { | ||
| 18 | unset CFLAGS | ||
| 19 | base_do_compile | ||
| 20 | } | ||
| 21 | |||
| 22 | do_configure() { | ||
| 23 | install -m 0644 ${WORKDIR}/wpa-defconfig .config | ||
| 24 | } | ||
| 25 | |||
| 26 | do_install() { | ||
| 27 | install -d ${D}${sysconfdir} ${D}${bindir} | ||
| 28 | install -m 0644 wpa_supplicant.conf ${D}${sysconfdir}/wpa_supplicant.conf.sample | ||
| 29 | install -m 0644 ../wpa_supplicant_default.conf ${D}${sysconfdir}/wpa_supplicant.conf | ||
| 30 | install -m 0755 wpa_passphrase ${D}${bindir} | ||
| 31 | install -m 0755 wpa_cli ${D}${bindir} | ||
| 32 | install -m 0755 wpa_supplicant ${D}${bindir} | ||
| 33 | } | ||
| 34 | |||
