summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-connectivity/hostapd/hostap-daemon_1.0.bb
diff options
context:
space:
mode:
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.bb44
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 000000000..0ae0b702a
--- /dev/null
+++ b/meta-oe/recipes-connectivity/hostapd/hostap-daemon_1.0.bb
@@ -0,0 +1,44 @@
1HOMEPAGE = "http://hostap.epitest.fi"
2SECTION = "kernel/userland"
3PRIORITY = "optional"
4LICENSE = "GPLv2 | BSD"
5LIC_FILES_CHKSUM = "file://README;md5=4d709ce0f9c84b87d148e16731f647e1"
6DEPENDS = "libnl openssl"
7DESCRIPTION = "User space daemon for extended IEEE 802.11 management"
8
9inherit update-rc.d
10INITSCRIPT_NAME = "hostapd"
11
12PR = "r0"
13
14DEFAULT_PREFERENCE = "-1"
15
16SRC_URI = " \
17 http://hostap.epitest.fi/releases/hostapd-${PV}.tar.gz \
18 file://defconfig \
19 file://init \
20"
21
22S = "${WORKDIR}/hostapd-${PV}/hostapd"
23
24
25do_configure() {
26 install -m 0644 ${WORKDIR}/defconfig ${S}/.config
27}
28
29do_compile() {
30 make
31}
32
33do_install() {
34 install -d ${D}${sbindir} ${D}${sysconfdir}/init.d
35 install -m 0644 ${S}/hostapd.conf ${D}${sysconfdir}
36 install -m 0755 ${S}/hostapd ${D}${sbindir}
37 install -m 0755 ${S}/hostapd_cli ${D}${sbindir}
38 install -m 755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/hostapd
39}
40
41CONFFILES_${PN} += "${sysconfdir}/hostapd.conf"
42
43SRC_URI[md5sum] = "236247a7bbd4f60d5fa3e99849d1ffc9"
44SRC_URI[sha256sum] = "002e9dcb7e46cf82b5900a2fcf92b30fc8cdfd32a72d7fd4488588f1c013dfcc"