@@ -11,13 +11,14 @@ class kubernetes_client_cRecipe(ConanFile):
11
11
# Optional metadata
12
12
license = "Apache-2.0"
13
13
url = "https://github.com/kubernetes-client/c"
14
+ homepage = "https://github.com/kubernetes-client/c"
14
15
description = "Official C client library for Kubernetes"
15
16
topics = ("kubernetes" , "k8s" , "kubernetes-client" , "k8s-client" )
16
17
17
18
# Binary configuration
18
19
settings = "os" , "compiler" , "build_type" , "arch"
19
- options = {"shared" : [True , False ], "fPIC" : [True , False ], "openssl_shared" :[ True , False ], " curl_version" : ["7" , "8" ]}
20
- default_options = {"shared" : False , "fPIC" : True , "openssl_shared" : True , " curl_version" : "8" }
20
+ options = {"shared" : [True , False ], "fPIC" : [True , False ], "curl_version" : ["7" , "8" ]}
21
+ default_options = {"shared" : False , "fPIC" : True , "curl_version" : "8" }
21
22
22
23
# Sources are located in the same place as this recipe, copy them to the recipe
23
24
exports_sources = "config.h.in" , "ConfigureChecks.cmake" , "PreTarget.cmake" , "PostTarget.cmake" , "CMakeLists.txt" , "src/*" , "external/*" , "api/*" , "model/*" , "include/*" , "config/*" , "watch/*" , "websocket/*"
@@ -29,7 +30,7 @@ def config_options(self):
29
30
def configure (self ):
30
31
if self .options .shared :
31
32
self .options .rm_safe ("fPIC" )
32
- self .options ["openssl /*" ].shared = self . options . openssl_shared
33
+ self .options ["libwebsockets /*" ].with_zlib = "zlib"
33
34
34
35
def layout (self ):
35
36
cmake_layout (self )
@@ -61,6 +62,6 @@ def package_info(self):
61
62
62
63
def requirements (self ):
63
64
self .requires ("libcurl/[~{}]" .format (self .options .curl_version ), transitive_headers = True )
64
- self .requires ("openssl/[^ 3]" , force = True )
65
+ self .requires ("openssl/[~ 3]" , force = True )
65
66
self .requires ("libwebsockets/[^4.2]" , transitive_headers = True )
66
67
self .requires ("libyaml/[^0.2.5]" )
0 commit comments