diff options
author | Denis Carikli <GNUtoo@no-log.org> | 2012-07-18 22:00:17 +0000 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2012-07-19 11:09:47 +0200 |
commit | 7839b41773962011696ed02924136b00447cb382 (patch) | |
tree | 25c247e6c7b5220fee4dd2a77d438fc7a3749c46 /meta-oe/recipes-connectivity/hostapd/hostap-daemon_1.0.bb | |
parent | e8402b1583c0c1e1c85aacf54349b58e32142c7c (diff) | |
download | meta-openembedded-7839b41773962011696ed02924136b00447cb382.tar.gz |
Add hostapd 1.0 recipe
This recipe was based on the hostap-daemon_0.7.3.bb recipe in openembedded-classic
at commit c1f52c58deee65c7498a3b3e82b4cc3ae5231b0e
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-oe/recipes-connectivity/hostapd/hostap-daemon_1.0.bb')
-rw-r--r-- | meta-oe/recipes-connectivity/hostapd/hostap-daemon_1.0.bb | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/meta-oe/recipes-connectivity/hostapd/hostap-daemon_1.0.bb b/meta-oe/recipes-connectivity/hostapd/hostap-daemon_1.0.bb new file mode 100644 index 0000000000..0ae0b702a6 --- /dev/null +++ b/meta-oe/recipes-connectivity/hostapd/hostap-daemon_1.0.bb @@ -0,0 +1,44 @@ +HOMEPAGE = "http://hostap.epitest.fi" +SECTION = "kernel/userland" +PRIORITY = "optional" +LICENSE = "GPLv2 | BSD" +LIC_FILES_CHKSUM = "file://README;md5=4d709ce0f9c84b87d148e16731f647e1" +DEPENDS = "libnl openssl" +DESCRIPTION = "User space daemon for extended IEEE 802.11 management" + +inherit update-rc.d +INITSCRIPT_NAME = "hostapd" + +PR = "r0" + +DEFAULT_PREFERENCE = "-1" + +SRC_URI = " \ + http://hostap.epitest.fi/releases/hostapd-${PV}.tar.gz \ + file://defconfig \ + file://init \ +" + +S = "${WORKDIR}/hostapd-${PV}/hostapd" + + +do_configure() { + install -m 0644 ${WORKDIR}/defconfig ${S}/.config +} + +do_compile() { + make +} + +do_install() { + install -d ${D}${sbindir} ${D}${sysconfdir}/init.d + install -m 0644 ${S}/hostapd.conf ${D}${sysconfdir} + install -m 0755 ${S}/hostapd ${D}${sbindir} + install -m 0755 ${S}/hostapd_cli ${D}${sbindir} + install -m 755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/hostapd +} + +CONFFILES_${PN} += "${sysconfdir}/hostapd.conf" + +SRC_URI[md5sum] = "236247a7bbd4f60d5fa3e99849d1ffc9" +SRC_URI[sha256sum] = "002e9dcb7e46cf82b5900a2fcf92b30fc8cdfd32a72d7fd4488588f1c013dfcc" |