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 | |
parent | 234c92fa56963ab907b9667d2cc28b6e0ade6791 (diff) |
hostap-daemon: create common .inc file to simplify managment
Diffstat (limited to 'packages')
-rw-r--r-- | packages/hostap/hostap-daemon.inc | 32 | ||||
-rw-r--r-- | packages/hostap/hostap-daemon_0.3.7.bb | 33 | ||||
-rw-r--r-- | packages/hostap/hostap-daemon_0.4.4.bb | 33 |
3 files changed, 36 insertions, 62 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 +} + 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" diff --git a/packages/hostap/hostap-daemon_0.4.4.bb b/packages/hostap/hostap-daemon_0.4.4.bb index 78fef559ed..7eb822c0d4 100644 --- a/packages/hostap/hostap-daemon_0.4.4.bb +++ b/packages/hostap/hostap-daemon_0.4.4.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" |