added my Recipes

This commit is contained in:
2024-07-11 14:16:35 +02:00
parent 38bc4f53ac
commit 09b621d929
7118 changed files with 525762 additions and 3 deletions

View File

@@ -0,0 +1,40 @@
From d6eee2d52f31e034f9d84d38a749d86a63d5b769 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Mon, 22 May 2023 20:37:47 -0700
Subject: [PATCH] curlpp-config.in: Remove references to absolute buildpaths
Upstream-Status: Pending
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
extras/curlpp-config.in | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/extras/curlpp-config.in b/extras/curlpp-config.in
index b0bd964..1416b94 100644
--- a/extras/curlpp-config.in
+++ b/extras/curlpp-config.in
@@ -43,7 +43,7 @@ while test $# -gt 0; do
case "$1" in
--cc)
- echo @CC@
+ curl-config --cc
;;
--prefix)
@@ -73,10 +73,10 @@ while test $# -gt 0; do
;;
--libs)
- echo -L@libdir@ @LDFLAGS@ @LIBS@ `curl-config --libs` -lcurlpp
+ echo `curl-config --libs` -lcurlpp
;;
--static-libs)
- echo @libdir_static@/libcurlpp.@libext@ @LDFLAGS@ @LIBS@ `curl-config --static-libs`
+ echo $prefix/@libdir_static@/libcurlpp.@libext@ `curl-config --static-libs`
;;
*)
--
2.40.1

View File

@@ -0,0 +1,26 @@
SUMMARY = "C++ library for client-side URL transfers"
HOMEPAGE = "http://www.curlpp.org/"
SECTION = "libdevel"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://doc/LICENSE;md5=fd0c9adf285a69aa3b4faf34384e1029"
DEPENDS = "curl"
DEPENDS:class-native = "curl-native"
SRC_URI = "git://github.com/jpbarrette/curlpp.git;branch=master;protocol=https \
file://0001-curlpp-config.in-Remove-references-to-absolute-build.patch"
SRCREV = "592552a165cc569dac7674cb7fc9de3dc829906f"
S = "${WORKDIR}/git"
inherit cmake pkgconfig binconfig
BBCLASSEXTEND = "native nativesdk"
do_install:append() {
sed -e 's@[^ ]*-ffile-prefix-map=[^ "]*@@g' \
-e 's@[^ ]*-fdebug-prefix-map=[^ "]*@@g' \
-e 's@[^ ]*-fmacro-prefix-map=[^ "]*@@g' \
-i ${D}${libdir}/pkgconfig/*.pc
}