Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 1 | SUMMARY = "Libcomps is alternative for yum.comps library (which is for managing rpm package groups)." |
| 2 | LICENSE = "GPLv2" |
| 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" |
| 4 | |
| 5 | SRC_URI = "git://github.com/rpm-software-management/libcomps.git \ |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 6 | file://0001-Add-crc32.c-to-sources-list.patch \ |
Andrew Geissler | c182c62 | 2020-05-15 14:13:32 -0500 | [diff] [blame] | 7 | file://0002-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch \ |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 8 | " |
| 9 | |
Andrew Geissler | c182c62 | 2020-05-15 14:13:32 -0500 | [diff] [blame] | 10 | SRCREV = "b213f749405d84e989b25e183bcf28ce701696dd" |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 11 | |
| 12 | S = "${WORKDIR}/git" |
| 13 | |
| 14 | inherit cmake distutils3-base |
| 15 | |
| 16 | DEPENDS += "libxml2 expat libcheck" |
| 17 | |
| 18 | EXTRA_OECMAKE = " -DPYTHON_INSTALL_DIR=${PYTHON_SITEPACKAGES_DIR} -DPYTHON_DESIRED=3" |
| 19 | OECMAKE_SOURCEPATH = "${S}/libcomps" |
| 20 | |
| 21 | BBCLASSEXTEND = "native nativesdk" |
| 22 | |