nfs-utils: install libnfs.a and nfsrpc.h
[opendreambox.git] / meta-opendreambox / recipes-connectivity / zd1211 / zd1211b_2.22.0.0.bb
1 SUMMARY = "Driver for zd1211b family of wireless USB Dongles"
2 HOMEPAGE = "http://zd1211.ath.cx/"
3 SECTION = "kernel/modules"
4 LICENSE = "MPL-1.1 | GPLv2"
5 LIC_FILES_CHKSUM = "file://src/zd1211.c;endline=31;md5=76cb7cb1283c3b6e20de40280a74f87f"
6 RDEPENDS_${PN} = "wireless-tools"
7
8 inherit module
9
10 SRC_URI = " \
11         http://www.reactivated.net/software/zd1211-vendor/releases/ZD1211LnxDrv_2_22_0_0.tar.gz \
12         file://cross_compile.patch \
13         file://zdiface.patch \
14 "
15
16 SRC_URI[md5sum] = "0ac1145f1f30d883694b4a1317f142c4"
17 SRC_URI[sha256sum] = "262f44f0d1274d2baf6548e53df96c6664b076f39e3aaeeb022bbd5caccbe3e3"
18
19 S = "${WORKDIR}/ZD1211LnxDrv_2_22_0_0"
20
21 do_compile() {
22         unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
23         oe_runmake KERN_VER=2.6 KDIR=${STAGING_KERNEL_DIR} KERNEL_SOURCE=${STAGING_KERNEL_DIR} \
24                 MODPATH=${D}${base_libdir}/modules/${KERNEL_VERSION} ZD1211REV_B=1
25 }
26
27 do_install() {
28         install -d ${D}${base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/net
29         install -m 0644 ${S}/zd1211*${KERNEL_OBJECT_SUFFIX} ${D}${base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/net
30 }