[BluetoothSetup] Support Solo4k/Uno4k.
[vuplus_openvuplus_3.0] / meta-bsp / recipes-vuplus / bluetoothsetup / bluetoothsetup.inc
1 DESCRIPTION = "Vuplus bluetooth plugin"
2
3 LICENSE = "CLOSED"
4 require conf/license/license-close.inc
5
6 DEPENDS = "python-native"
7 RDEPENDS_${PN} = "vuplus-bluetooth-util libusb-compat"
8
9 PROVIDES += "enigma2-plugin-systemplugins-bluetoothsetup"
10 RPROVIDES_${PN} += "enigma2-plugin-systemplugins-bluetoothsetup"
11
12 PR="${SRCDATE}.${SRCDATE_PR}"
13
14 SRC_URI = " \
15     http://archive.vuplus.com/download/build_support/vuplus/enigma2-plugin-bluetoothsetup-${MACHINE}-${PR}.tar.gz \
16 "
17
18 S = "${WORKDIR}/plugin"
19
20 BLUETOOTH_PLUGIN_PATH = "/usr/lib/enigma2/python/Plugins/SystemPlugins/BluetoothSetup"
21
22 do_compile() {
23         python -O -m compileall ${S}
24 }
25
26 do_install() {
27         install -d  ${D}${BLUETOOTH_PLUGIN_PATH}
28         cp -rp ${S}/* ${D}${BLUETOOTH_PLUGIN_PATH}
29 }
30
31 FILES_${PN} = "${BLUETOOTH_PLUGIN_PATH}"
32
33 do_populate_sysroot[noexec] = "1"
34
35 PACKAGE_ARCH = "${MACHINE_ARCH}"
36
37 INSANE_SKIP_${PN} = "already-stripped"
38