blob: c388c322f7fa3165d358e11ed3335e3478a16036 [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
Holger Hans Peter Freytherdca725b2011-12-11 22:08:19 +01006INC_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 Pedrol745ab772018-05-06 22:59:37 +020012# we require the tests to link to the static libosmo-sigtran library to
13# access symbols not starting with osmo_*
14EXTRA_OECONF_remove = "--disable-static"
15
16PACKAGES =+ "osmo-stp"
17SYSTEMD_PACKAGES = "osmo-stp"
18SYSTEMD_SERVICE_osmo-stp = "osmo-stp.service"
19
20do_install_append() {
21 install -d ${D}${systemd_system_unitdir}/
22 install -d ${D}${sysconfdir}/osmocom/
23
24 install -m 0644 ${S}/doc/examples/osmo-stp.cfg ${D}${sysconfdir}/osmocom/
25 install -m 0644 ${S}/contrib/systemd/osmo-stp.service ${D}${systemd_system_unitdir}/
26}
27
28FILES_osmo-stp = " \
29 ${bindir}/osmo-stp \
30 ${sysconfdir}/osmocom/osmo-stp.cfg \
31 "
32CONFFILES_osmo-stp = "${sysconfdir}/osmocom/osmo-stp.cfg"
33
Holger Hans Peter Freyther60ee4cd2011-11-11 21:26:06 +080034ALLOW_EMPTY_libosmo-sccp = "1"