import os
def dependencies(target):
- return (('locked_sstream', None),)
+ return (('locked_sstream', 'v0.0.2'),)
def build(target, options):
cmd = './waf configure --prefix=%s' % target.directory
Name: libcxml
Description: Library to simplify XML parsing with libxml++
Version: @version@
-Requires: libxml++-2.6 glibmm-2.4
+Requires: libxml++-2.6 glibmm-2.4 locked_sstream
Libs: @libs@
Cflags: -I${includedir}
obj.vnum = bld.env.API_VERSION
obj.target = 'cxml'
obj.export_includes = ['.']
- obj.uselib = 'LIBXML++ BOOST_FILESYSTEM'
+ obj.uselib = 'LIBXML++ BOOST_FILESYSTEM LOCKED_SSTREAM'
obj.source = "cxml.cc"
bld.install_files('${PREFIX}/include/libcxml', "cxml.h")
boost_lib_suffix = ''
conf.check_cfg(package='libxml++-2.6', args='--cflags --libs', uselib_store='LIBXML++', mandatory=True)
+ conf.check_cfg(package='locked_sstream', args='--cflags --libs', uselib_store='LOCKED_SSTREAM', mandatory=True)
conf.check_cxx(fragment="""
#include <boost/filesystem.hpp>\n