Pau Espin Pedrol | a086239 | 2018-02-16 17:38:33 +0100 | [diff] [blame] | 1 | DESCRIPTION = "Osmo SIP Connector" |
| 2 | HOMEPAGE = "https://osmocom.org/projects/osmo-sip-conector" |
| 3 | LICENSE = "AGPLv3" |
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=ccdfc45f78d625db70e70ede679d5ce3" |
| 5 | |
| 6 | DEPENDS = "sofia-sip libosmocore" |
| 7 | |
| 8 | INC_PR="r0.${META_TELEPHONY_OSMO_INC}" |
| 9 | |
| 10 | inherit autotools pkgconfig systemd |
| 11 | |
| 12 | do_install_append() { |
| 13 | install -d ${D}${systemd_system_unitdir}/ |
| 14 | install -d ${D}${sysconfdir}/osmocom/ |
| 15 | |
| 16 | install -m 0644 ${S}/doc/examples/osmo-sip-connector.cfg ${D}${sysconfdir}/osmocom/ |
| 17 | |
| 18 | install -m 0644 ${S}/contrib/systemd/osmo-sip-connector.service ${D}${systemd_system_unitdir}/ |
| 19 | } |
| 20 | SYSTEMD_SERVICE_${PN} = "${PN}.service" |
| 21 | CONFFILES_osmo-sip-connector = "${sysconfdir}/osmocom/osmo-sip-connector.cfg" |