diff --git a/lutin_edtaa3.py b/lutin_edtaa3.py index 090c95c..4641cec 100644 --- a/lutin_edtaa3.py +++ b/lutin_edtaa3.py @@ -2,20 +2,31 @@ import lutin.module as module import lutin.tools as tools + +def get_type(): + return "LIBRARY" + def get_desc(): return "edtaa3 library (create distance field from image)" -def create(target): - # module name is 'edn' and type binary. - my_module = module.Module(__file__, 'edtaa3', 'LIBRARY') - # add the file to compile: +def get_licence(): + return "BSD-2" + +def get_maintainer(): + return ["Stefan Gustavson "] + +def get_version(): + return [0,5] + +def create(target, module_name): + my_module = module.Module(__file__, module_name, get_type()) my_module.add_src_file([ 'edtaa3/edtaa3func.c' ]) my_module.add_header_file([ 'edtaa3/edtaa3func.h' ]) - my_module.compile_version_CC(1999) + my_module.compile_version("C", 1999) my_module.add_path(tools.get_current_path(__file__)) return my_module