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 | 599bb01 | 2018-05-06 23:01:31 +0200 | [diff] [blame] | 6 | INC_PR="r0.${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 | 745ab77 | 2018-05-06 22:59:37 +0200 | [diff] [blame] | 12 | # we require the tests to link to the static libosmo-sigtran library to |
| 13 | # access symbols not starting with osmo_* |
| 14 | EXTRA_OECONF_remove = "--disable-static" |
| 15 | |
| 16 | PACKAGES =+ "osmo-stp" |
| 17 | SYSTEMD_PACKAGES = "osmo-stp" |
| 18 | SYSTEMD_SERVICE_osmo-stp = "osmo-stp.service" |
| 19 | |
| 20 | do_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 | |
| 28 | FILES_osmo-stp = " \ |
| 29 | ${bindir}/osmo-stp \ |
| 30 | ${sysconfdir}/osmocom/osmo-stp.cfg \ |
| 31 | " |
| 32 | CONFFILES_osmo-stp = "${sysconfdir}/osmocom/osmo-stp.cfg" |
| 33 | |
Holger Hans Peter Freyther | 60ee4cd | 2011-11-11 21:26:06 +0800 | [diff] [blame] | 34 | ALLOW_EMPTY_libosmo-sccp = "1" |