-
Notifications
You must be signed in to change notification settings - Fork 25
/
enigma2-kartinatv.bb
43 lines (34 loc) · 1.07 KB
/
enigma2-kartinatv.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
37
38
39
40
41
42
43
DESCRIPTION = "enigma2 iptv plugin for KartinaTV & RodnoeTV"
MAINTAINER = "Alex Maystrenko <[email protected]>"
HOMEPAGE = "http://code.google.com/p/kartinatv-dm/"
LICENSE = "GNU GPLv2"
SECTION = "extra"
LIC_FILES_CHKSUM = "file://${FILE_DIRNAME}/build/COPYING;md5=d41d8cd98f00b204e9800998ecf8427e"
PN="enigma2-plugin-extensions-kartinatv"
PV="2.4.0"
VVV = "r0"
PR = "${VVV}"
SRC_URI = "file://${FILE_DIRNAME}/build"
S = "${WORKDIR}/build"
EXTRA_OECONF = " \
BUILD_SYS=${BUILD_SYS} \
HOST_SYS=${HOST_SYS} \
STAGING_INCDIR=${STAGING_INCDIR} \
STAGING_LIBDIR=${STAGING_LIBDIR} \
"
EXTRA_OECONF += " --with-po "
FILES_${PN} += " /usr/share/enigma2/KartinaTV_skin /usr/lib/enigma2/python/Plugins/Extensions/KartinaTV /etc"
FILES_${PN}-dbg = " /usr/lib/enigma2/python/Plugins/Extensions/KartinaTV/.debug "
DEPENDS = "enigma2"
inherit autotools
pkg_postinst() {
#!/bin/sh
mkdir -p /etc/iptvdream/
F="/etc/iptvdream/playlist.m3u"
if ! test -f $F; then
echo """#EXTM3U
#EXTINF:0,example stream
rtsp://82.177.67.61/axis-media/media.amp
""" > $F
fi
}