Enbld

 view release on metacpan or  search on metacpan

docs_ja/Enbld.pod  view on Meta::CPAN

     target 'perl' => define {
         version '5.18.1';
     };
    
 };

'perl 5.18.1'がインストールされました。

 $ perl -v

 This is perl 5, version 18, subversion 1 (v5.18.1) built for ...

=head2 引数の追加

'arguments'関数は、'configure'スクリプトに引数を追加します。

 target 'perl' => define {
     version '5.18.1';
     arguments '-Dusethreads';
 };

perl 5.18.1は、スレッド付きでビルドされました。

 $ perl -v
    
 This is perl 5, version 18, subversion 1 (v5.18.1) built for darwin-thread-multi-2level

=head2 依存するソフトウェアのインストール

OS XでEnbldを使う場合、ソフトウェア間の依存関係も自動的に解決します。

例えば、wgetにはlibidnライブラリが必要ですが、Enbldはwgetをインストールする際、自動的にlibidnもインストールします。

  $ enblder install wget
  =====> Start building target 'wget'.
  =====> Found dependencies.

lib/Enbld.pm  view on Meta::CPAN

     target 'perl' => define {
         version '5.18.1';
     };
    
 };

'perl 5.18.1' is installed.

 $ perl -v

 This is perl 5, version 18, subversion 1 (v5.18.1) built for ...

=head2 ADD ARGUMENTS

'arguments' method adds an additional arguments to 'configure' script.

 target 'perl' => define {
     version '5.18.1';
     arguments '-Dusethreads';
 };

perl 5.18.1 with thread is builded.

 $ perl -v
    
 This is perl 5, version 18, subversion 1 (v5.18.1) built for darwin-thread-multi-2level

=head2 INSTALL SOFTWARE WHICH DEPENDS 

When using Enbld at OS X, Enbld also solve the dependencies between softwares automatically.

For example, when the is equal to which needs a libidn library for wget, and Enbld install wget, they also install libidn automatically.

  $ enblder install wget
  =====> Start building target 'wget'.
  =====> Found dependencies.



( run in 1.089 second using v1.01-cache-2.11-cpan-49f99fa48dc )