hostap-daemon: create common .inc file to simplify managment
authorMarcin Juszkiewicz <hrw@openembedded.org>
Mon, 20 Mar 2006 19:18:11 +0000 (19:18 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Mon, 20 Mar 2006 19:18:11 +0000 (19:18 +0000)
packages/hostap/hostap-daemon.inc [new file with mode: 0644]
packages/hostap/hostap-daemon_0.3.7.bb
packages/hostap/hostap-daemon_0.4.4.bb

diff --git a/packages/hostap/hostap-daemon.inc b/packages/hostap/hostap-daemon.inc
new file mode 100644 (file)
index 0000000..231978d
--- /dev/null
@@ -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
+}
+
index 78fef55..7eb822c 100644 (file)
@@ -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"
index 78fef55..7eb822c 100644 (file)
@@ -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"