blob: c00f998f12eb69e4baa181961b8bb839171a8f23 [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 Pedrolf1bacc02018-09-14 14:41:23 +02008INC_PR="r2.${META_TELEPHONY_OSMO_INC}"
Pau Espin Pedrolb4eb9712017-09-26 14:28:49 +02009
10inherit autotools pkgconfig systemd
11
Pau Espin Pedrolf1bacc02018-09-14 14:41:23 +020012PACKAGECONFIG ??= "\
13 ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \
14 "
15PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_system_unitdir},--without-systemdsystemunitdir"
Pau Espin Pedrolb4eb9712017-09-26 14:28:49 +020016
Pau Espin Pedroleb708462018-09-07 14:49:59 +020017PACKAGES =+ "libosmo-mgcp libosmo-mgcp-dev libosmo-mgcp-client libosmo-mgcp-client-dev"
Pau Espin Pedrolcb1bb2b2017-11-10 12:08:36 +010018SYSTEMD_SERVICE_osmo-mgw = "osmo-mgw.service"
Pau Espin Pedrolcb1bb2b2017-11-10 12:08:36 +010019
20FILES_libosmo-mgcp = "${libdir}/libosmo-mgcp${SOLIBS}"
21FILES_libosmo-mgcp-dev = " \
22 ${includedir}/osmocom/mgcp \
23 ${libdir}/pkgconfig/libosmo-mgcp.pc \
24 ${libdir}/libosmo-mgcp${SOLIBSDEV} \
25 "
26
27FILES_libosmo-mgcp-client = "${libdir}/libosmo-mgcp-client${SOLIBS}"
28FILES_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 Pedrolcb1bb2b2017-11-10 12:08:36 +010034CONFFILES_osmo-mgw = "${sysconfdir}/osmocom/osmo-mgw.cfg"