diff options
Diffstat (limited to 'meta/packages/wpa-supplicant/wpa-supplicant_0.5.1.bb')
-rw-r--r-- | meta/packages/wpa-supplicant/wpa-supplicant_0.5.1.bb | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/meta/packages/wpa-supplicant/wpa-supplicant_0.5.1.bb b/meta/packages/wpa-supplicant/wpa-supplicant_0.5.1.bb deleted file mode 100644 index 704efcac20..0000000000 --- a/meta/packages/wpa-supplicant/wpa-supplicant_0.5.1.bb +++ /dev/null | |||
@@ -1,56 +0,0 @@ | |||
1 | DESCRIPTION = "A Client for Wi-Fi Protected Access (WPA)." | ||
2 | SECTION = "network" | ||
3 | LICENSE = "GPL" | ||
4 | HOMEPAGE = "http://hostap.epitest.fi/wpa_supplicant/" | ||
5 | DEPENDS = "gnutls madwifi-ng" | ||
6 | |||
7 | PR = "r4" | ||
8 | DEFAULT_PREFERENCE = "-1" | ||
9 | |||
10 | SRC_URI = "http://hostap.epitest.fi/releases/wpa_supplicant-${PV}.tar.gz \ | ||
11 | file://defconfig-gnutls \ | ||
12 | file://init.sh \ | ||
13 | file://defaults-sane \ | ||
14 | file://wpa_supplicant.conf \ | ||
15 | file://wpa_supplicant.conf-sane" | ||
16 | |||
17 | S = "${WORKDIR}/wpa_supplicant-${PV}" | ||
18 | |||
19 | PACKAGES_prepend = "wpa-supplicant-passphrase wpa-supplicant-cli " | ||
20 | FILES_wpa-supplicant-passphrase = "/usr/sbin/wpa_passphrase" | ||
21 | FILES_wpa-supplicant-cli = "/usr/sbin/wpa_cli" | ||
22 | |||
23 | RRECOMMENDS_${PN} = "wpa-supplicant-passphrase wpa-supplicant-cli" | ||
24 | |||
25 | INITSCRIPT_NAME = "wpa" | ||
26 | INITSCRIPT_PARAMS = "defaults 10" | ||
27 | inherit update-rc.d | ||
28 | |||
29 | do_configure () { | ||
30 | install -m 0755 ${WORKDIR}/defconfig-gnutls .config | ||
31 | echo "CONFIG_DRIVER_MADWIFI=y" >> .config | ||
32 | echo "CFLAGS += -I${STAGING_INCDIR}/madwifi-ng" >> .config | ||
33 | } | ||
34 | |||
35 | do_compile () { | ||
36 | make | ||
37 | } | ||
38 | |||
39 | do_install () { | ||
40 | install -d ${D}${sbindir} | ||
41 | install -m755 wpa_supplicant ${D}${sbindir} | ||
42 | install -m755 wpa_passphrase ${D}${sbindir} | ||
43 | install -m755 wpa_cli ${D}${sbindir} | ||
44 | |||
45 | install -d ${D}${localstatedir}/run/wpa_supplicant | ||
46 | |||
47 | install -d ${D}${docdir}/wpa_supplicant | ||
48 | install -m644 README ${WORKDIR}/wpa_supplicant.conf ${D}${docdir}/wpa_supplicant | ||
49 | |||
50 | install -d ${D}${sysconfdir}/init.d | ||
51 | install -m700 ${WORKDIR}/init.sh ${D}${sysconfdir}/init.d/wpa | ||
52 | |||
53 | install -d ${D}${sysconfdir}/default | ||
54 | install -m600 ${WORKDIR}/defaults-sane ${D}${sysconfdir}/default/wpa | ||
55 | install -m600 ${WORKDIR}/wpa_supplicant.conf-sane ${D}${sysconfdir}/wpa_supplicant.conf | ||
56 | } | ||