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