mirror of
https://github.com/Minres/conan-recipes.git
synced 2025-03-31 09:27:15 +02:00
Added elfio
This commit is contained in:
parent
5398ce4b37
commit
cf92cbca9a
20
elfio/conanfile.py
Normal file
20
elfio/conanfile.py
Normal 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()
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user