Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -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 = "7b9b7bf388f3f059529c6f50c40b30919fef30f9" |
| 11 | |
| 12 | S = "${WORKDIR}/git" |
| 13 | |
| 14 | DEPENDS = "curl expat glib-2.0 openssl attr gpgme" |
| 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" |
| 19 | |
| 20 | BBCLASSEXTEND = "native nativesdk" |
| 21 | |