Changelog diff is: diff --git Changes Changes index ad21f65..b22c1b5 100644 --- Changes +++ Changes @@ -2,6 +2,10 @@ Revision history for Perl extension Unqlite {{$NEXT}} +0.04 2014-08-30T09:33:52Z + + - Fixed packaging issue. + 0.03 2013-07-18T03:14:07Z - more OPEN consts as mode argument
65 lines
1.6 KiB
Perl
65 lines
1.6 KiB
Perl
# =========================================================================
|
|
# THIS FILE IS AUTOMATICALLY GENERATED BY MINILLA.
|
|
# DO NOT EDIT DIRECTLY.
|
|
# =========================================================================
|
|
|
|
use 5.008_001;
|
|
|
|
use strict;
|
|
use warnings;
|
|
use utf8;
|
|
|
|
use Module::Build;
|
|
use File::Basename;
|
|
use File::Spec;
|
|
|
|
my %args = (
|
|
license => 'perl',
|
|
dynamic_config => 0,
|
|
|
|
configure_requires => {
|
|
'Module::Build' => 0.38,
|
|
},
|
|
|
|
name => 'UnQLite',
|
|
module_name => 'UnQLite',
|
|
allow_pureperl => 0,
|
|
|
|
script_files => [glob('script/*'), glob('bin/*')],
|
|
c_source => [qw(unqlite)],
|
|
PL_files => {},
|
|
|
|
test_files => ((-d '.git' || $ENV{RELEASE_TESTING}) && -d 'xt') ? 't/ xt/' : 't/',
|
|
recursive_test_files => 1,
|
|
|
|
|
|
);
|
|
if (-d 'share') {
|
|
$args{share_dir} = 'share';
|
|
}
|
|
|
|
my $builder = Module::Build->subclass(
|
|
class => 'MyBuilder',
|
|
code => q{
|
|
sub ACTION_distmeta {
|
|
die "Do not run distmeta. Install Minilla and `minil install` instead.\n";
|
|
}
|
|
sub ACTION_installdeps {
|
|
die "Do not run installdeps. Run `cpanm --installdeps .` instead.\n";
|
|
}
|
|
}
|
|
)->new(%args);
|
|
$builder->create_build_script();
|
|
|
|
use File::Copy;
|
|
|
|
print "cp META.json MYMETA.json\n";
|
|
copy("META.json","MYMETA.json") or die "Copy failed(META.json): $!";
|
|
|
|
if (-f 'META.yml') {
|
|
print "cp META.yml MYMETA.yml\n";
|
|
copy("META.yml","MYMETA.yml") or die "Copy failed(META.yml): $!";
|
|
} else {
|
|
print "There is no META.yml... You may install this module from the repository...\n";
|
|
}
|
|
|