mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-05 02:50:46 +00:00
iniparser: Update to latest tip of trunk
Install .pc file Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
+23
@@ -0,0 +1,23 @@
|
||||
From 1761298b73c759c07e4652ada307f68512a75ff1 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Fri, 25 Mar 2022 20:44:41 -0700
|
||||
Subject: [PATCH] iniparser.pc: Make libpath a variable
|
||||
|
||||
Will set according to baselib that yocto exports.
|
||||
|
||||
Upstream-Status: Inappropriate [OE-specific]
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
iniparser.pc | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
--- a/iniparser.pc
|
||||
+++ b/iniparser.pc
|
||||
@@ -1,6 +1,6 @@
|
||||
prefix=/usr
|
||||
exec_prefix=/usr
|
||||
-libdir=${exec_prefix}/lib
|
||||
+libdir=${exec_prefix}/@baselib@
|
||||
includedir=${prefix}/include
|
||||
datarootdir=${prefix}/share
|
||||
datadir=${datarootdir}
|
||||
@@ -6,12 +6,19 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=e02baf71c76e0650e667d7da133379ac"
|
||||
|
||||
DEPENDS = "doxygen-native"
|
||||
|
||||
PV .= "+git${SRCPV}"
|
||||
|
||||
SRC_URI = "git://github.com/ndevilla/iniparser.git;protocol=https;branch=master \
|
||||
file://0001-iniparser.pc-Make-libpath-a-variable.patch \
|
||||
file://Add-CMake-support.patch"
|
||||
|
||||
# tag 4.1
|
||||
SRCREV= "0a38e85c9cde1e099ca3bf70083bd00f89c3e5b6"
|
||||
SRCREV= "deb85ad4936d4ca32cc2260ce43323d47936410d"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit cmake
|
||||
|
||||
do_install:append() {
|
||||
install -Dm 0644 ${S}/iniparser.pc ${D}${libdir}/pkgconfig/iniparser.pc
|
||||
sed -i -e 's,@baselib@,${baselib},g' ${D}${libdir}/pkgconfig/iniparser.pc
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user