madwifi: Renamed to madwifi-ng (which emits -modules and -tools) and now stages inclu...
authorRod Whitby <rod@whitby.id.au>
Tue, 25 Apr 2006 20:26:01 +0000 (20:26 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Tue, 25 Apr 2006 20:26:01 +0000 (20:26 +0000)
packages/madwifi/madwifi-ng_r1527-20060425.bb [moved from packages/madwifi/madwifi-ng-modules_svn.bb with 63% similarity]

similarity index 63%
rename from packages/madwifi/madwifi-ng-modules_svn.bb
rename to packages/madwifi/madwifi-ng_r1527-20060425.bb
index ae3a499..aa03b04 100644 (file)
@@ -5,13 +5,13 @@ MAINTAINER = "NSLU2 Linux <nslu2-linux@yahoogroups.com>"
 LICENSE = "GPL"
 RDEPENDS = "kernel (${KERNEL_VERSION})"
 DEPENDS = "virtual/kernel"
-PV = "r1527-20060425"
+PR="r0"
 
-SRC_URI = "http://snapshots.madwifi.org/madwifi-ng/madwifi-ng-${PV}.tar.gz \
+SRC_URI = "http://snapshots.madwifi.org/${PN}/${PN}-${PV}.tar.gz \
           file://10-xscale-be-elf-copts.patch;patch=1 \
           file://10-xscale-le-elf-copts.patch;patch=1"
 
-S = "${WORKDIR}/madwifi-ng-${PV}"
+S = "${WORKDIR}/${PN}-${PV}"
 
 inherit module-base
 
@@ -23,6 +23,13 @@ do_compile() {
        oe_runmake all
 }
 
+do_stage() {
+       install -d ${STAGING_INCDIR}/${PN}/include
+       install -d ${STAGING_INCDIR}/${PN}/net80211
+       cp --dereference include/compat.h ${STAGING_INCDIR}/${PN}/include/
+       cp --dereference net80211/*.h ${STAGING_INCDIR}/${PN}/net80211/
+}
+
 do_install() {
        install -d ${D}${sbindir}
        oe_runmake DESTDIR=${D} BINDIR=${sbindir} install
@@ -36,6 +43,6 @@ else
 fi
 }
 
-PACKAGES = "madwifi-ng-tools ${PN}"
-FILES_${PN} = "/lib/modules/"
-FILES_madwifi-ng-tools = "/usr/"
+PACKAGES = "${PN}-modules ${PN}-tools"
+FILES_${PN}-modules = "/lib/modules/"
+FILES_${PN}-tools = "/usr/"