-
-
Save wchristian/1616766 to your computer and use it in GitHub Desktop.
Alien::Base with alternative FTP object
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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