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

Alejandro del Castillo alejandro.delcastillo at ni.com
Sat Dec 12 00:14:31 UTC 2015


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_git.bb | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 meta/recipes-extended/libsolv/libsolv_git.bb

diff --git a/meta/recipes-extended/libsolv/libsolv_git.bb b/meta/recipes-extended/libsolv/libsolv_git.bb
new file mode 100644
index 0000000..2011487
--- /dev/null
+++ b/meta/recipes-extended/libsolv/libsolv_git.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"
+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




More information about the Openembedded-core mailing list