Pau Espin Pedrol | b4eb971 | 2017-09-26 14:28:49 +0200 | [diff] [blame] | 1 | DESCRIPTION = "Osmocom Media Gateway (MGCP) implementation" |
| 2 | HOMEPAGE = "https://osmocom.org/projects/osmo-mgw" |
| 3 | LICENSE = "AGPLv3" |
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788" |
| 5 | |
| 6 | DEPENDS = "libosmocore libosmo-netif bcg729 libgsm" |
| 7 | |
| 8 | INC_PR="r0.${META_TELEPHONY_OSMO_INC}" |
| 9 | |
| 10 | inherit autotools pkgconfig systemd |
| 11 | |
| 12 | EXTRA_OECONF += "--enable-mgcp-transcoding --with-g729" |
| 13 | |
| 14 | do_install_append() { |
| 15 | install -d ${D}${systemd_system_unitdir}/ |
| 16 | install -d ${D}${sysconfdir}/osmocom/ |
| 17 | |
| 18 | install -m 0644 ${S}/doc/examples/osmo-bsc_mgcp/mgcp.cfg ${D}${sysconfdir}/osmocom/osmo-bsc-mgcp.cfg |
| 19 | install -m 0644 ${S}/contrib/systemd/osmo-bsc-mgcp.service ${D}${systemd_system_unitdir}/ |
| 20 | } |
| 21 | |
| 22 | SYSTEMD_SERVICE_osmo-mgw = "osmo-bsc-mgcp.service" |