ca-certificated_20130119: fixed md5 checksum
[opendreambox.git] / meta-opendreambox / recipes-connectivity / ralink / rt3070_2.5.0.3.bb
1 SUMMARY = "Driver for Ralink RT8070/3070/3370/5370/5372 USB 802.11abgn WiFi sticks"
2 SECTION = "kernel/modules"
3 LICENSE = "GPLv2+"
4 LIC_FILES_CHKSUM = "file://os/linux/rt_linux.c;endline=25;md5=21ed2a5918a3062a6c0323ef549f0803"
5 PR = "r1"
6
7 SRC_URI = " \
8         http://sources.dreamboxupdate.com/download/sources/2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V${PV}_DPO.tar.bz2 \
9         file://makefile.patch \
10         file://config.patch \
11 "
12 SRC_URI[md5sum] = "8ea0d247ac5881de1cb4c113ebf65724"
13 SRC_URI[sha256sum] = "e732d6b114137aa0badf46281d25d442278639d798735317b0061d3ae573593e"
14
15 S = "${WORKDIR}/2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V${PV}_DPO"
16
17 inherit module
18
19 EXTRA_OEMAKE = "LINUX_SRC=${STAGING_KERNEL_DIR}"
20
21 do_install() {
22         install -d ${D}${base_libdir}/modules/${KERNEL_VERSION}/drivers/net/wireless
23         install -m 0644 ${S}/*sta${KERNEL_OBJECT_SUFFIX} ${D}${base_libdir}/modules/${KERNEL_VERSION}/drivers/net/wireless
24         install -d ${D}${sysconfdir}/Wireless/RT2870STA
25         install -m 0644 ${S}/RT2870STA.dat ${D}${sysconfdir}/Wireless/RT2870STA
26 }