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 | |
Pau Espin Pedrol | eb70846 | 2018-09-07 14:49:59 +0200 | [diff] [blame] | 6 | DEPENDS = "libosmocore libosmo-netif" |
Pau Espin Pedrol | b4eb971 | 2017-09-26 14:28:49 +0200 | [diff] [blame] | 7 | |
Pau Espin Pedrol | eb70846 | 2018-09-07 14:49:59 +0200 | [diff] [blame] | 8 | INC_PR="r1.${META_TELEPHONY_OSMO_INC}" |
Pau Espin Pedrol | b4eb971 | 2017-09-26 14:28:49 +0200 | [diff] [blame] | 9 | |
| 10 | inherit autotools pkgconfig systemd |
| 11 | |
Pau Espin Pedrol | b4eb971 | 2017-09-26 14:28:49 +0200 | [diff] [blame] | 12 | do_install_append() { |
| 13 | install -d ${D}${systemd_system_unitdir}/ |
| 14 | install -d ${D}${sysconfdir}/osmocom/ |
| 15 | |
Pau Espin Pedrol | cb1bb2b | 2017-11-10 12:08:36 +0100 | [diff] [blame] | 16 | 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 Pedrol | b4eb971 | 2017-09-26 14:28:49 +0200 | [diff] [blame] | 18 | } |
| 19 | |
Pau Espin Pedrol | eb70846 | 2018-09-07 14:49:59 +0200 | [diff] [blame] | 20 | PACKAGES =+ "libosmo-mgcp libosmo-mgcp-dev libosmo-mgcp-client libosmo-mgcp-client-dev" |
Pau Espin Pedrol | cb1bb2b | 2017-11-10 12:08:36 +0100 | [diff] [blame] | 21 | SYSTEMD_SERVICE_osmo-mgw = "osmo-mgw.service" |
Pau Espin Pedrol | cb1bb2b | 2017-11-10 12:08:36 +0100 | [diff] [blame] | 22 | |
| 23 | FILES_libosmo-mgcp = "${libdir}/libosmo-mgcp${SOLIBS}" |
| 24 | FILES_libosmo-mgcp-dev = " \ |
| 25 | ${includedir}/osmocom/mgcp \ |
| 26 | ${libdir}/pkgconfig/libosmo-mgcp.pc \ |
| 27 | ${libdir}/libosmo-mgcp${SOLIBSDEV} \ |
| 28 | " |
| 29 | |
| 30 | FILES_libosmo-mgcp-client = "${libdir}/libosmo-mgcp-client${SOLIBS}" |
| 31 | FILES_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 Pedrol | cb1bb2b | 2017-11-10 12:08:36 +0100 | [diff] [blame] | 37 | CONFFILES_osmo-mgw = "${sysconfdir}/osmocom/osmo-mgw.cfg" |