Pau Espin Pedrol | 8eb4257 | 2017-09-26 14:30:33 +0200 | [diff] [blame] | 1 | DESCRIPTION = "Osmocom MSC implementation" |
| 2 | HOMEPAGE = "https://osmocom.org/projects/osmomsc" |
| 3 | LICENSE = "AGPLv3" |
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788" |
| 5 | |
| 6 | DEPENDS = "libdbi libasn1c osmo-iuh libosmocore libosmo-abis libosmo-sccp libosmo-netif libsmpp34 osmo-mgw" |
| 7 | |
Pau Espin Pedrol | 8fdfcbd | 2017-09-26 18:19:27 +0200 | [diff] [blame] | 8 | INC_PR="r1.${META_TELEPHONY_OSMO_INC}" |
Pau Espin Pedrol | 8eb4257 | 2017-09-26 14:30:33 +0200 | [diff] [blame] | 9 | |
| 10 | inherit autotools pkgconfig systemd |
| 11 | |
| 12 | EXTRA_OECONF += "--enable-smpp --enable-iu" |
| 13 | |
| 14 | RDEPENDS_${PN} = "libdbd-sqlite3" |
| 15 | |
| 16 | do_install_append() { |
| 17 | install -d ${D}${systemd_system_unitdir}/ |
| 18 | install -d ${D}${sysconfdir}/osmocom/ |
| 19 | |
| 20 | install -m 0644 ${S}/doc/examples/osmo-msc/osmo-msc.cfg ${D}${sysconfdir}/osmocom/ |
| 21 | install -m 0644 ${S}/contrib/systemd/osmo-msc.service ${D}${systemd_system_unitdir}/ |
Pau Espin Pedrol | 8fdfcbd | 2017-09-26 18:19:27 +0200 | [diff] [blame] | 22 | |
| 23 | # osmo-bsc already provides these, see issue Osmocom #2522: |
| 24 | rm -f ${D}${bindir}/.debug/*meas* |
| 25 | rm -f ${D}${bindir}/*meas* |
Pau Espin Pedrol | 8eb4257 | 2017-09-26 14:30:33 +0200 | [diff] [blame] | 26 | } |
| 27 | |
| 28 | SYSTEMD_SERVICE_${PN} = "${PN}.service" |