Remove WARNING messages, "The license listed CLOSED was not in the licenses collected."
[vuplus_openvuplus_3.0] / meta-bsp / recipes-vuplus / vuplus-tuner-turbo / vuplus-tuner-turbo.inc
1 DESCRIPTION = "Hardware drivers and blindscan util for Vuplus Tuner Turbo"
2 SECTION = "base"
3 LICENSE = "CLOSED"
4 require conf/license/license-close.inc
5
6 SRCDATE = "20150303"
7 FW_SRCDATE = "20150303"
8 KV = "${VUPLUS_KERNEL_VERSION}"
9 PV = "${KV}"
10 PR = "${SRCDATE}"
11
12 SRC_URI = " \
13         http://archive.vuplus.com/download/usb/tuner/turbo/vuplus_tuner_turbo_driver_${PV}_${SRCDATE}.tar.gz;name=driver \
14         http://archive.vuplus.com/download/usb/tuner/turbo/vuplus_tuner_turbo_bin_fw_${FW_SRCDATE}.tar.gz;name=binfw \
15 "
16
17 S = "${WORKDIR}"
18
19 inherit module-base
20
21 do_install() {
22         install -d ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/media/usb/vuplus
23         install -m 0644 ${S}/vuplus_tuner_turbo_driver.ko ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/media/usb/vuplus/vuplus_tuner_turbo_driver.ko
24         install -d ${D}/lib/firmware/
25         install -m 0644 ${S}/Vuplus_Turbo_USB_0101.fw ${D}/lib/firmware/Vuplus_Turbo_USB_0101.fw
26         install -d "${D}/${bindir}"
27         install -m 0755 "${S}/vuplus_turbo_c" "${D}/${bindir}"
28         install -m 0755 "${S}/vuplus_turbo_t" "${D}/${bindir}"
29 }
30
31 pkg_postinst_${PN} () {
32         if [ -d /proc/stb ]; then
33                 depmod -a
34         fi
35         true
36 }
37
38 PACKAGE_ARCH := "${MACHINE_ARCH}"
39 FILES_${PN} = "/"
40
41 SRC_URI[binfw.md5sum] = "517a9d54e41fae16612bcfe431ef7a3e"
42 SRC_URI[binfw.sha256sum] = "b39f0b38684c44a13dd62ac4286a4a73bcf74fd25a881ecfe97d292535163ca0"
43