aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-connectivity/tayga/tayga_0.9.2.bb
blob: 36d35e6dee891f1d912df8f5e7035f52acb91dae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"

SRC_URI = " \
        http://www.litech.org/tayga/tayga-${PV}.tar.bz2 \
        file://tayga.conf \
        file://tayga.service \
        file://0001-include-sys-uio.patch;striplevel=0 \
        "
SRC_URI[sha256sum] = "2b1f7927a9d2dcff9095aff3c271924b052ccfd2faca9588b277431a44f0009c"

SYSTEMD_PACKAGES = "${PN}"
SYSTEMD_SERVICE:${PN} = "tayga.service"

do_install:append() {
  install -m 0644 ${WORKDIR}/tayga.conf ${D}${sysconfdir}/tayga.conf
  install -d ${D}${systemd_unitdir}/system/
  install -m 0644 ${WORKDIR}/tayga.service ${D}${systemd_unitdir}/system/
}

inherit autotools systemd