Remove MAINTAINER fields from recipes, add MAINTAINER file to replace them.
[vuplus_openembedded] / packages / madwifi / madwifi-ng_r.inc
1 DESCRIPTION = "Linux driver for 802.11a/b/g universal NIC cards using Atheros chip sets"
2 SECTION = "base"
3 PRIORITY = "optional"
4 LICENSE = "GPL"
5 RDEPENDS = "kernel (${KERNEL_VERSION})"
6 DEPENDS = "virtual/kernel"
7 PR="r0"
8
9 SRC_URI = "http://snapshots.madwifi.org/${PN}/${PN}-${PV}.tar.gz \
10            file://10-xscale-be-elf-copts.patch;patch=1 \
11            file://10-xscale-le-elf-copts.patch;patch=1 \
12            file://10-sh4-le-elf-copts.patch;patch=1"
13
14 S = "${WORKDIR}/${PN}-${PV}"
15
16 inherit module-base
17
18 EXTRA_OEMAKE = "LDFLAGS= KERNELPATH=${STAGING_KERNEL_DIR} KERNELRELEASE=${KERNEL_VERSION} TOOLPREFIX=${TARGET_PREFIX}"
19
20 EXTRA_OEMAKE_prepend_slugos = "TARGET=xscale-${ARCH_BYTE_SEX}-elf "
21
22 do_compile() {
23         oe_runmake all
24 }
25
26 do_stage() {
27         install -d ${STAGING_INCDIR}/${PN}/include
28         install -d ${STAGING_INCDIR}/${PN}/net80211
29         cp --dereference include/compat.h ${STAGING_INCDIR}/${PN}/include/
30         cp --dereference net80211/*.h ${STAGING_INCDIR}/${PN}/net80211/
31 }
32
33 do_install() {
34         install -d ${D}${sbindir}
35         oe_runmake DESTDIR=${D} BINDIR=${sbindir} install
36 }
37
38 pkg_postinst() {
39 if test "x$D" != "x"; then
40        exit 1
41 else
42         depmod -ae
43 fi
44 }
45
46 PACKAGES = "${PN}-modules ${PN}-tools"
47 FILES_${PN}-modules = "/lib/modules/"
48 FILES_${PN}-tools = "/usr/"