blob: 1b3362f0bd99362b85f911d20fef6b8327dbf825 [file] [log] [blame]
DESCRIPTION = "Osmocom Media Gateway (MGCP) implementation"
HOMEPAGE = "https://osmocom.org/projects/osmo-mgw"
LICENSE = "AGPLv3"
LIC_FILES_CHKSUM = "file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788"
DEPENDS = "libosmocore libosmo-netif bcg729 libgsm"
INC_PR="r1.${META_TELEPHONY_OSMO_INC}"
inherit autotools pkgconfig systemd
EXTRA_OECONF += "--enable-mgcp-transcoding --with-g729"
do_install_append() {
install -d ${D}${systemd_system_unitdir}/
install -d ${D}${sysconfdir}/osmocom/
install -m 0644 ${S}/doc/examples/osmo-bsc_mgcp/mgcp.cfg ${D}${sysconfdir}/osmocom/osmo-bsc-mgcp.cfg
install -m 0644 ${S}/contrib/systemd/osmo-bsc-mgcp.service ${D}${systemd_system_unitdir}/
}
SYSTEMD_SERVICE_osmo-mgw = "osmo-bsc-mgcp.service"
CONFFILES_osmo-mgw = "${sysconfdir}/osmocom/osmo-bsc-mgcp.cfg"