curl-lutin/lutin_curl-bin.py

101 lines
2.5 KiB
Python

#!/usr/bin/python
import realog.debug as debug
import lutin.tools as tools
import os
def get_type():
return "BINARY"
def get_desc():
return "cURL binary"
def get_licence():
return "MIT"
def get_compagny_type():
return "org"
def get_compagny_name():
return "haxx"
def get_maintainer():
return ["Daniel Stenberg<daniel@haxx.se>"]
def get_version():
return [7,48,0]
def configure(target, my_module):
my_module.add_src_file([
'curl/src/slist_wc.c',
'curl/src/tool_binmode.c',
'curl/src/tool_bname.c',
'curl/src/tool_cb_dbg.c',
'curl/src/tool_cb_hdr.c',
'curl/src/tool_cb_prg.c',
'curl/src/tool_cb_rea.c',
'curl/src/tool_cb_see.c',
'curl/src/tool_cb_wrt.c',
'curl/src/tool_cfgable.c',
'curl/src/tool_convert.c',
'curl/src/tool_dirhie.c',
'curl/src/tool_doswin.c',
'curl/src/tool_easysrc.c',
'curl/src/tool_formparse.c',
'curl/src/tool_getparam.c',
'curl/src/tool_getpass.c',
'curl/src/tool_help.c',
'curl/src/tool_helpers.c',
'curl/src/tool_homedir.c',
#'curl/src/tool_hugehelp.c',
'generate/tool_hugehelp.c',
'curl/src/tool_libinfo.c',
'curl/src/tool_main.c',
'curl/src/tool_metalink.c',
'curl/src/tool_mfiles.c',
'curl/src/tool_msgs.c',
'curl/src/tool_operate.c',
'curl/src/tool_operhlp.c',
'curl/src/tool_panykey.c',
'curl/src/tool_paramhlp.c',
'curl/src/tool_parsecfg.c',
'curl/src/tool_strdup.c',
'curl/src/tool_setopt.c',
'curl/src/tool_sleep.c',
'curl/src/tool_urlglob.c',
'curl/src/tool_util.c',
'curl/src/tool_vms.c',
'curl/src/tool_writeenv.c',
'curl/src/tool_writeout.c',
'curl/src/tool_xattr.c',
'curl/lib/strtoofft.c',
'curl/lib/rawstr.c',
'curl/lib/nonblock.c',
'curl/lib/warnless.c',
])
my_module.add_flag('c', [
'-DHAVE_CONFIG_H',
])
my_module.compile_version("c", 1989, gnu=True)
my_module.add_depend('curl')
my_module.add_path("curl/src")
# Bad lib implementation ...
my_module.add_path("curl/lib")
my_module.add_path("curl/include")
my_module.add_path("curl/include/curl")
my_module.add_path("generate")
# end bad
return True
"""
',/home/heero/dev/perso/framework/curl-lutin/curl/src',,
-DHAVE_CONFIG_H
-I/home/heero/dev/perso/framework/curl-lutin/curl/include/curl
-I/home/heero/dev/perso/framework/curl-lutin/curl/include
-I/home/heero/dev/perso/framework/curl-lutin/curl/lib
-I/home/heero/dev/perso/framework/curl-lutin/curl/src
"""