Alien-Judy

 view release on metacpan or  search on metacpan

Build.PL  view on Meta::CPAN


    print q{

---------------------------------------------------------------------
This module will build and install Judy.

It requires a C compiler and GNU make.
};

    my $make_def = find_gnu_make();
    my $make = $builder->prompt('Make program: ', $make_def );
    $builder->notes('your_make', $make);

    my $run_configure = 'y';
    if (    -e 'src/judy-1.0.4/Makefile'
         && -e 'src/judy-1.0.4/config.h'
    ) {
        $run_configure = $builder->y_n("Re-run Judy's configure? ", 'n');
    }
    else {
        $run_configure = $builder->y_n("Run Judy's configure now? ",'y');
    }

    if ( $run_configure ) {
        my $configure_args = $builder->prompt(
            'Pass any arguments to configure: ',
            $builder->_default_config_args
        );
        $builder->notes("configure_args", $configure_args);

        if( $builder->_run_judy_configure ) {
            print q{

You should now run ./Build.
};

Changes  view on Meta::CPAN

0.19    Tue Jun 22 (during the TPF auction)
        Fold both configure_requires and build_requires up to requires
        Require Sub::Exporter for configuration

0.18    Thu Jun 17 08:20:00 2010 -0700
        Add dl_load_libjudy function
        use warnings
        use Sub::Exporter

0.17    Mon Jun 14 00:44:44 2010 -0700
        Use y_n instead of prompt
        Annotate core requirements by the version of perl they appear in
        Depend on ExtUtils::Liblist, not ExtUtils::LibList

0.16    Thu Jun 10 22:19:03 2010 -0700
        Find *.h and *.so in @INC/Alien/Judy too

0.15    Thu Jun 10 11:34:35 2010 -0700
        Glob for libJudy.so because naming conventions differ between platforms

0.14    Thu Jun 10 10:46:13 2010 -0700

Changes  view on Meta::CPAN

        Remove useless BEGIN from My::Judy::Builder
        Unfakeable MAKE.
        Use system(STRING) instead of system(LIST) for less surprise
        Actually build/test/install. Previous code stopped early due to a misunderstanding.
        Try harder to chdir() back into place after moving away.

0.04    Mon Dec 23 11:38:00 2008
        Adding misisng files src/Judy-1.0.4/Makefile.{am,in}

0.03    Sun Dec 22 11:30:00 2008
        Added defaults to Build.PL prompts t unbreak automated installs

0.02    Fri Dec 20 00:00:00 2008
        Fixed installer to use 'test'/'install' action during
          'test'/'install' steps. There was a copy/paste error and it
          always ran the 'build' step.
        Removed dependence on version.pm
        Moved pod to separate file, trimmed Alien/Judy.pm
        Module::Build artifacts to MANIFEST.SKIP
        Remove two extra copies of the Judy C library
        Minor pod fixes



( run in 1.545 second using v1.01-cache-2.11-cpan-0b5f733616e )