diff options
author | Richard Purdie <richard@openedhand.com> | 2006-05-09 19:35:13 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2006-05-09 19:35:13 +0000 |
commit | 30285dd379000284555a38c80b7d4dad472fe515 (patch) | |
tree | 8755c94e0a945ddaf1c1f05d6a7158b67c8a298c /openembedded/packages/wpa-supplicant/wpa-supplicant_0.5.1.bb | |
parent | 103c8510e0cdc03760885db52ffd2a6908a6f401 (diff) | |
download | openembedded-core-30285dd379000284555a38c80b7d4dad472fe515.tar.gz openembedded-core-30285dd379000284555a38c80b7d4dad472fe515.tar.bz2 openembedded-core-30285dd379000284555a38c80b7d4dad472fe515.zip |
More packages merging with OE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@390 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded/packages/wpa-supplicant/wpa-supplicant_0.5.1.bb')
-rw-r--r-- | openembedded/packages/wpa-supplicant/wpa-supplicant_0.5.1.bb | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/openembedded/packages/wpa-supplicant/wpa-supplicant_0.5.1.bb b/openembedded/packages/wpa-supplicant/wpa-supplicant_0.5.1.bb new file mode 100644 index 0000000000..236992f8f0 --- /dev/null +++ b/openembedded/packages/wpa-supplicant/wpa-supplicant_0.5.1.bb @@ -0,0 +1,58 @@ +DESCRIPTION = "A Client for Wi-Fi Protected Access (WPA)." +SECTION = "network" +LICENSE = "GPL" +MAINTAINER = "Holger Schurig" +MAINTAINER = "Eric Shattow <lucent@gmail.com>" +HOMEPAGE = "http://hostap.epitest.fi/wpa_supplicant/" +DEPENDS = "gnutls madwifi-ng" + +PR = "r4" +DEFAULT_PREFERENCE = "-1" + +SRC_URI = "http://hostap.epitest.fi/releases/wpa_supplicant-${PV}.tar.gz \ + file://defconfig-gnutls \ + file://init.sh \ + file://defaults-sane \ + file://wpa_supplicant.conf \ + file://wpa_supplicant.conf-sane" + +S = "${WORKDIR}/wpa_supplicant-${PV}" + +PACKAGES_prepend = "wpa-supplicant-passphrase wpa-supplicant-cli " +FILES_wpa-supplicant-passphrase = "/usr/sbin/wpa_passphrase" +FILES_wpa-supplicant-cli = "/usr/sbin/wpa_cli" + +RRECOMMENDS_${PN} = "wpa-supplicant-passphrase wpa-supplicant-cli" + +INITSCRIPT_NAME = "wpa" +INITSCRIPT_PARAMS = "defaults 10" +inherit update-rc.d + +do_configure () { + install -m 0755 ${WORKDIR}/defconfig-gnutls .config + echo "CONFIG_DRIVER_MADWIFI=y" >> .config + echo "CFLAGS += -I${STAGING_INCDIR}/madwifi-ng" >> .config +} + +do_compile () { + make +} + +do_install () { + install -d ${D}${sbindir} + install -m755 wpa_supplicant ${D}${sbindir} + install -m755 wpa_passphrase ${D}${sbindir} + install -m755 wpa_cli ${D}${sbindir} + + install -d ${D}${localstatedir}/run/wpa_supplicant + + install -d ${D}${docdir}/wpa_supplicant + install -m644 README ${WORKDIR}/wpa_supplicant.conf ${D}${docdir}/wpa_supplicant + + install -d ${D}${sysconfdir}/init.d + install -m700 ${WORKDIR}/init.sh ${D}${sysconfdir}/init.d/wpa + + install -d ${D}${sysconfdir}/default + install -m600 ${WORKDIR}/defaults-sane ${D}${sysconfdir}/default/wpa + install -m600 ${WORKDIR}/wpa_supplicant.conf-sane ${D}${sysconfdir}/wpa_supplicant.conf +} |