iniparser_4.1.bb 844 B

12345678910111213141516171819202122232425262728
  1. SUMMARY = "The iniParser library is a simple C library offering INI file parsing services (both reading and writing)."
  2. SECTION = "libs"
  3. HOMEPAGE = "https://github.com/ndevilla/iniparser"
  4. LICENSE = "MIT"
  5. LIC_FILES_CHKSUM = "file://LICENSE;md5=e02baf71c76e0650e667d7da133379ac"
  6. DEPENDS = "doxygen-native"
  7. PV .= "+git"
  8. SRC_URI = "git://github.com/ndevilla/iniparser.git;protocol=https;branch=master \
  9. file://0001-iniparser.pc-Make-libpath-a-variable.patch \
  10. file://Add-CMake-support.patch \
  11. file://CVE-2023-33461.patch \
  12. "
  13. SRCREV= "deb85ad4936d4ca32cc2260ce43323d47936410d"
  14. S = "${WORKDIR}/git"
  15. inherit cmake
  16. do_install:append() {
  17. install -Dm 0644 ${S}/iniparser.pc ${D}${libdir}/pkgconfig/iniparser.pc
  18. sed -i -e 's,@baselib@,${baselib},g' ${D}${libdir}/pkgconfig/iniparser.pc
  19. }
  20. BBCLASSEXTEND += "native"