Andrew Geissler | eff2747 | 2021-10-29 15:35:00 -0500 | [diff] [blame] | 1 | SUMMARY = "Libcomps is alternative for yum.comps library (which is for managing rpm package groups)." |
| 2 | HOMEPAGE = "https://github.com/rpm-software-management/libcomps" |
| 3 | DESCRIPTION = "Libcomps is alternative for yum.comps library. It's written in pure C as library and there's bindings for python2 and python3." |
| 4 | LICENSE = "GPLv2" |
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" |
| 6 | |
| 7 | SRC_URI = "git://github.com/rpm-software-management/libcomps.git \ |
| 8 | file://0001-Add-crc32.c-to-sources-list.patch \ |
| 9 | file://0002-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch \ |
| 10 | " |
| 11 | |
| 12 | SRCREV = "dee4ae37f7818709802de28c4d16fa823bd83ae2" |
| 13 | |
| 14 | S = "${WORKDIR}/git" |
| 15 | |
| 16 | inherit cmake distutils3-base |
| 17 | |
| 18 | DEPENDS += "libxml2 expat libcheck" |
| 19 | |
| 20 | EXTRA_OECMAKE = " -DPYTHON_INSTALL_DIR=${PYTHON_SITEPACKAGES_DIR} -DPYTHON_DESIRED=3" |
| 21 | OECMAKE_SOURCEPATH = "${S}/libcomps" |
| 22 | |
| 23 | BBCLASSEXTEND = "native nativesdk" |
| 24 | |