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 | f1bacc0 | 2018-09-14 14:41:23 +0200 | [diff] [blame] | 8 | INC_PR="r2.${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 | f1bacc0 | 2018-09-14 14:41:23 +0200 | [diff] [blame] | 12 | PACKAGECONFIG ??= "\ |
| 13 | ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \ |
| 14 | " |
| 15 | PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_system_unitdir},--without-systemdsystemunitdir" |
Pau Espin Pedrol | b4eb971 | 2017-09-26 14:28:49 +0200 | [diff] [blame] | 16 | |
Pau Espin Pedrol | eb70846 | 2018-09-07 14:49:59 +0200 | [diff] [blame] | 17 | 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] | 18 | SYSTEMD_SERVICE_osmo-mgw = "osmo-mgw.service" |
Pau Espin Pedrol | cb1bb2b | 2017-11-10 12:08:36 +0100 | [diff] [blame] | 19 | |
| 20 | FILES_libosmo-mgcp = "${libdir}/libosmo-mgcp${SOLIBS}" |
| 21 | FILES_libosmo-mgcp-dev = " \ |
| 22 | ${includedir}/osmocom/mgcp \ |
| 23 | ${libdir}/pkgconfig/libosmo-mgcp.pc \ |
| 24 | ${libdir}/libosmo-mgcp${SOLIBSDEV} \ |
| 25 | " |
| 26 | |
| 27 | FILES_libosmo-mgcp-client = "${libdir}/libosmo-mgcp-client${SOLIBS}" |
| 28 | FILES_libosmo-mgcp-client-dev = " \ |
| 29 | ${includedir}/osmocom/mgcp_client \ |
| 30 | ${libdir}/pkgconfig/libosmo-mgcp-client.pc \ |
| 31 | ${libdir}/libosmo-mgcp-client${SOLIBSDEV} \ |
| 32 | " |
| 33 | |
Pau Espin Pedrol | cb1bb2b | 2017-11-10 12:08:36 +0100 | [diff] [blame] | 34 | CONFFILES_osmo-mgw = "${sysconfdir}/osmocom/osmo-mgw.cfg" |