diff --git a/conan-pkgs/Signals/conanfile.py b/conan-pkgs/Signals/conanfile.py new file mode 100644 index 000000000..c6486b448 --- /dev/null +++ b/conan-pkgs/Signals/conanfile.py @@ -0,0 +1,23 @@ +from conans import ConanFile, CMake, tools + + +class LibCommuniConan(ConanFile): + name = "signals" + version = "0.1" + license = "MIT" + author = "Edgar Edgar@AnotherFoxGuy.com" + url = "https://github.com/Chatterino/chatterino2" + description = "simple C++ signal library" + settings = "os", "compiler", "build_type", "arch" + generators = "cmake" + + def source(self): + git = tools.Git() + git.clone("https://github.com/pajlada/signals.git") + git.checkout("baf5bb04bd13b090e405e0447c89a811f7e23ddc") + + def package(self): + self.copy("include/*.hpp") + + def package_id(self): + self.info.header_only()