aboutsummaryrefslogtreecommitdiffstats
path: root/packages/enigma/dreamdata.bb
blob: d681f5486b63874626393b80775b7b642c6e49a9 (plain)
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
DEPENDS = "enigma mrouted"
RDEPENDS = "enigma mrouted"
DESCRIPTION = "Enigma Plugin dreamdata"
MAINTAINER = "Felix Domke <tmbinc@elitedvb.net>"
LICENSE = "GPL"
PV = "0.0.9"
PR = "r0"
PN = "dreamdata"
PACKAGES = "dreamdata"
SRC_URI =  "http://sources.dreamboxupdate.com/download/opendreambox/enigma/dreamdata-${PV}.tar.bz2 \
	    file://acinclude.m4"

S = "${WORKDIR}/dreamdata"

inherit autotools pkgconfig

EXTRA_OECONF = "--with-target=native "

do_configure_prepend() {
	mkdir -p m4
	install ${WORKDIR}/acinclude.m4 ${S}/acinclude.m4
}

do_install() {
	install -d ${D}/usr/lib/tuxbox/plugins
	install -d ${D}/etc
	install ${S}/.libs/dreamdata.so ${D}/usr/lib/tuxbox/plugins
	install -m 0644 ${S}/dreamdata.cfg ${D}/usr/lib/tuxbox/plugins
	install -m 0644 ${S}/dreamdata.xml ${D}/etc
}

FILES_${PN} = "/"