transtreamproxy updated.
[vuplus_openvuplus] / meta-openvuplus / recipes-vuplus / opera-hbbtv / opera-hbbtv_0.1.bb
1 DESCRIPTION = "opera-hbbtv"
2 PRIORITY = "required"
3 LICENSE = "CLOSED"
4
5 DEPENDS = "tslib mpfr gmp"
6 RDEPENS = "tslib-conf libts-1.0-0 libsysfs2 libgmp3 libmpfr1"
7
8 SRC_DATE = "20130820_0"
9
10 PR = "r2_${SRC_DATE}"
11 SRC_URI = ""
12
13 INHIBIT_PACKAGE_STRIP = "1"
14 S = "${WORKDIR}/opera-hbbtv"
15
16 SRC_FILE = "opera-hbbtv_${SRC_DATE}.tar.gz"
17 do_fetch() {
18         if [ ! -e ${DL_DIR}/${SRC_FILE} -a -e /etc/vuplus_browser.pwd ]; then
19 sshpass -f /etc/vuplus_browser.pwd sftp -o StrictHostKeyChecking=no guestuser@code.vuplus.com << +
20 get ${SRC_FILE}
21 bye
22 +
23         fi
24         cp -av ${DL_DIR}/${SRC_FILE} ${WORKDIR}/
25 }
26
27 do_unpack() {
28         tar xvfz ${SRC_FILE}
29 }
30
31 do_compile() {
32 }
33
34 do_install() {
35         rm -f ${S}/opera/lib/libopera.so
36         install -d ${D}/usr/local/hbb-browser
37         mv ${S}/opera/* ${D}/usr/local/hbb-browser/
38         install -d ${D}/etc
39         mv ${S}/dfb/etc/* ${D}/etc/
40         install -d ${D}/usr/bin
41         mv ${S}/dfb/usr/bin/* ${D}/usr/bin/
42         install -d ${D}/usr/lib
43         mv ${S}/dfb/usr/lib/* ${D}/usr/lib/
44         install -d ${D}/usr/share
45         mv ${S}/dfb/usr/share/* ${D}/usr/share/
46         install -d ${D}/usr/lib/enigma2/python/Plugins/Extensions/HbbTV
47         mv ${S}/plugin/* ${D}/usr/lib/enigma2/python/Plugins/Extensions/HbbTV
48 }
49
50 do_package_qa() {
51 }
52
53 PACKAGES = "${PN}"
54
55 FILES_${PN} = "/"
56
57 SRC_URI[md5sum] = "7204505914945da89ace49556218f0ef"
58 SRC_URI[sha256sum] = "d42d671dfebb3c5125dccf3b72e1cfbb957682d9e497c2dc7a26bdd119118d87"