xref: /OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/libcomps/libcomps_0.1.18.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1SUMMARY = "Libcomps is alternative for yum.comps library (which is for managing rpm package groups)."
2HOMEPAGE = "https://github.com/rpm-software-management/libcomps"
3DESCRIPTION = "Libcomps is alternative for yum.comps library. It's written in pure C as library and there's bindings for python2 and python3."
4LICENSE = "GPL-2.0-only"
5LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
6
7SRC_URI = "git://github.com/rpm-software-management/libcomps.git;branch=master;protocol=https \
8           file://0002-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch \
9           "
10
11SRCREV = "dee4ae37f7818709802de28c4d16fa823bd83ae2"
12
13S = "${WORKDIR}/git"
14
15inherit cmake setuptools3-base
16
17DEPENDS += "libxml2 expat libcheck"
18
19EXTRA_OECMAKE = " -DPYTHON_INSTALL_DIR=${PYTHON_SITEPACKAGES_DIR} -DPYTHON_DESIRED=3"
20OECMAKE_SOURCEPATH = "${S}/libcomps"
21
22BBCLASSEXTEND = "native nativesdk"
23
24