Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame^] | 1 | SUMMARY = " A library providing C and Python (libcURL like) API for downloading linux repository metadata and packages." |
| 2 | LICENSE = "LGPLv2.1" |
| 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" |
| 4 | |
| 5 | SRC_URI = "git://github.com/rpm-software-management/librepo.git \ |
| 6 | file://0002-Do-not-try-to-obtain-PYTHON_INSTALL_DIR-by-running-p.patch \ |
| 7 | file://0004-Set-gpgme-variables-with-pkg-config-not-with-cmake-m.patch \ |
| 8 | " |
| 9 | |
| 10 | SRCREV = "928c2d9c66f0d10477b8c9d1192785b88e2b1155" |
| 11 | |
| 12 | S = "${WORKDIR}/git" |
| 13 | |
| 14 | DEPENDS = "curl glib-2.0 openssl attr gpgme libxml2" |
| 15 | |
| 16 | inherit cmake distutils3-base pkgconfig |
| 17 | |
| 18 | EXTRA_OECMAKE = " -DPYTHON_INSTALL_DIR=${PYTHON_SITEPACKAGES_DIR} -DPYTHON_DESIRED=3 -DENABLE_TESTS=OFF -DENABLE_DOCS=OFF -DWITH_ZCHUNK=OFF" |
| 19 | |
| 20 | BBCLASSEXTEND = "native nativesdk" |
| 21 | |