From cf92cbca9a5e359e66a235c7789c3a310ca95e94 Mon Sep 17 00:00:00 2001 From: eyck Date: Sun, 5 Jan 2020 08:40:02 +0100 Subject: [PATCH] Added elfio --- elfio/conanfile.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 elfio/conanfile.py diff --git a/elfio/conanfile.py b/elfio/conanfile.py new file mode 100644 index 0000000..9e0c5c9 --- /dev/null +++ b/elfio/conanfile.py @@ -0,0 +1,20 @@ +from conans import ConanFile, CMake, tools + + +class ElfioConan(ConanFile): + name = "elfio" + version = "1.3.2" + license = "MIT License" + url = "http://git.code.sf.net/p/elfio/code" + description = "ELFIO is a header-only C++ library intended for reading and generating files in the ELF binary format" + no_copy_source = True + + def source(self): + self.run("git clone http://git.code.sf.net/p/elfio/code") + + def package(self): + self.copy("elfio/*.hpp", dst="include", src="code") + + def package_info(self): + self.info.header_only() +