summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-connectivity/tayga/tayga_0.9.2.bb
blob: f36435c8ead63c4f40bb058ed38c798ac7dd9546 (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
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"

EXTRA_OEMAKE += "CFLAGS='${CFLAGS}'"

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

inherit autotools systemd