Skip to content

Instantly share code, notes, and snippets.

@wchristian
Forked from jberger/FTP-Build.PL
Created January 15, 2012 18:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wchristian/1616766 to your computer and use it in GitHub Desktop.
Save wchristian/1616766 to your computer and use it in GitHub Desktop.
Alien::Base with alternative FTP object
use strict;
use warnings;
use Alien::Base::ModuleBuild;
my $builder = Alien::Base::ModuleBuild->new(
module_name => 'Alien::GSL',
dist_abstract => 'Easy installation of the GNU Scientific Library',
license => 'perl',
configure_requires => {
'Alien::Base' => 0,
},
requires => {
'perl' => '5.8.1',
'Alien::Base' => 0,
},
dist_author => 'Joel A. Berger <joel.a.berger@gmail.com>',
alien_name => 'gsl',
alien_repository => {
ftp_class => 'FTP::Other',
pattern => qr/^gsl-([\d\.])+\.tar\.gz$/,
},
);
$builder->create_build_script;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment