blob: 5186043f432f71267ee6577cf5b9defd50294c3f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
DESCRIPTION = "linux-wlan-ng (prism2.x, prism3, pcmcia, pci, usb) driver for 11Mbps wireless lan cards"
DEPENDS = "virtual/kernel"
MAINTAINER = "Jeremy Grant <jeremy@thegrantclan.org>"
LICENSE = "GPL"
PR = "r4"
SRC_URI = "ftp://ftp.linux-wlan.org/pub/linux-wlan-ng/linux-wlan-ng-${PV}.tar.bz2 \
file://no-compat.patch;patch=1 \
file://Ambit_usb.patch;patch=1 \
file://config.mk \
file://wlan-ng.modutils \
file://wlan.agent \
file://version.h \
file://sl6kwlanctl-ng \
file://usbctl"
S = "${WORKDIR}/linux-wlan-ng-${PV}"
inherit module
EXTRA_OEMAKE = "all"
do_configure() {
install ${WORKDIR}/config.mk ${S}/config.mk
install ${WORKDIR}/version.h ${S}/src/include/wlan/
}
do_install() {
oe_runmake install DESTDIR=${D}
mkdir -p ${D}/etc/modutils/
mkdir -p ${D}/etc/hotplug/
mkdir -p ${D}/sbin/
install -m 0644 ${WORKDIR}/wlan-ng.modutils ${D}/etc/modutils/wlan-ng.conf
install -m 0755 ${WORKDIR}/wlan.agent ${D}/etc/hotplug/wlan.agent
install -m 0755 ${WORKDIR}/usbctl ${D}/sbin/usbctl
install -m 0755 ${WORKDIR}/sl6kwlanctl-ng ${D}/sbin/sl6kwlanctl-ng
ln -s /sbin/sl6kwlanctl-ng ${D}/sbin/wlanup
ln -s /sbin/sl6kwlanctl-ng ${D}/sbin/wlandown
}
sbindir = "/sbin"
PACKAGES_prepend = "wlan-ng-utils "
FILES_wlan-ng-utils = "${sysconfdir} ${sbindir}"
|