perlΒΆ

Support for Perl extensions. A C/C++ compiler is required:

def options(opt):
        opt.load('compiler_c perl')
def configure(conf):
        conf.load('compiler_c perl')
        conf.check_perl_version((5,6,0))
        conf.check_perl_ext_devel()
        conf.check_perl_module('Cairo')
        conf.check_perl_module('Devel::PPPort 4.89')
def build(bld):
        bld(
                features     = 'c cshlib perlext',
                source       = 'Mytest.xs',
                target       = 'Mytest',
                install_path = '${ARCHDIR_PERL}/auto')
        bld.install_files('${ARCHDIR_PERL}', 'Mytest.pm')

Features defined in this module: