[OE-core] [PATCH v4] libsolv: add new recipe

Martin Jansa martin.jansa at gmail.com
Fri Dec 11 21:32:46 UTC 2015


branch=master is the default, you can drop it

As you set the PV inside it would be nicer to rename it to _git.bb so it's
clear that it's from git.

On Fri, Dec 11, 2015 at 10:29 PM, Alejandro del Castillo <
alejandro.delcastillo at ni.com> wrote:

> Required by the optional opkg 0.3.1 libsolv backend.
>
> Signed-off-by: Alejandro del Castillo <alejandro.delcastillo at ni.com>
> ---
>  meta/recipes-extended/libsolv/libsolv_0.6.14.bb | 28
> +++++++++++++++++++++++++
>  1 file changed, 28 insertions(+)
>  create mode 100644 meta/recipes-extended/libsolv/libsolv_0.6.14.bb
>
> diff --git a/meta/recipes-extended/libsolv/libsolv_0.6.14.bb
> b/meta/recipes-extended/libsolv/libsolv_0.6.14.bb
> new file mode 100644
> index 0000000..11d6c70
> --- /dev/null
> +++ b/meta/recipes-extended/libsolv/libsolv_0.6.14.bb
> @@ -0,0 +1,28 @@
> +SUMMARY = "Library for solving packages and reading repositories"
> +HOMEPAGE = "https://github.com/openSUSE/libsolv"
> +BUGTRACKER = "https://github.com/openSUSE/libsolv/issues"
> +SECTION = "devel"
> +LICENSE = "BSD-3-Clause"
> +LIC_FILES_CHKSUM =
> "file://LICENSE.BSD;md5=62272bd11c97396d4aaf1c41bc11f7d8"
> +
> +DEPENDS = "expat zlib"
> +
> +PV = "0.6.14+git${SRCPV}"
> +
> +SRC_URI = "git://github.com/openSUSE/libsolv.git;branch=master"
> +SRCREV = "b1ea39233f86cd62fbab1964d7497244f6be0087"
> +
> +S = "${WORKDIR}/git"
> +
> +inherit cmake
> +
> +EXTRA_OECMAKE = "-DLIB=${baselib}"
> +
> +PACKAGES =+ "${PN}-tools ${PN}ext ${PN}ext-dbg"
> +
> +FILES_${PN}-dev += "${datadir}/cmake/Modules/FindLibSolv.cmake"
> +FILES_${PN}-tools = "${bindir}/*"
> +FILES_${PN}ext = "${libdir}/${PN}ext.so.*"
> +FILES_${PN}ext-dbg = "${libdir}/.debug/${PN}ext.so.*"
> +
> +BBCLASSEXTEND =+ "native nativesdk"
> --
> 1.9.1
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20151211/0f659e41/attachment-0002.html>


More information about the Openembedded-core mailing list