blob: 78dd5250dd4d4ac2725e2fcace8bb4c03a64ad5b [file] [log] [blame]
Pau Espin Pedrol587f6ac2017-09-29 13:43:18 +02001DESCRIPTION = "An utility library for Open Source Mobile Communications"
Harald Welteec8c4f62016-06-23 21:22:13 +02002DEPENDS = "libosmocore libosmo-netif"
Pau Espin Pedrold7e9e0e2017-09-27 12:17:43 +02003HOMEPAGE = "https://osmocom.org/projects/libosmo-sccp"
Holger Hans Peter Freytherd24c97d2012-05-30 17:50:06 +08004LICENSE = "AGPLv3"
Holger Hans Peter Freyther60ee4cd2011-11-11 21:26:06 +08005
Pau Espin Pedrol501f34e2018-09-14 13:28:34 +02006INC_PR="r1.${META_TELEPHONY_OSMO_INC}"
Holger Hans Peter Freyther60ee4cd2011-11-11 21:26:06 +08007
8LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
9
Pau Espin Pedrold7e9e0e2017-09-27 12:17:43 +020010inherit autotools pkgconfig systemd
Holger Hans Peter Freyther60ee4cd2011-11-11 21:26:06 +080011
Pau Espin Pedrol501f34e2018-09-14 13:28:34 +020012PACKAGECONFIG ??= "\
13 ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \
14 "
15PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_system_unitdir},--without-systemdsystemunitdir"
16
Pau Espin Pedrol745ab772018-05-06 22:59:37 +020017# we require the tests to link to the static libosmo-sigtran library to
18# access symbols not starting with osmo_*
19EXTRA_OECONF_remove = "--disable-static"
20
21PACKAGES =+ "osmo-stp"
22SYSTEMD_PACKAGES = "osmo-stp"
23SYSTEMD_SERVICE_osmo-stp = "osmo-stp.service"
24
Pau Espin Pedrol745ab772018-05-06 22:59:37 +020025FILES_osmo-stp = " \
26 ${bindir}/osmo-stp \
27 ${sysconfdir}/osmocom/osmo-stp.cfg \
28 "
29CONFFILES_osmo-stp = "${sysconfdir}/osmocom/osmo-stp.cfg"
30
Holger Hans Peter Freyther60ee4cd2011-11-11 21:26:06 +080031ALLOW_EMPTY_libosmo-sccp = "1"