blob: 19e17abfe804c81afa3fdfb7ac8b7bbe5a3974d4 [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
Pau Espin Pedroleb708462018-09-07 14:49:59 +02006DEPENDS = "libosmocore libosmo-netif"
Pau Espin Pedrolb4eb9712017-09-26 14:28:49 +02007
Pau Espin Pedroleb708462018-09-07 14:49:59 +02008INC_PR="r1.${META_TELEPHONY_OSMO_INC}"
Pau Espin Pedrolb4eb9712017-09-26 14:28:49 +02009
10inherit autotools pkgconfig systemd
11
Pau Espin Pedrolb4eb9712017-09-26 14:28:49 +020012do_install_append() {
13 install -d ${D}${systemd_system_unitdir}/
14 install -d ${D}${sysconfdir}/osmocom/
15
Pau Espin Pedrolcb1bb2b2017-11-10 12:08:36 +010016 install -m 0644 ${S}/doc/examples/osmo-mgw/osmo-mgw.cfg ${D}${sysconfdir}/osmocom/osmo-mgw.cfg
17 install -m 0644 ${S}/contrib/systemd/osmo-mgw.service ${D}${systemd_system_unitdir}/
Pau Espin Pedrolb4eb9712017-09-26 14:28:49 +020018}
19
Pau Espin Pedroleb708462018-09-07 14:49:59 +020020PACKAGES =+ "libosmo-mgcp libosmo-mgcp-dev libosmo-mgcp-client libosmo-mgcp-client-dev"
Pau Espin Pedrolcb1bb2b2017-11-10 12:08:36 +010021SYSTEMD_SERVICE_osmo-mgw = "osmo-mgw.service"
Pau Espin Pedrolcb1bb2b2017-11-10 12:08:36 +010022
23FILES_libosmo-mgcp = "${libdir}/libosmo-mgcp${SOLIBS}"
24FILES_libosmo-mgcp-dev = " \
25 ${includedir}/osmocom/mgcp \
26 ${libdir}/pkgconfig/libosmo-mgcp.pc \
27 ${libdir}/libosmo-mgcp${SOLIBSDEV} \
28 "
29
30FILES_libosmo-mgcp-client = "${libdir}/libosmo-mgcp-client${SOLIBS}"
31FILES_libosmo-mgcp-client-dev = " \
32 ${includedir}/osmocom/mgcp_client \
33 ${libdir}/pkgconfig/libosmo-mgcp-client.pc \
34 ${libdir}/libosmo-mgcp-client${SOLIBSDEV} \
35 "
36
Pau Espin Pedrolcb1bb2b2017-11-10 12:08:36 +010037CONFFILES_osmo-mgw = "${sysconfdir}/osmocom/osmo-mgw.cfg"