6
0
mirror of https://github.com/Minres/conan-recipes.git synced 2024-12-22 08:18:04 +01:00

Added elfio

This commit is contained in:
Eyck Jentzsch 2020-01-05 08:40:02 +01:00
parent 5398ce4b37
commit cf92cbca9a

20
elfio/conanfile.py Normal file
View File

@ -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()