[enigma2-plugin-extensions-addstreamurl] build fix.
[vuplus_openvuplus_3.0] / meta-bsp / recipes-vuplus / vuplus-bluetooth-util / vuplus-bluetooth-util.inc
1 SECTION = "base"
2 LICENSE = "CLOSED"
3 require conf/license/license-close.inc
4
5 PROVIDES += "vuplus-bluetooth-util"
6 RPROVIDES_${PN} += "vuplus-bluetooth-util"
7
8 PR="${SRCDATE}.${SRCDATE_PR}"
9
10 SRC_URI = " \
11     http://archive.vuplus.com/download/build_support/vuplus/vuplus-bluetooth-util-${MACHINE}-${PR}.tar.gz \
12 "
13
14 S="${WORKDIR}/vuplus-bluetooth-util-${MACHINE}"
15
16 do_install() {
17         install -d ${D}${bindir}
18         install -m 0755 ${S}/* ${D}${bindir}
19 }
20
21 do_package_qa() {
22 }
23
24 PACKAGE_ARCH := "${MACHINE_ARCH}"
25 FILES_${PN}="/"
26
27 do_install() {
28         install -d ${D}${bindir}
29         install -m 0755 ${S}/bsa_server ${D}${bindir}
30
31         install -d ${D}/usr/local/modules
32         install -m 0644 ${S}/btusb.ko ${D}/usr/local/modules/btusb.ko
33         install -m 0644 ${S}/bthid.ko ${D}/usr/local/modules/bthid.ko
34
35         if [ -n "${FIRMWARE_FILE}" ]; then
36                 install -d ${D}/lib/firmware/${FIRMWARE_PATH}
37                 install -m 0644 ${S}/${FIRMWARE_FILE} ${D}/lib/firmware/${FIRMWARE_PATH}
38         fi
39 }
40
41 INSANE_SKIP_${PN} = "already-stripped"
42