diff options
author | Jesse Gilles <jgilles@multitech.com> | 2013-02-06 16:28:02 -0600 |
---|---|---|
committer | Jesse Gilles <jgilles@multitech.com> | 2013-02-06 16:28:02 -0600 |
commit | b33041c401b7a9445a0ebfad06165b819f12ca36 (patch) | |
tree | 12d3783331a718e1a3b84b2ee45edbaa4745f44c /multitech/recipes/hostap/hostap-daemon-1.0.inc | |
parent | 2c90905f0a6ee951c92353d792142cc7d0716ed0 (diff) | |
parent | 37a410282653ad5c567d23861ebe6afcf7675c5c (diff) |
Merge commit '37a410282653ad5c567d23861ebe6afcf7675c5c'
Diffstat (limited to 'multitech/recipes/hostap/hostap-daemon-1.0.inc')
-rw-r--r-- | multitech/recipes/hostap/hostap-daemon-1.0.inc | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/multitech/recipes/hostap/hostap-daemon-1.0.inc b/multitech/recipes/hostap/hostap-daemon-1.0.inc new file mode 100644 index 0000000..b0b6a44 --- /dev/null +++ b/multitech/recipes/hostap/hostap-daemon-1.0.inc @@ -0,0 +1,26 @@ +HOMEPAGE = "http://hostap.epitest.fi" +SECTION = "kernel/userland" +PRIORITY = "optional" +LICENSE = "GPL" +DEPENDS = "libnl openssl" + +inherit update-rc.d +INITSCRIPT_NAME=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 ${WORKDIR}/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" |