Alien-LibMagic
view release on metacpan or search on metacpan
}
},
"runtime" : {
"recommends" : {
"Inline" : "0.67",
"Inline::C" : "0.62"
},
"requires" : {
"Alien::Base" : "0.038",
"Path::Tiny" : "0",
"parent" : "0",
"perl" : "5.006",
"strict" : "0",
"warnings" : "0"
}
},
"test" : {
"requires" : {
"Module::Load" : "0",
"Test::More" : "0",
"perl" : "5.006"
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: '1.4'
name: Alien-LibMagic
recommends:
Inline: '0.67'
Inline::C: '0.62'
requires:
Alien::Base: '0.038'
Path::Tiny: '0'
parent: '0'
perl: '5.006'
strict: '0'
warnings: '0'
resources:
homepage: https://github.com/zmughal-p5CPAN/p5-Alien-LibMagic
repository: https://github.com/zmughal-p5CPAN/p5-Alien-LibMagic.git
version: '0.003'
x_alienfile:
generated_by: 'Dist::Zilla::Plugin::AlienBuild version 0.29'
requires:
Makefile.PL view on Meta::CPAN
"Alien::Build::MM" => "0.32",
"ExtUtils::MakeMaker" => "6.52"
},
"DISTNAME" => "Alien-LibMagic",
"LICENSE" => "perl",
"MIN_PERL_VERSION" => "5.006",
"NAME" => "Alien::LibMagic",
"PREREQ_PM" => {
"Alien::Base" => "0.038",
"Path::Tiny" => 0,
"parent" => 0,
"strict" => 0,
"warnings" => 0
},
"TEST_REQUIRES" => {
"Module::Load" => 0,
"Test::More" => 0
},
"VERSION" => "0.003",
"test" => {
"TESTS" => "t/*.t"
Makefile.PL view on Meta::CPAN
my %FallbackPrereqs = (
"Alien::Base" => "0.038",
"Alien::Build" => "0.32",
"Alien::Build::MM" => "0.32",
"ExtUtils::MakeMaker" => "6.52",
"Module::Load" => 0,
"Path::Tiny" => 0,
"Test::More" => 0,
"parent" => 0,
"strict" => 0,
"warnings" => 0
);
# BEGIN code inserted by Dist::Zilla::Plugin::AlienBuild
use Alien::Build::MM;
my $abmm = Alien::Build::MM->new;
%WriteMakefileArgs = $abmm->mm_args(%WriteMakefileArgs);
# END code inserted by Dist::Zilla::Plugin::AlienBuild
lib/Alien/LibMagic.pm view on Meta::CPAN
package Alien::LibMagic;
$Alien::LibMagic::VERSION = '0.003';
use strict;
use warnings;
use Path::Tiny;
use parent 'Alien::Base';
sub cflags {
my ($self) = @_;
my $top_include = File::Spec->catfile( File::Spec->rel2abs($self->dist_dir), qw(include) );
return "-I$top_include";
}
sub libs {
my ($self) = @_;
my $top_lib = File::Spec->catfile( File::Spec->rel2abs($self->dist_dir), qw(lib) );
( run in 0.519 second using v1.01-cache-2.11-cpan-4d50c553e7e )