blob: 265a27c00d9d372ea0aaa16335ef34ac29133768 [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
13SRCREV = "605dd2645ef899e2b7c95709476fb51e28d7e378"
14
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)}"
22PACKAGECONFIG[rpm] = "-DENABLE_RPMMD=ON -DENABLE_RPMDB=ON,,rpm"
23
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"