Alien-Build

 view release on metacpan or  search on metacpan

Changes.Alien-Base  view on Meta::CPAN

0.024  Thu Jan 7, 2015
  - Production release identical to 0.023_01 release

0.023_01  Sat Jan 2, 2015
  - Fixed a usually harmless but frequently annoying isssue where the
    alien_install_commands were executed on every invocation of './Build',
    './Build test', and './Build install' instead of just once as is
    needed.  (plicease gh#141)
  - Archive extraction can now be overridden with the alien_extract_archive
    method in Alien::Base::ModuleBuild. (salva++ gh#142)
  - Fixed bug with windows where using \ instead of / broke relocatable
    installs.  (plicease gh#139)
  - Promoted _env_do_system a public method named alien_do_system
    (salva++ gh#143)

0.023  Mon Sep 14, 2015
  - Fixed typo in FAQ
  - Updated FAQ Alien::gmake example to require Alien::gmake 0.11
  - Otherwise a production release identical to the 0.22_01 release

0.022_01  Fri Jul 31, 2015

Changes.Alien-Base  view on Meta::CPAN

0.016_01  Tue Apr 22, 2015
  - alien_stage_install is now on by default

0.016  Tue Apr 22, 2015
  - Production release identical to 0.015_03 release

0.015_03  Mon Apr 20, 2015
  - Fixed bug related to absolute URL (polettix++ gh#116)

0.015_02  Fri Apr 17, 2015
  - On OS X use install_name_tool to more reliably relocate dynamic libraries
    on that platform (plicease gh#115)

0.015_01  Fri Apr 17, 2015
  - Add alien_stage_install option for Alien::Base::ModuleBuild
    see Alien::Base::ModuleBuild::API for details (plicease gh#114)
  - alien_stage_install is default for PPM builds

0.015  Tue Mar 17, 2015
  - Production release identical to 0.014_01 release

0.014_01  Fri Mar 13, 2015
  - Generate config.site for autoconfigure source installs (plicease gh#113)

0.014  Feb 25, 2015
  - Production release identical to 0.012_01 release

0.012_01  Feb 24, 2015
  - Prefer and require PkgConfig.pm over pkg-config on 64 solaris
    If pkg-config is used it will likely be giving flags for 32 bit libs
    (plicease gh#110)
  - Allow for relocation of Alien-Base based dists.
    (plicease gh#111)

0.012  Feb 22, 2015
  - Fix bug introduced in 0.011 where bin_dir dies when install_type=system

0.011  Feb 22, 2015
  - Production release identical to 0.010_01 release

0.010_01  Feb 21, 2015
  - When installed from source (install_type=share) if the share directory is

example/bzip2.alienfile  view on Meta::CPAN

  # The Extract negotiator picks the best method for
  # extracting from the tarball.  We give it a hint
  # here that we expect the tarball to be .gz compressed
  # in case it needs to load extra modules to
  # decompress.
  plugin Extract => 'tar.gz';

  # The build stage here is specified as a series of commands.
  # bzip2 uses make to build and install.  It is vital that we
  # include cccdlflags in the compiler flags, because this will
  # include any flags necessary for making the library relocatable
  # which we need to link into a Perl XS .so file.
  # We also use CC=$Config{cc} to make sure that we use the
  # same compiler as was used to build Perl.
  build [
    [ '%{make}', 'all', "CC=%{perl.config.cc}", "CFLAGS=%{perl.config.cccdlflags} %{perl.config.optimize}", ],
    [ '%{make}', 'install', 'PREFIX=%{.install.prefix}',                                                    ],

    # we can use a code ref here to determine the version number of
    # bzip2 from the directory that is extracted from the tarball.
    # Usually this is something like bzip2-1.0.6 and we just parse

t/alien_build_plugin_pkgconfig_commandline.t  view on Meta::CPAN

  return unless $type eq 'system';

  note capture_merged { $build->build; () };

  if($^O eq 'MSWin32')
  {
    if($build->runtime_prop->{cflags} =~ m/-I(.*)\/include\/foo/
    && $1 ne '/test')
    {
      $prefix = $1;
      ok(-f "$prefix/lib/pkgconfig/foo.pc", "relocation looks okay");
      note "prefix = $prefix\n";
      note "-f $prefix/lib/pkgconfig/foo.pc";
    }
  }

  is(
    $build->runtime_prop,
    hash {
      #field cflags      => match qr/-fPIC/;
      field cflags      => match qr/-I\Q$prefix\E\/include\/foo/;



( run in 0.673 second using v1.01-cache-2.11-cpan-71847e10f99 )