Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 1 | SUMMARY = "Library for solving packages and reading repositories" |
Andrew Geissler | 95ac1b8 | 2021-03-31 14:34:31 -0500 | [diff] [blame] | 2 | DESCRIPTION = "This is libsolv, a free package dependency solver using a satisfiability algorithm for solving packages and reading repositories" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 3 | HOMEPAGE = "https://github.com/openSUSE/libsolv" |
| 4 | BUGTRACKER = "https://github.com/openSUSE/libsolv/issues" |
| 5 | SECTION = "devel" |
| 6 | LICENSE = "BSD-3-Clause" |
| 7 | LIC_FILES_CHKSUM = "file://LICENSE.BSD;md5=62272bd11c97396d4aaf1c41bc11f7d8" |
| 8 | |
| 9 | DEPENDS = "expat zlib" |
| 10 | |
| 11 | SRC_URI = "git://github.com/openSUSE/libsolv.git \ |
| 12 | " |
| 13 | |
Andrew Geissler | c926e17 | 2021-05-07 16:11:35 -0500 | [diff] [blame] | 14 | SRCREV = "c773294be6b0a2425f344a8999f173fb00cfd16f" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 15 | |
| 16 | UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)" |
| 17 | |
| 18 | S = "${WORKDIR}/git" |
| 19 | |
| 20 | inherit cmake |
| 21 | |
| 22 | PACKAGECONFIG ??= "${@bb.utils.contains('PACKAGE_CLASSES','package_rpm','rpm','',d)}" |
William A. Kennington III | ac69b48 | 2021-06-02 12:28:27 -0700 | [diff] [blame] | 23 | PACKAGECONFIG[rpm] = "-DENABLE_RPMMD=ON -DENABLE_RPMDB=ON -DENABLE_RPMDB_BDB=ON,,db rpm" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 24 | |
| 25 | EXTRA_OECMAKE = "-DMULTI_SEMANTICS=ON -DENABLE_COMPLEX_DEPS=ON" |
| 26 | |
| 27 | PACKAGES =+ "${PN}-tools ${PN}ext" |
| 28 | |
| 29 | FILES_${PN}-tools = "${bindir}/*" |
| 30 | FILES_${PN}ext = "${libdir}/${PN}ext.so.*" |
| 31 | |
| 32 | BBCLASSEXTEND = "native nativesdk" |