view release on metacpan or search on metacpan
lib/Alien/Kiwisolver.pm view on Meta::CPAN
# ABSTRACT: Alien package for the Kiwi C++ implementation of the Cassowary constraint solving algorithm
$Alien::Kiwisolver::VERSION = '0.003';
use strict;
use warnings;
use parent qw(Alien::Base);
sub inline_auto_include {
return [ 'kiwi/kiwi.h' ];
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/LIBSVM.pm view on Meta::CPAN
# ABSTRACT: Alien package for the LIBSVM library
$Alien::LIBSVM::VERSION = '0.005';
use strict;
use warnings;
use parent 'Alien::Base';
sub version {
my ($class) = @_;
( "" . $class->SUPER::version) =~ s/^\d/$&./gr;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/LMDB.pm view on Meta::CPAN
package Alien::LMDB;
our $VERSION = '0.104';
use parent 'Alien::Base';
use strict;
1;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/Leptonica.pm view on Meta::CPAN
package Alien::Leptonica;
$Alien::Leptonica::VERSION = '0.007';
use strict;
use warnings;
use parent qw(Alien::Base);
1;
=pod
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/LibBigWig.pm view on Meta::CPAN
$Alien::LibBigWig::VERSION = '0.4.3';
use strict;
use warnings;
use parent 'Alien::Base';
1;
__END__
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/LibGumbo.pm view on Meta::CPAN
use strict;
use warnings;
our $VERSION = 0.05;
use parent 'Alien::Base';
=head1 NAME
Alien::LibGumbo - Gumbo parser library
view all matches for this distribution
view release on metacpan or search on metacpan
inc/Module/Build/AlienLibJIT.pm view on Meta::CPAN
package Module::Build::AlienLibJIT;
use warnings;
use strict;
use parent 'Module::Build';
use FindBin('$Bin');
use File::Spec;
use File::Basename ();
use Config;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/LibMagic.pm view on Meta::CPAN
$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";
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/LibUSB.pm view on Meta::CPAN
package Alien::LibUSB;
# ABSTRACT: Perl distribution for LibUSB
our $VERSION = '0.4'; # VERSION
use parent 'Alien::Base';
=pod
=encoding utf8
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/LibUSBx.pm view on Meta::CPAN
use 5.006;
use strict;
use warnings;
use parent 'Alien::Base';
=head1 NAME
Alien::LibUSBx - Alien package for libusb (libusb-1.0) which provides generic access to USB devices
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/LibXML.pm view on Meta::CPAN
package Alien::LibXML;
use strict;
use warnings;
use parent 'Alien::Base';
our $VERSION = '0.004';
__END__
=pod
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/Libarchive/Installer.pm view on Meta::CPAN
require File::Path;
File::Path::mkpath($pkg_config_dir, 0, 0755);
}
my($version) = map { /^Version:\s*(.*)$/; $1 } grep /^Version: /, @content;
# older versions apparently didn't include the necessary -I and -L flags
if(defined $version && $version =~ /^[12]\./)
{
for(@content)
{
s/^Libs: /Libs: -L\${libdir} /;
view all matches for this distribution
view release on metacpan or search on metacpan
xt/author/version.t view on Meta::CPAN
use YAML qw( LoadFile );
use FindBin;
use File::Spec;
plan skip_all => "test not built yet (run dzil test)"
unless -e dir( $FindBin::Bin)->parent->parent->file('Makefile.PL')
|| -e dir( $FindBin::Bin)->parent->parent->file('Build.PL');
my $config_filename = File::Spec->catfile(
$FindBin::Bin, File::Spec->updir, File::Spec->updir, 'author.yml'
);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/Libasyncns.pm view on Meta::CPAN
package Alien::Libasyncns;
use strict;
use warnings;
use parent 'Alien::Base';
our $VERSION = '0.002';
1;
__END__
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/Libdogecoin.pm view on Meta::CPAN
package Alien::Libdogecoin;
# ABSTRACT: detect or install libdogecoin
use strict;
use warnings;
use parent 'Alien::Base';
our $VERSION = '0.1.1.1';
1;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/Libgcrypt.pm view on Meta::CPAN
use 5.006;
use strict;
use warnings;
use parent 'Alien::Base';
1;
=head1 NAME
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/Libgit2.pm view on Meta::CPAN
package Alien::Libgit2;
our $VERSION = '0.001';
use strict;
use warnings;
use parent 'Alien::Base';
1;
__END__
view all matches for this distribution
view release on metacpan or search on metacpan
libjio/tests/behaviour/tf.py view on Meta::CPAN
if pid == 0:
# child
f(*args, **kwargs)
sys.exit(0)
else:
# parent
id, status = os.waitpid(pid, 0)
if not os.WIFEXITED(status):
raise RuntimeError, (id, status)
def forked(f):
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/Librdkafka.pm view on Meta::CPAN
package Alien::Librdkafka;
use strict;
use warnings;
use parent 'Alien::Base';
our $VERSION = '0.11.6';
=head1 NAME
Alien::Librdkafka - build and install librdkafka
view all matches for this distribution
view release on metacpan or search on metacpan
if( -l '/opt/local/bin/openssl' ) {
my $dir = Path::Tiny->new(readlink '/opt/local/bin/openssl');
$dir = $dir->relative('/opt/local/bin') if $dir->is_relative;
$dir = $dir
->parent
->parent
->child('lib')
->child('pkgconfig');
push @PKG_CONFIG_LIBDIR, "$dir";
}
log "overidding PKG_CONFIG_LIBDIR on macOS: $ENV{PKG_CONFIG_LIBDIR}";
}
if($^O eq 'MSWin32' && $Config{myuname} =~ /strawberry-?perl 5\.([0-9]+)\./ && $1 < 20)
{
my $libdir = Path::Tiny->new($^X)->parent->parent->parent->child('c/lib');
# older versions of Straberry didn't have a working pkg-config
plugin 'Probe::CBuilder' => (
libs => $_,
version => qr/version = \|(.*?)\|/,
program => <<'EOF',
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/Libtensorflow.pm view on Meta::CPAN
# LICENSE: Apache_2_0
$Alien::Libtensorflow::VERSION = '0.002';
use strict;
use warnings;
use parent qw(Alien::Base);
1;
__END__
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/Lua.pm view on Meta::CPAN
package Alien::Lua;
use 5.14.0;
use warnings;
our $VERSION = '5.2.2.2';
use parent 'Alien::Base';
our $CanUseLuaJIT;
BEGIN {
$CanUseLuaJIT = 0;
eval "require Alien::LuaJIT"
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/LuaJIT.pm view on Meta::CPAN
package Alien::LuaJIT;
use 5.14.0;
use warnings;
our $VERSION = '2.0.2.1';
use parent 'Alien::Base';
1;
__END__
=head1 NAME
view all matches for this distribution
view release on metacpan or search on metacpan
}
}
if(my $uname_exe = which('uname'))
{
my $bin_dir = path($uname_exe)->parent->stringify;
my $uname = `$uname_exe`;
if($uname =~ /^(MSYS|MINGW(32|64))_NT/ && msys_is_okay($bin_dir)) {
$build->runtime_prop->{my_type} = 'found uname in PATH';
$build->runtime_prop->{my_bin} = $bin_dir;
return 'system';
}
}
if(my $mingw_get = which('mingw-get.exe'))
{
my $bin_dir = path($mingw_get)->parent->parent->child('msys/1.0/bin')->stringify;
if(msys_is_okay($bin_dir))
{
$build->runtime_prop->{my_type} = 'relative to mingw-get.exe';
$build->runtime_prop->{my_bin} = $bin_dir;
return 'system';
my $lnk_name = path(Win32::GetFolderPath(Win32::CSIDL_DESKTOP(), 1))->child('MinGW Installer.lnk')->canonpath;
die "No MinGW Installer.lnk" unless -r $lnk_name;
my $lnk = Win32::Shortcut->new;
$lnk->Load($lnk_name);
my $mingw_get = path($lnk->{Path});
my $bin_dir = path($mingw_get)->parent->child('msys/1.0/bin');
if(msys_is_okay($bin_dir))
{
$build->runtime_prop->{my_type} = 'MinGW Installer shortcut';
$build->runtime_prop->{my_bin} = $bin_dir;
return 'system';
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/MariaDB.pm view on Meta::CPAN
package Alien::MariaDB;
use strict;
use warnings;
use parent 'Alien::Base';
our $VERSION = '0.01';
sub _add_rpath {
my ($self, $libs) = @_;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/Moot.pm view on Meta::CPAN
package Alien::Moot;
use strict;
use warnings;
use parent 'Alien::Base';
our $VERSION = '0.003';
__END__
=pod
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/MuPDF.pm view on Meta::CPAN
package Alien::MuPDF;
$Alien::MuPDF::VERSION = '0.012';
use strict;
use warnings;
use parent qw(Alien::Base);
use File::Spec;
sub mutool_path {
my ($self) = @_;
File::Spec->catfile( File::Spec->rel2abs($self->dist_dir) , 'bin', 'mutool' );
view all matches for this distribution
view release on metacpan or search on metacpan
inc/Alien/NSS/ModuleBuild.pm view on Meta::CPAN
package Alien::NSS::ModuleBuild;
use parent 'Alien::Base::ModuleBuild';
# remove libnssckbi.dylib because at least on os-x it cannot be linked...
sub alien_generate_manual_pkgconfig {
my $self = shift;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/OTR.pm view on Meta::CPAN
our $AUTHORITY = 'cpan:AJGB';
$Alien::OTR::VERSION = '4.1.1.0';
use Alien::GCrypt;
use Alien::GPG::Error;
use parent 'Alien::Base';
1;
__END__
view all matches for this distribution