2016-05-10 21:43:48 +02:00
|
|
|
#!/usr/bin/python
|
|
|
|
import lutin.module as module
|
|
|
|
import lutin.tools as tools
|
|
|
|
import os
|
|
|
|
|
|
|
|
|
|
|
|
def get_type():
|
|
|
|
return "BINARY"
|
|
|
|
|
2016-05-10 22:48:33 +02:00
|
|
|
def get_sub_type():
|
|
|
|
return "SAMPLE"
|
|
|
|
|
2016-05-10 21:43:48 +02:00
|
|
|
def get_desc():
|
|
|
|
return "open SSL crypto library"
|
|
|
|
|
|
|
|
def get_licence():
|
|
|
|
return "BSD like + notif"
|
|
|
|
|
|
|
|
def get_compagny_type():
|
|
|
|
return "org"
|
|
|
|
|
|
|
|
def get_compagny_name():
|
|
|
|
return "openssl"
|
|
|
|
|
|
|
|
def get_maintainer():
|
|
|
|
return ["XXX XXX<rt@openssl.org>"]
|
|
|
|
|
|
|
|
def get_version():
|
|
|
|
return [1,0,2]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def create(target, module_name):
|
|
|
|
my_module = module.Module(__file__, module_name, get_type())
|
|
|
|
my_module.add_src_file([
|
|
|
|
'openssl/apps/apps.c',
|
|
|
|
'openssl/apps/app_rand.c',
|
|
|
|
'openssl/apps/enc.c',
|
|
|
|
])
|
|
|
|
my_module.compile_version("c", 1989, gnu=True)
|
2016-09-08 21:35:02 +02:00
|
|
|
my_module.add_depend('openssl')
|
2016-05-10 21:43:48 +02:00
|
|
|
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl", "apps"))
|
|
|
|
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl/crypto"))
|
|
|
|
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl"))
|
|
|
|
return my_module
|