summaryrefslogtreecommitdiff
path: root/packages/hostap/hostap-daemon_0.3.7.bb
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2006-03-20 19:18:11 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-03-20 19:18:11 +0000
commitea8b801288d870fea3c5137e8bda9e4bb9942329 (patch)
treea03ffafa28392978fddc3ea03849130c11dbdfae /packages/hostap/hostap-daemon_0.3.7.bb
parent234c92fa56963ab907b9667d2cc28b6e0ade6791 (diff)
hostap-daemon: create common .inc file to simplify managment
Diffstat (limited to 'packages/hostap/hostap-daemon_0.3.7.bb')
-rw-r--r--packages/hostap/hostap-daemon_0.3.7.bb33
1 files changed, 2 insertions, 31 deletions
diff --git a/packages/hostap/hostap-daemon_0.3.7.bb b/packages/hostap/hostap-daemon_0.3.7.bb
index 78fef559ed..7eb822c0d4 100644
--- a/packages/hostap/hostap-daemon_0.3.7.bb
+++ b/packages/hostap/hostap-daemon_0.3.7.bb
@@ -1,32 +1,3 @@
-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"
-PR = "r1"
-
-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}"
+include hostap-daemon.inc
-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
-}
+PR = "r1"