blob: 45ee33830a6540224c20e7f32ea3103daa5a5f65 [file] [log] [blame]
Pau Espin Pedrolb4eb9712017-09-26 14:28:49 +02001DESCRIPTION = "Osmocom Media Gateway (MGCP) implementation"
2HOMEPAGE = "https://osmocom.org/projects/osmo-mgw"
3LICENSE = "AGPLv3"
4LIC_FILES_CHKSUM = "file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788"
5
6DEPENDS = "libosmocore libosmo-netif bcg729 libgsm"
7
8INC_PR="r0.${META_TELEPHONY_OSMO_INC}"
9
10inherit autotools pkgconfig systemd
11
12EXTRA_OECONF += "--enable-mgcp-transcoding --with-g729"
13
14do_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
22SYSTEMD_SERVICE_osmo-mgw = "osmo-bsc-mgcp.service"