matrix-gui-e: bump PR for init file fixes
[openembedded.git] / recipes / hostap / hostap-daemon.inc
blobfe7456027c47c61d7cda0220f78890ad53eb3d0b
1 DESCRIPTION = "User space daemon for extended IEEE 802.11 management"
2 HOMEPAGE = "http://hostap.epitest.fi"
3 SECTION = "kernel/userland"
4 PRIORITY = "optional"
5 LICENSE = "GPL"
6 RDEPENDS_${PN} = "hostap-utils (${PV})"
7 DEPENDS = "openssl"
8 DEPENDS_append_mtx-1 = " madwifi-modules"
9 DEPENDS_append_mtx-2 = " madwifi-modules"
10 CPPFLAGS_append_mtx-1 = " -I${STAGING_INCDIR}/madwifi/"
11 CPPFLAGS_append_mtx-2 = " -I${STAGING_INCDIR}/madwifi/"
13 SRC_URI = "http://hostap.epitest.fi/releases/hostapd-${PV}.tar.gz \
14         file://makefile-cross.diff;striplevel=0 \
15         file://madwifi-bsd-fix.diff;striplevel=0 \
16         file://defconfig \
17         file://init"
19 S = "${WORKDIR}/hostapd-${PV}"
21 do_configure() {
22        install -m 0644 ${WORKDIR}/defconfig ${S}/.config
25 do_compile() {
26         CFLAGS='${CFLAGS}' CC='${CC}' make
29 do_install() {
30         install -d ${D}${sbindir} ${D}${sysconfdir}/init.d
31         make TARGET_PREFIX=${D}${sbindir} install
32         install -m 0644 hostapd.conf ${D}${sysconfdir}
33         install -m 755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/hostapd