From 8eb42575096f6227e83228e3d8fbf591f9cedb22 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Tue, 26 Sep 2017 14:30:33 +0200 Subject: osmo-msc: Introduce recipe Change-Id: I68715d1970fde83fd6647344b82c6a859404ef9e --- recipes-osmocom/osmo-msc/osmo-msc.inc | 24 ++++++++++++++++++++++++ recipes-osmocom/osmo-msc/osmo-msc_git.bb | 7 +++++++ 2 files changed, 31 insertions(+) create mode 100644 recipes-osmocom/osmo-msc/osmo-msc.inc create mode 100644 recipes-osmocom/osmo-msc/osmo-msc_git.bb diff --git a/recipes-osmocom/osmo-msc/osmo-msc.inc b/recipes-osmocom/osmo-msc/osmo-msc.inc new file mode 100644 index 0000000..b4decf9 --- /dev/null +++ b/recipes-osmocom/osmo-msc/osmo-msc.inc @@ -0,0 +1,24 @@ +DESCRIPTION = "Osmocom MSC implementation" +HOMEPAGE = "https://osmocom.org/projects/osmomsc" +LICENSE = "AGPLv3" +LIC_FILES_CHKSUM = "file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788" + +DEPENDS = "libdbi libasn1c osmo-iuh libosmocore libosmo-abis libosmo-sccp libosmo-netif libsmpp34 osmo-mgw" + +INC_PR="r0.${META_TELEPHONY_OSMO_INC}" + +inherit autotools pkgconfig systemd + +EXTRA_OECONF += "--enable-smpp --enable-iu" + +RDEPENDS_${PN} = "libdbd-sqlite3" + +do_install_append() { + install -d ${D}${systemd_system_unitdir}/ + install -d ${D}${sysconfdir}/osmocom/ + + install -m 0644 ${S}/doc/examples/osmo-msc/osmo-msc.cfg ${D}${sysconfdir}/osmocom/ + install -m 0644 ${S}/contrib/systemd/osmo-msc.service ${D}${systemd_system_unitdir}/ +} + +SYSTEMD_SERVICE_${PN} = "${PN}.service" diff --git a/recipes-osmocom/osmo-msc/osmo-msc_git.bb b/recipes-osmocom/osmo-msc/osmo-msc_git.bb new file mode 100644 index 0000000..7d55237 --- /dev/null +++ b/recipes-osmocom/osmo-msc/osmo-msc_git.bb @@ -0,0 +1,7 @@ +require ${PN}.inc + +S = "${WORKDIR}/git" +SRCREV = "4e7ece0bd969389132d7babf8de4f57cf7d0126f" +SRC_URI = "git://git.osmocom.org/osmo-msc.git;protocol=git" +PV = "1.0.1+gitr${SRCPV}" +PR = "${INC_PR}.0" -- cgit v1.2.3