Remove Package author, and add Unlicense

This commit is contained in:
Torfinn Berset 2019-01-31 14:15:30 +01:00
parent 139cebe407
commit ba0f2fd14d
1 changed files with 3 additions and 2 deletions

View File

@ -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"]