Skip to content

Commit

Permalink
ocilib: add install to build
Browse files Browse the repository at this point in the history
  • Loading branch information
inPhraZ committed Jun 19, 2024
1 parent 8c125c0 commit e1cc157
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions recipes/ocilib/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,16 +54,16 @@ def build(self):
autotools = Autotools(self)
autotools.configure()
autotools.make()
autotools.install()

def package(self):
copy(self, "LICENSE", self.source_folder, os.path.join(self.package_folder, "licenses"))
copy(self, "*", os.path.join(self.source_folder, "include"), os.path.join(self.package_folder, "include"))
copy(self, "*.lib", self.source_folder, os.path.join(self.package_folder, "lib"), keep_path=False)
copy(self, "*.a", self.source_folder, os.path.join(self.package_folder, "lib"), keep_path=False)
rm(self, "*.la", os.path.join(self.package_folder, "lib"))
rmdir(self, os.path.join(self.package_folder, "lib", "pkgconfig"))
rmdir(self, os.path.join(self.package_folder, "share"))

def package_info(self):
self.cpp_info.libs = ["ocilib"]
self.cpp_info.set_property("pkg_config_name", "ocilib")
self.cpp_info.system_libs.append("dl")

0 comments on commit e1cc157

Please sign in to comment.