Alien-Base

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

  - support for Inline 'with' (plicease gh#71, gh#77, gh#78)
  - fix prereqs for Text::ParseWords and PkgConfig (plicease gh#73, gh#70)

0.005  Sep 11, 2014
  - improved documentation coverage

0.004_05  Sep 09, 2014
  - additional use / instead of \ on MSWin32 (plicease gh#68)

0.004_04  Sep 09, 2014
  - fixed test error introduced in 0.004_03 expressed on cygwin (plicease gh#67)

0.004_03  Sep 09, 2014
  - added support for destdir (plicease gh#65, gh#39)
  - no longer attempt to dl_load static libraries, which aside from being
    wrong was triggering a dialog warning in windows (plicease gh#64)
  - use / instead of \ on MSWin32 (plicease gh#64)

0.004_02  Sep 04, 2014
  - fixed MSWin32 specific bug introduced in 0.004_01 (plicease gh#59)
  - use pure perl PkgConfig as an alternative to pkg-config if the latter

Changes  view on Meta::CPAN

		- separate alien_{x}_commands where x = build, test, install
		- removed mac specific code
		- no longer test provisioning (it never worked anyway)
		- directly allow library to install to final share_dir destination
	- Moved Alien::DontPanic and Ford::Prefect to CPAN under Acme:: namespaces

0.000_021  Jul 25, 2012
	- Some fixes for Mac, not sure its working yet

0.000_020  Jun 22, 2012
	- Windows now passes the test suite (another cleanup error trapped)
	- Begin overloading copy_if_modified for relocalizing dylibs on mac 
            (this is not working yet, this release is for windows testers)

0.000_019  Jun 21, 2012
	- REALLY return to EU::LibBuilder (sorry for the noise)

0.000_018  Jun 21, 2012
	- return to EU::LibBuilder

0.000_017  May 6, 2012

Changes  view on Meta::CPAN

	- More bugfixes

0.000_006  Apr 3, 2012
	- Yet anther bugfix(?) release 

0.000_005  Apr 2, 2012
	- Bugfix: A::B::PkgConfig _manual key shouldn't emit undef values

0.000_004  Apr 2, 2012
	- Don't mangle LD_RUN_PATH if system installed
	- Bugfix related to dreaded '"Can't call method "keyword" on an undefined value' error
	- Made t/yy-system_installed.t smarter on picking a library for testing

0.000_003  Mar 18, 2012
	- Require safer File::chdir
	- Fixed "Bad File Descriptor" bug calling pkg-config

0.000_002  Mar 18, 2012
	- More documentation
	- Smarter in handling user-provided pkg-config data
	- Generates pkg-config data from file structure if not defined

Makefile.PL  view on Meta::CPAN

use ExtUtils::MakeMaker;

eval {
  use File::Temp qw( tempfile );
  use File::Spec;
  my($fh, $filename) = tempfile();
  close $fh;
  unlink $filename;
};

if(my $error = $@)
{
  print "unable to create a tempfile, which is required properly test and use Alien::Base\n";
  print "File::Spec->tmpdir returns @{[ File::Spec->tmpdir ]}\n";
  print "diagnostic: $error\n";
  print "There is likely something wrong with your environment\n";
  exit;
}

my %make_args = (
  NAME             => 'Alien::Base',
  DISTNAME         => 'Alien-Base',
  LICENSE          => 'perl',
  MIN_PERL_VERSION => '5.008001',
  VERSION_FROM     => 'lib/Alien/Base.pm',

t/alien_base.t  view on Meta::CPAN

use File::Spec;

eval {
  use File::Temp qw( tempfile );
  use File::Spec;
  my($fh, $filename) = tempfile();
  close $fh;
  unlink $filename;
};

if(my $error = $@)
{
  bail_out "tempfile failed: $error";
}

unshift @PKG_CONFIG_PATH, File::Spec->rel2abs(File::Spec->catdir( qw( corpus pkgconfig )));

subtest 'AB::MB sys install' => sub {

  skip_all 'test requires Alien::Base::PkgConfig'
    unless eval { require Alien::Base::PkgConfig; 1 };

  require Alien::Foo1;

t/alien_base__system_installed.t  view on Meta::CPAN

use Test::More;

eval {
  use File::Temp qw( tempfile );
  use File::Spec;
  my($fh, $filename) = tempfile();
  close $fh;
  unlink $filename;
};

if(my $error = $@)
{
  BAIL_OUT "tempfile failed: $error";
}

plan skip_all => 'Test requires Alien::Base::ModuleBuild and Alien::Base::PkgConfig'
  unless eval { require Alien::Base::ModuleBuild; require Alien::Base::PkgConfig; 1 };

# Since this is not a complete distribution, it complains about missing files/folders
local $SIG{__WARN__} = sub { warn $_[0] unless $_[0] =~ /Can't (?:stat)|(?:find)/ };

$ENV{ALIEN_BLIB} = 0;



( run in 0.290 second using v1.01-cache-2.11-cpan-65fba6d93b7 )