Alien-WhiteDB

 view release on metacpan or  search on metacpan

alienfile  view on Meta::CPAN

    plugin 'Download' => (
        filter => qr/^whitedb-[0-9\.]+\.tar\.gz$/,
        version => qr/^whitedb-([0-9\.]+)\.tar\.gz$/ );
    plugin 'Extract' => 'tar.gz';
    plugin 'Build::Autoconf';
    build ['%{configure}', '%{make}', '%{make} install'];
    plugin 'Gather::IsolateDynamic';
    gather sub {
        my ($build) = @_;
        my $prefix = $build->runtime_prop->{prefix};
        $build->runtime_prop->{cflags} = "-I$prefix/include ";
        $build->runtime_prop->{libs} = "-L$prefix/lib -lwgdb ";
        $build->runtime_prop->{bin_dir} = "$prefix/bin" } };

lib/Alien/WhiteDB.pm  view on Meta::CPAN


__END__

=head1 NAME

Alien::WhiteDB

=head1 SYNOPSIS

    my $alien = Alien::WhiteDB->new;
    my $cflags = $alien->cflags;
    my $libs = $alien->libs;

The above methods are inherited from L<Alien::Base>.

If C<whitedb libwgdb-dev> packages installed on your system, L<Alien::Base> will attempt to use the system version.
Otherwise it will download a latest from L<WhiteDB site|http://whitedb.org/download.html>.

=head1 DESCRIPTION

Discover or download and install L<WhiteDB|http://whitedb.org/>



( run in 0.231 second using v1.01-cache-2.11-cpan-94b05bcf43c )