diff options
author | Richard Purdie <richard@openedhand.com> | 2006-07-21 10:10:31 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2006-07-21 10:10:31 +0000 |
commit | b2f192faabe412adce79534e22efe9fb69ee40e2 (patch) | |
tree | 7076c49d4286f8a1733650bd8fbc7161af200d57 /meta/packages/wpa-supplicant/wpa-supplicant_cvs.bb | |
parent | 2cf0eadf9f730027833af802d7e6c90b44248f80 (diff) | |
download | poky-b2f192faabe412adce79534e22efe9fb69ee40e2.tar.gz |
Rename /openembedded/ -> /meta/
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@530 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/wpa-supplicant/wpa-supplicant_cvs.bb')
-rw-r--r-- | meta/packages/wpa-supplicant/wpa-supplicant_cvs.bb | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/meta/packages/wpa-supplicant/wpa-supplicant_cvs.bb b/meta/packages/wpa-supplicant/wpa-supplicant_cvs.bb new file mode 100644 index 0000000000..fd93eb8e54 --- /dev/null +++ b/meta/packages/wpa-supplicant/wpa-supplicant_cvs.bb | |||
@@ -0,0 +1,59 @@ | |||
1 | DESCRIPTION = "Client for Wi-Fi Protected Access (WPA)." | ||
2 | SECTION = "network" | ||
3 | LICENSE = "GPL" | ||
4 | MAINTAINER = "Holger Schurig" | ||
5 | HOMEPAGE = "http://hostap.epitest.fi/wpa_supplicant/" | ||
6 | DEPENDS = "openssl" | ||
7 | PV = "0.0+cvs${SRCDATE}" | ||
8 | PR = "r2" | ||
9 | |||
10 | SRC_URI = "cvs://anonymous@hostap.epitest.fi/cvs;module=hostap \ | ||
11 | file://use-channel.patch;patch=1 \ | ||
12 | file://driver-hermes.patch;patch=1 \ | ||
13 | file://defconfig \ | ||
14 | file://defaults \ | ||
15 | file://init.sh \ | ||
16 | file://wpa_supplicant.conf" | ||
17 | S = "${WORKDIR}/hostap/wpa_supplicant" | ||
18 | |||
19 | |||
20 | PACKAGES_prepend = "wpa-supplicant-passphrase wpa-supplicant-cli " | ||
21 | FILES_wpa-supplicant-passphrase = "/usr/sbin/wpa_passphrase" | ||
22 | FILES_wpa-supplicant-cli = "/usr/sbin/wpa_cli" | ||
23 | |||
24 | RRECOMMENDS_${PN} = "wpa-supplicant-passphrase wpa-supplicant-cli" | ||
25 | |||
26 | |||
27 | INITSCRIPT_NAME = "wpa" | ||
28 | INITSCRIPT_PARAMS = "defaults 10" | ||
29 | inherit update-rc.d | ||
30 | |||
31 | |||
32 | do_configure () { | ||
33 | install -m 0755 ${WORKDIR}/defconfig .config | ||
34 | } | ||
35 | |||
36 | |||
37 | do_compile () { | ||
38 | make | ||
39 | } | ||
40 | |||
41 | |||
42 | do_install () { | ||
43 | set -x | ||
44 | install -d ${D}${sbindir} | ||
45 | install -m755 wpa_supplicant ${D}${sbindir} | ||
46 | install -m755 wpa_passphrase ${D}${sbindir} | ||
47 | install -m755 wpa_cli ${D}${sbindir} | ||
48 | |||
49 | install -d ${D}${localstatedir}/run/wpa_supplicant | ||
50 | |||
51 | install -d ${D}${docdir}/wpa_supplicant | ||
52 | install -m644 README ${WORKDIR}/wpa_supplicant.conf ${D}${docdir}/wpa_supplicant | ||
53 | |||
54 | install -d ${D}${sysconfdir}/init.d | ||
55 | install -m700 ${WORKDIR}/init.sh ${D}${sysconfdir}/init.d/wpa | ||
56 | |||
57 | install -d ${D}${sysconfdir}/default | ||
58 | install -m600 ${WORKDIR}/defaults ${D}${sysconfdir}/default/wpa | ||
59 | } | ||