Pau Espin Pedrol | 587f6ac | 2017-09-29 13:43:18 +0200 | [diff] [blame] | 1 | DESCRIPTION = "An utility library for Open Source Mobile Communications" |
Harald Welte | ec8c4f6 | 2016-06-23 21:22:13 +0200 | [diff] [blame] | 2 | DEPENDS = "libosmocore libosmo-netif" |
Pau Espin Pedrol | d7e9e0e | 2017-09-27 12:17:43 +0200 | [diff] [blame] | 3 | HOMEPAGE = "https://osmocom.org/projects/libosmo-sccp" |
Holger Hans Peter Freyther | d24c97d | 2012-05-30 17:50:06 +0800 | [diff] [blame] | 4 | LICENSE = "AGPLv3" |
Holger Hans Peter Freyther | 60ee4cd | 2011-11-11 21:26:06 +0800 | [diff] [blame] | 5 | |
Pau Espin Pedrol | 501f34e | 2018-09-14 13:28:34 +0200 | [diff] [blame] | 6 | INC_PR="r1.${META_TELEPHONY_OSMO_INC}" |
Holger Hans Peter Freyther | 60ee4cd | 2011-11-11 21:26:06 +0800 | [diff] [blame] | 7 | |
| 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" |
| 9 | |
Pau Espin Pedrol | d7e9e0e | 2017-09-27 12:17:43 +0200 | [diff] [blame] | 10 | inherit autotools pkgconfig systemd |
Holger Hans Peter Freyther | 60ee4cd | 2011-11-11 21:26:06 +0800 | [diff] [blame] | 11 | |
Pau Espin Pedrol | 501f34e | 2018-09-14 13:28:34 +0200 | [diff] [blame] | 12 | PACKAGECONFIG ??= "\ |
| 13 | ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \ |
| 14 | " |
| 15 | PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_system_unitdir},--without-systemdsystemunitdir" |
| 16 | |
Pau Espin Pedrol | 745ab77 | 2018-05-06 22:59:37 +0200 | [diff] [blame] | 17 | # we require the tests to link to the static libosmo-sigtran library to |
| 18 | # access symbols not starting with osmo_* |
| 19 | EXTRA_OECONF_remove = "--disable-static" |
| 20 | |
| 21 | PACKAGES =+ "osmo-stp" |
| 22 | SYSTEMD_PACKAGES = "osmo-stp" |
| 23 | SYSTEMD_SERVICE_osmo-stp = "osmo-stp.service" |
| 24 | |
Pau Espin Pedrol | 745ab77 | 2018-05-06 22:59:37 +0200 | [diff] [blame] | 25 | FILES_osmo-stp = " \ |
| 26 | ${bindir}/osmo-stp \ |
| 27 | ${sysconfdir}/osmocom/osmo-stp.cfg \ |
| 28 | " |
| 29 | CONFFILES_osmo-stp = "${sysconfdir}/osmocom/osmo-stp.cfg" |
| 30 | |
Holger Hans Peter Freyther | 60ee4cd | 2011-11-11 21:26:06 +0800 | [diff] [blame] | 31 | ALLOW_EMPTY_libosmo-sccp = "1" |