enigma2: 4.3.2r14
[opendreambox.git] / meta-opendreambox / recipes-dreambox / satip-client / satip-client_git.bb
1 SUMMARY = "satip client using vtuner"
2 LICENSE = "GPLv2"
3 LIC_FILES_CHKSUM = "file://LICENSE;md5=2c1c00f9d3ed9e24fa69b932b7e7aff2"
4
5 GITHUB_BRANCH = "next"
6 SRC_URI += " \
7     file://satip-client.service \
8     file://vtuner.conf \
9 "
10
11 SRCREV = "14b348053af339b2717a69fc6b6520c3e0fa72ed"
12
13 inherit autotools pkgconfig opendreambox-github systemd
14
15 SYSTEMD_SERVICE_${PN} = "satip-client.service"
16
17 do_install_append() {
18     install -d ${D}${systemd_unitdir}/system
19     install -m 0644 ${WORKDIR}/satip-client.service ${D}${systemd_unitdir}/system/
20     install -d ${D}${datadir}/satip-client
21     install -m 0644 ${WORKDIR}/vtuner.conf ${D}${datadir}/satip-client/vtuner.example.conf
22 }
23
24 pkg_postinst_${PN} () {
25 if [ ! -e "${sysconfdir}/vtuner.conf" ]; then
26         cp ${datadir}/satip-client/vtuner.example.conf ${sysconfdir}/vtuner.conf
27 fi
28 }
29
30 EXTRA_OECONF = " \
31     --with-boxtype=${MACHINE} \
32 "
33