libasn1c: Introduce recipe

Change-Id: I50d990b06c56c3bfa71e7268694702300c0c9a26
diff --git a/recipes-osmocom/libasn1c/libasn1c.inc b/recipes-osmocom/libasn1c/libasn1c.inc
new file mode 100644
index 0000000..f1aa7b1
--- /dev/null
+++ b/recipes-osmocom/libasn1c/libasn1c.inc
@@ -0,0 +1,10 @@
+SUMMARY = "Runtime library of Lev Walkin's asn1c split out as separate library"
+HOMEPAGE = "https://osmocom.org/"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://COPYING;md5=25192323023bb0db6998ac6fcd5aa6a1"
+
+DEPENDS = "libtalloc"
+
+INC_PR="r0.${META_TELEPHONY_OSMO_INC}"
+
+inherit autotools pkgconfig
diff --git a/recipes-osmocom/libasn1c/libasn1c_git.bb b/recipes-osmocom/libasn1c/libasn1c_git.bb
new file mode 100644
index 0000000..0d4800a
--- /dev/null
+++ b/recipes-osmocom/libasn1c/libasn1c_git.bb
@@ -0,0 +1,7 @@
+require ${PN}.inc
+
+S = "${WORKDIR}/git"
+SRCREV = "aaae8c76496a97050264e4c49e539b0420496737"
+SRC_URI = "git://git.osmocom.org/libasn1c.git;protocol=git"
+PV = "0.9.28+gitr${SRCPV}"
+PR = "${INC_PR}.0"