osmo-iuh: Introduce recipe

Change-Id: I33d6dccad2336b83f4b4e89769b0796d1c87ed94
diff --git a/recipes-osmocom/osmo-iuh/osmo-iuh.inc b/recipes-osmocom/osmo-iuh/osmo-iuh.inc
new file mode 100644
index 0000000..118827e
--- /dev/null
+++ b/recipes-osmocom/osmo-iuh/osmo-iuh.inc
@@ -0,0 +1,20 @@
+DESCRIPTION = "Osmocom Iuh and HNB-GW implementation"
+HOMEPAGE = "https://osmocom.org/projects/osmohnbgw"
+LICENSE = "AGPLv3"
+LIC_FILES_CHKSUM = "file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788"
+
+DEPENDS = "libosmocore libosmo-netif libosmo-sccp libasn1c"
+
+INC_PR="r0.${META_TELEPHONY_OSMO_INC}"
+
+inherit autotools pkgconfig systemd
+
+do_install_append() {
+	install -d ${D}${systemd_system_unitdir}/
+	install -d ${D}${sysconfdir}/osmocom/
+
+	install -m 0644 ${S}/doc/examples/osmo-hnbgw.cfg ${D}${sysconfdir}/osmocom/
+	install -m 0644 ${S}/contrib/systemd/osmo-hnbgw.service ${D}${systemd_system_unitdir}/
+}
+
+SYSTEMD_SERVICE_${PN} = "osmo-hnbgw.service"
diff --git a/recipes-osmocom/osmo-iuh/osmo-iuh_git.bb b/recipes-osmocom/osmo-iuh/osmo-iuh_git.bb
new file mode 100644
index 0000000..821373d
--- /dev/null
+++ b/recipes-osmocom/osmo-iuh/osmo-iuh_git.bb
@@ -0,0 +1,7 @@
+require ${PN}.inc
+
+S = "${WORKDIR}/git"
+SRCREV = "5a3df8fa9ffc4400367250a0f9ff0e20dc4b5d3b"
+SRC_URI = "git://git.osmocom.org/osmo-iuh.git;protocol=git"
+PV = "0.1.0+gitr${SRCPV}"
+PR = "${INC_PR}.0"