Merge oe-devel@oe-devel.bkbits.net:packages
[openembedded.git] / hostap / hostap-modules_0.2.0.oe
1 DESCRIPTION = "A driver for wireless LAN cards based on Intersil's Prism2/2.5/3 chipset"
2 SECTION = "kernel/modules"
3 PRIORITY = "optional"
4 MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
5 LICENSE = "GPL"
6 PR = "r1"
7
8 SRC_URI = "http://hostap.epitest.fi/releases/hostap-driver-${PV}.tar.gz \
9            file://hostap_cs.conf"
10 S = "${WORKDIR}/hostap-driver-${PV}"
11
12 inherit module
13
14 MAKE_TARGETS = "hostap pccard"
15
16 do_install() {
17         install -d ${D}/lib/modules/${KERNEL_VERSION}/net \
18                    ${D}/lib/modules/${KERNEL_VERSION}/pcmcia \
19                    ${D}/${sysconfdir}/pcmcia
20         install -m 0644 driver/modules/hostap_crypt_wep.o ${D}/lib/modules/${KERNEL_VERSION}/net/
21         install -m 0644 driver/modules/hostap.o ${D}/lib/modules/${KERNEL_VERSION}/net/
22         install -m 0644 driver/modules/hostap_cs.o ${D}/lib/modules/${KERNEL_VERSION}/pcmcia/
23         install -m 0644 driver/etc/hostap_cs.conf ${D}/${sysconfdir}/pcmcia/hostap_cs.conf                
24         cat ${WORKDIR}/hostap_cs.conf >>${D}/${sysconfdir}/pcmcia/hostap_cs.conf
25 }