uvw/conanfile.py
Michele Caini 58b299ee60 Updated to libuv 1.41 (close #237).
uv_socketpair and uv_pipe aren't explicitly eported via uwv.
2021-02-14 16:15:20 +01:00

25 lines
764 B
Python

#!/usr/bin/env python
# -*- coding: utf-8 -*-
from conans import ConanFile
class UVMConan(ConanFile):
name = "uvw"
description = "Header-only, event based, tiny and easy to use libuv wrapper in modern C++"
homepage = "https://github.com/skypjack/uvw"
url = homepage
license = "MIT"
topics = ("conan", "uvw", "libuv", "header-only", "wrapper", "event-loop")
author = "Michele Caini <michele.caini@gmail.com>"
exports = "LICENSE"
exports_sources = "src/*"
no_copy_source = True
requires = "libuv/1.41.0@bincrafters/stable"
def package(self):
self.copy(pattern="LICENSE", dst="licenses")
self.copy(pattern="*.hpp", dst="include", src="src")
def package_id(self):
self.info.header_only()