blob: 829f947dfc228fd2676c3b090663c88a71e365b4 [file] [log] [blame]
Pau Espin Pedrol8eb42572017-09-26 14:30:33 +02001DESCRIPTION = "Osmocom MSC implementation"
2HOMEPAGE = "https://osmocom.org/projects/osmomsc"
3LICENSE = "AGPLv3"
4LIC_FILES_CHKSUM = "file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788"
5
6DEPENDS = "libdbi libasn1c osmo-iuh libosmocore libosmo-abis libosmo-sccp libosmo-netif libsmpp34 osmo-mgw"
7
Pau Espin Pedrol8fdfcbd2017-09-26 18:19:27 +02008INC_PR="r1.${META_TELEPHONY_OSMO_INC}"
Pau Espin Pedrol8eb42572017-09-26 14:30:33 +02009
10inherit autotools pkgconfig systemd
11
12EXTRA_OECONF += "--enable-smpp --enable-iu"
13
14RDEPENDS_${PN} = "libdbd-sqlite3"
15
16do_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 Pedrol8fdfcbd2017-09-26 18:19:27 +020022
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 Pedrol8eb42572017-09-26 14:30:33 +020026}
27
28SYSTEMD_SERVICE_${PN} = "${PN}.service"