-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathenigma2-plugin-extensions-openwebif.bb
More file actions
42 lines (36 loc) · 1.15 KB
/
enigma2-plugin-extensions-openwebif.bb
File metadata and controls
42 lines (36 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
MODULE = "OpenWebif"
DESCRIPTION = "Control your receiver with a browser"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://README;firstline=10;lastline=12;md5=9c14f792d0aeb54e15490a28c89087f7"
DEPENDS = "python-cheetah-native"
RDEPENDS_${PN} = "\
aio-grab \
python-cheetah \
python-compression\
python-ipaddress\
python-json \
python-misc \
python-numbers \
python-pyopenssl \
python-shell \
python-unixadmin \
"
inherit gitpkgv
PV = "1+git${SRCPV}"
PKGV = "1+git${GITPKGV}"
require openplugins-distutils.inc
# Just a quick hack to "compile" it
do_compile() {
cheetah-compile -R --nobackup ${S}/plugin
python -O -m compileall -d ${PLUGINPATH} ${S}/plugin
}
PLUGINPATH = "/usr/lib/enigma2/python/Plugins/Extensions/${MODULE}"
do_install_append() {
install -d ${D}${PLUGINPATH}
cp -r ${S}/plugin/* ${D}${PLUGINPATH}
chmod a+rX ${D}${PLUGINPATH}
}
PACKAGES =+ "${PN}-src"
FILES_${PN}-src = "${PLUGINPATH}/*.py ${PLUGINPATH}/*/*.py ${PLUGINPATH}/*/*/*.py ${PLUGINPATH}/*/*/*/*.py ${PLUGINPATH}/*/*/*/*/*.py \
${PLUGINPATH}/controllers/views/*.tmpl ${PLUGINPATH}/controllers/views/*/*.tmpl ${PLUGINPATH}/controllers/views/*/*/*.tmpl"
FILES_${PN} = "${PLUGINPATH}"