aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/hostap/hostap-daemon-0.7.inc
diff options
context:
space:
mode:
authorEyal Reizer <eyalreizer@googlemail.com>2011-04-21 16:53:31 +0000
committerSteffen Sledz <sledz@dresearch-fe.de>2011-04-29 14:08:38 +0200
commitb3228d1dab7d0cdd080f0d1db497152d1ee9b5ad (patch)
treee6333880a4acfe422281b9bc35223faf92a30779 /recipes/hostap/hostap-daemon-0.7.inc
parent7582bb960ca2de3542a133686923a43e3e4c6084 (diff)
downloadopenembedded-b3228d1dab7d0cdd080f0d1db497152d1ee9b5ad.tar.gz
hostap-daemon: build from git sources
* Builds a new version 0.8.x which is not released yet as a zip file. This version has new features like WIFI-direct used in new mac80211 versions * As the recipe is very similar to the 0.7.3 version, I have created a common include file shared between the 0.7.3 version and the git version * Updated the 0.7.3 recipe to use this include file and bumped the PR * Add PV * Update defconfig Signed-off-by: Eyal Reizer <eyalr@ti.com> Acked-by: Koen Kooi <k-kooi@ti.com> Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'recipes/hostap/hostap-daemon-0.7.inc')
-rw-r--r--recipes/hostap/hostap-daemon-0.7.inc26
1 files changed, 26 insertions, 0 deletions
diff --git a/recipes/hostap/hostap-daemon-0.7.inc b/recipes/hostap/hostap-daemon-0.7.inc
new file mode 100644
index 0000000000..49f265082c
--- /dev/null
+++ b/recipes/hostap/hostap-daemon-0.7.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 ${S}/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"