forked from Speedy1985/enigmalight
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathenigmalight.bb
36 lines (27 loc) · 933 Bytes
/
enigmalight.bb
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
DESCRIPTION = "An Ambilight clone for broadcom based linux receivers."
HOMEPAGE = "https://github.com/Dima73/enigmalight"
LICENSE = "GPLv3"
LIC_FILES_CHKSUM = "file://README;md5=93285fcad54271879db50c1fbf22d98b"
DEPENDS = "libusb1"
RRECOMMENDS_${PN} = "python-cheetah libusb-1.0-0 kernel-module-cdc-acm kernel-module-ftdi-sio kernel-module-usbserial kernel-module-ch341 curl"
inherit gitpkgv
SRCREV = "${AUTOREV}"
PV = "1.0+git${SRCPV}"
PKGV = "1.0+git${GITPKGV}"
SRC_URI = "git://github.com/Dima73/enigmalight.git"
S = "${WORKDIR}/git/build"
do_configure() {
cd ${S}
oe_runconf
}
do_compile() {
cd ${S}
oe_runmake
}
do_install() {
cd ${S}
oe_runmake DESTDIR=${D} install
install -d ${D}${libdir}/enigma2/python/Plugins/Extensions
cp -R ${S}/python/plugin/EnigmaLight ${D}${libdir}/enigma2/python/Plugins/Extensions
}
FILES_${PN} += "${libdir}/enigma2/python/Plugins/Extensions/EnigmaLight/"