diff --git a/recipes-osmocom/libosmo-sccp/libosmo-sccp_git.bb b/recipes-osmocom/libosmo-sccp/libosmo-sccp_git.bb new file mode 100644 index 0000000000..058bf9d202 --- /dev/null +++ b/recipes-osmocom/libosmo-sccp/libosmo-sccp_git.bb @@ -0,0 +1,12 @@ +require ${PN}.inc + +DEPENDS += " libosmo-netif lksctp-tools " +S = "${WORKDIR}/git" +SRCREV = "8e708d1f2da1b187f631bf08172a5194a85b1a23" +SRC_URI = "git://git.osmocom.org/libosmo-sccp.git;protocol=git" +PR = "${INC_PR}.1" + +# because "${WORKDIR}/git" is not a git repo, it can't figure out the version +do_configure_prepend() { + echo "${PV}" > ${S}/.tarball-version +}