Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 24 lines (19 sloc) 0.68 kb
4cb41a1 @rphillips initial commit
authored
1 def set_options(opt):
2 # the gcc module provides a --debug-level option
3 opt.tool_options('compiler_cc')
4
5 def configure(conf):
6 conf.check_tool('compiler_cc')
7 if not conf.env.CC: conf.fatal('c compiler not found')
8
9 conf.check_cfg(package='openssl',
10 mandatory=True,
11 args='--cflags --libs')
12
13 conf.check_cfg(package='libcurl',
14 mandatory=True,
15 args='--cflags --libs')
16
17 def build(bld):
18 cprowl = bld.new_task_gen()
19 cprowl.features = ['cc', 'cprogram']
20 cprowl.source = "cprowl.c"
21 cprowl.name = "cprowl"
22 cprowl.target = "cprowl"
23 cprowl.install_path = '${PREFIX}/bin'
Something went wrong with that request. Please try again.