blob: f7902727c4e0b6787a8688824a800cf369e8977c [file] [log] [blame]
Andrew Geissler82c905d2020-04-13 13:39:40 -05001SUMMARY = "Library for solving packages and reading repositories"
2HOMEPAGE = "https://github.com/openSUSE/libsolv"
3BUGTRACKER = "https://github.com/openSUSE/libsolv/issues"
4SECTION = "devel"
5LICENSE = "BSD-3-Clause"
6LIC_FILES_CHKSUM = "file://LICENSE.BSD;md5=62272bd11c97396d4aaf1c41bc11f7d8"
7
8DEPENDS = "expat zlib"
9
10SRC_URI = "git://github.com/openSUSE/libsolv.git \
11"
12
Andrew Geissler6ce62a22020-11-30 19:58:47 -060013SRCREV = "7046fb004987c7f1b3722628d9a4ca1c67577188"
Andrew Geissler82c905d2020-04-13 13:39:40 -050014
15UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)"
16
17S = "${WORKDIR}/git"
18
19inherit cmake
20
21PACKAGECONFIG ??= "${@bb.utils.contains('PACKAGE_CLASSES','package_rpm','rpm','',d)}"
Andrew Geissler4ed12e12020-06-05 18:00:41 -050022PACKAGECONFIG[rpm] = "-DENABLE_RPMMD=ON -DENABLE_RPMDB=ON -DENABLE_RPMDB_BDB=ON,,rpm"
Andrew Geissler82c905d2020-04-13 13:39:40 -050023
24EXTRA_OECMAKE = "-DMULTI_SEMANTICS=ON -DENABLE_COMPLEX_DEPS=ON"
25
26PACKAGES =+ "${PN}-tools ${PN}ext"
27
28FILES_${PN}-tools = "${bindir}/*"
29FILES_${PN}ext = "${libdir}/${PN}ext.so.*"
30
31BBCLASSEXTEND = "native nativesdk"