Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame^] | 1 | SUMMARY = "Library for solving packages and reading repositories" |
| 2 | HOMEPAGE = "https://github.com/openSUSE/libsolv" |
| 3 | BUGTRACKER = "https://github.com/openSUSE/libsolv/issues" |
| 4 | SECTION = "devel" |
| 5 | LICENSE = "BSD-3-Clause" |
| 6 | LIC_FILES_CHKSUM = "file://LICENSE.BSD;md5=62272bd11c97396d4aaf1c41bc11f7d8" |
| 7 | |
| 8 | DEPENDS = "expat zlib" |
| 9 | |
| 10 | SRC_URI = "git://github.com/openSUSE/libsolv.git" |
| 11 | SRC_URI_append_libc-musl = " file://0001-Add-fallback-fopencookie-implementation.patch \ |
| 12 | file://0002-Fixes-to-internal-fopencookie-implementation.patch \ |
| 13 | " |
| 14 | |
| 15 | SRCREV = "38c5374d4712667b0b6ada4bf78ddbb343095d0c" |
| 16 | UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)" |
| 17 | |
| 18 | S = "${WORKDIR}/git" |
| 19 | |
| 20 | inherit cmake |
| 21 | |
| 22 | PACKAGECONFIG ??= "rpm" |
| 23 | PACKAGECONFIG[rpm] = "-DENABLE_RPMMD=ON -DENABLE_RPMDB=ON,,rpm" |
| 24 | |
| 25 | EXTRA_OECMAKE = "-DLIB=${baselib} -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" |