[bluetoothsetup] update ultimo4k.
[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 RREPLACES_${PN} = "enigma2-plugin-systemplugins-bluetoothsetup"
13
14 PR="${SRCDATE}.${SRCDATE_PR}"
15
16 SRC_URI = " \
17     http://archive.vuplus.com/download/build_support/vuplus/enigma2-plugin-bluetoothsetup-${MACHINE}-${PR}.tar.gz \
18 "
19
20 S = "${WORKDIR}/plugin"
21
22 BLUETOOTH_PLUGIN_PATH = "/usr/lib/enigma2/python/Plugins/SystemPlugins/BluetoothSetup"
23
24 do_compile() {
25         python -O -m compileall ${S}
26 }
27
28 do_install() {
29         install -d  ${D}${BLUETOOTH_PLUGIN_PATH}
30         cp -rp ${S}/* ${D}${BLUETOOTH_PLUGIN_PATH}
31 }
32
33 FILES_${PN} = "${BLUETOOTH_PLUGIN_PATH}"
34
35 do_populate_sysroot[noexec] = "1"
36
37 PACKAGE_ARCH = "${MACHINE_ARCH}"
38
39 INSANE_SKIP_${PN} = "already-stripped"
40