pespin has submitted this change. ( https://gerrit.osmocom.org/c/meta-telephony/+/43358?usp=email )
Change subject: libsmpp34: Split into .inc + _git.bb files ......................................................................
libsmpp34: Split into .inc + _git.bb files
This way it is more similar to other osmocom recipes we usually update during OsmoCNI release.
While at it, add INC_PR as part of PR, and avoid using hardcoded version value in PV (use $SRCREV instead), as done in all osmocom recipes.
Change-Id: Ie8b46a97ea0f91095a74dc0d55647547a77fb541 --- A recipes-misc/libsmpp/libsmpp34.inc M recipes-misc/libsmpp/libsmpp34_git.bb 2 files changed, 18 insertions(+), 15 deletions(-)
Approvals: pespin: Looks good to me, approved; Verified
diff --git a/recipes-misc/libsmpp/libsmpp34.inc b/recipes-misc/libsmpp/libsmpp34.inc new file mode 100644 index 0000000..0de6b8d --- /dev/null +++ b/recipes-misc/libsmpp/libsmpp34.inc @@ -0,0 +1,15 @@ +DESCRIPTION = "C Open SMPP library" +HOMEPAGE = "http://osmocom.org/projects/libsmpp34/" +LICENSE = "LGPLv2.1+" +LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24" +SECTION = "libs" +DEPENDS = "libxml2" + +PARALLEL_MAKE = "" + +INC_PR="r0.${META_TELEPHONY_OSMO_INC}" + +inherit autotools pkgconfig + +PACKAGES =+ "${PN}-apps" +FILES_${PN}-apps = "${bindir}/*" diff --git a/recipes-misc/libsmpp/libsmpp34_git.bb b/recipes-misc/libsmpp/libsmpp34_git.bb index 6dda1fa..c225ecf 100644 --- a/recipes-misc/libsmpp/libsmpp34_git.bb +++ b/recipes-misc/libsmpp/libsmpp34_git.bb @@ -1,19 +1,7 @@ -DESCRIPTION = "C Open SMPP library" -HOMEPAGE = "http://osmocom.org/projects/libsmpp34/" -LICENSE = "LGPLv2.1+" -LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24" -SECTION = "libs" -DEPENDS = "libxml2" +require ${PN}.inc
S = "${WORKDIR}/git" SRCREV = "1.14.3" SRC_URI = "git://gerrit.osmocom.org/libsmpp34.git;protocol=https;tag=${SRCREV};nobranch=1" -PV = "1.14.3+gitr${SRCPV}" -PR = "r0" - -PARALLEL_MAKE = "" - -inherit autotools pkgconfig - -PACKAGES =+ "${PN}-apps" -FILES_${PN}-apps = "${bindir}/*" +PV = "${SRCREV}+gitr${SRCPV}" +PR = "${INC_PR}.0"