diff options
author | Marcin Juszkiewicz <hrw@openembedded.org> | 2006-03-20 19:18:11 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-03-20 19:18:11 +0000 |
commit | ea8b801288d870fea3c5137e8bda9e4bb9942329 (patch) | |
tree | a03ffafa28392978fddc3ea03849130c11dbdfae /packages/hostap/hostap-daemon.inc | |
parent | 234c92fa56963ab907b9667d2cc28b6e0ade6791 (diff) |
hostap-daemon: create common .inc file to simplify managment
Diffstat (limited to 'packages/hostap/hostap-daemon.inc')
-rw-r--r-- | packages/hostap/hostap-daemon.inc | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/packages/hostap/hostap-daemon.inc b/packages/hostap/hostap-daemon.inc new file mode 100644 index 0000000000..231978df83 --- /dev/null +++ b/packages/hostap/hostap-daemon.inc @@ -0,0 +1,32 @@ +DESCRIPTION = "User space daemon for extended IEEE 802.11 management" +HOMEPAGE = "http://hostap.epitest.fi" +SECTION = "kernel/userland" +PRIORITY = "optional" +MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>" +LICENSE = "GPL" +RDEPENDS = "virtual/kernel-hostap hostap-utils (${PV})" +DEPENDS_mtx-1_append = "madwifi-modules" + +SRC_URI = "http://hostap.epitest.fi/releases/hostapd-${PV}.tar.gz \ + file://makefile-cross.diff;patch=1;pnum=0 \ + file://madwifi-bsd-fix.diff;patch=1;pnum=0 \ + file://defconfig \ + file://init" + +S = "${WORKDIR}/hostapd-${PV}" + +do_configure() { + install -m 0644 ${WORKDIR}/defconfig ${S}/.config +} + +do_compile() { + CFLAGS='${CFLAGS}' CC='${CC}' make +} + +do_install() { + install -d ${D}${sbindir} ${D}${sysconfdir}/init.d + make TARGET_PREFIX=${D}${sbindir} install + install -m 0644 hostapd.conf ${D}${sysconfdir} + install -m 755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/hostapd +} + |