blob: d7f22a3f6dd6b1d0f2779093538acc0e98658141 [file] [log] [blame]
Pau Espin Pedrola0862392018-02-16 17:38:33 +01001DESCRIPTION = "Osmo SIP Connector"
2HOMEPAGE = "https://osmocom.org/projects/osmo-sip-conector"
3LICENSE = "AGPLv3"
4LIC_FILES_CHKSUM = "file://COPYING;md5=ccdfc45f78d625db70e70ede679d5ce3"
5
6DEPENDS = "sofia-sip libosmocore"
7
8INC_PR="r0.${META_TELEPHONY_OSMO_INC}"
9
10inherit autotools pkgconfig systemd
11
12do_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}
20SYSTEMD_SERVICE_${PN} = "${PN}.service"
21CONFFILES_osmo-sip-connector = "${sysconfdir}/osmocom/osmo-sip-connector.cfg"