mirror of https://github.com/kokke/tiny-AES-c
Remove Package author, and add Unlicense
This commit is contained in:
parent
139cebe407
commit
ba0f2fd14d
|
@ -4,8 +4,7 @@ from conans import ConanFile, CMake
|
||||||
class TinyAesCConan(ConanFile):
|
class TinyAesCConan(ConanFile):
|
||||||
name = "tiny-AES-c"
|
name = "tiny-AES-c"
|
||||||
version = "1.0.0"
|
version = "1.0.0"
|
||||||
license = "MIT"
|
license = "The Unlicense"
|
||||||
author = "Torfinn Berset <torfinn@bloomlife.com>"
|
|
||||||
url = "https://github.com/kokke/tiny-AES-c"
|
url = "https://github.com/kokke/tiny-AES-c"
|
||||||
description = "Small portable AES128/192/256 in C"
|
description = "Small portable AES128/192/256 in C"
|
||||||
topics = ("encryption", "crypto", "AES")
|
topics = ("encryption", "crypto", "AES")
|
||||||
|
@ -13,6 +12,7 @@ class TinyAesCConan(ConanFile):
|
||||||
|
|
||||||
generators = "cmake"
|
generators = "cmake"
|
||||||
exports_sources = ["CMakeLists.txt", "*.c", '*.h', '*.hpp']
|
exports_sources = ["CMakeLists.txt", "*.c", '*.h', '*.hpp']
|
||||||
|
exports = ["unlicense.txt"]
|
||||||
|
|
||||||
_options_dict = {
|
_options_dict = {
|
||||||
# enable AES128
|
# enable AES128
|
||||||
|
@ -59,6 +59,7 @@ class TinyAesCConan(ConanFile):
|
||||||
self.copy("*.h", dst="include")
|
self.copy("*.h", dst="include")
|
||||||
self.copy("*.hpp", dst="include")
|
self.copy("*.hpp", dst="include")
|
||||||
self.copy("*.a", dst="lib", keep_path=False)
|
self.copy("*.a", dst="lib", keep_path=False)
|
||||||
|
self.copy("unlicense.txt")
|
||||||
|
|
||||||
def package_info(self):
|
def package_info(self):
|
||||||
self.cpp_info.libs = ["tiny-aes"]
|
self.cpp_info.libs = ["tiny-aes"]
|
||||||
|
|
Loading…
Reference in New Issue