This repository has been archived by the owner on Mar 7, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:jberger/Alien-Base
- Loading branch information
Showing
4 changed files
with
53 additions
and
3 deletions.
There are no files selected for viewing
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
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,36 @@ | |||
use strict; | |||
use warnings; | |||
|
|||
use lib '../../lib'; | |||
|
|||
use utf8; | |||
use Alien::Base::ModuleBuild; | |||
|
|||
my $builder = Alien::Base::ModuleBuild->new( | |||
module_name => 'Alien::Nettle', | |||
dist_abstract => 'Build and install the Nettle cryptographic library', | |||
license => 'perl', | |||
configure_requires => { | |||
'Alien::Base' => 0, | |||
}, | |||
requires => { | |||
'perl' => '5.8.1', | |||
'Alien::Base' => 0, | |||
}, | |||
dist_author => 'Richard Simões <rsimoes AT cpan DOT org>', | |||
alien_name => 'nettle', | |||
alien_repository => { | |||
protocol => 'ftp', | |||
host => 'ftp.lysator.liu.se', | |||
location => '/pub/security/lsh', | |||
pattern => qr/^nettle-([\d\.]+)\.tar\.gz$/, | |||
}, | |||
alien_build_commands => [ | |||
'%pconfigure --prefix=%s --enable-shared', | |||
'make', | |||
'make install' | |||
], | |||
); | |||
$builder->create_build_script; | |||
|
|||
|
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
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,3 @@ | |||
Build.PL | |||
lib/Alien/Nettle.pm | |||
MANIFEST This list of files |
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
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,12 @@ | |||
package Alien::Nettle; | |||
|
|||
use strict; | |||
use warnings; | |||
|
|||
our $VERSION = 0.01; | |||
$VERSION = eval $VERSION; | |||
|
|||
use parent 'Alien::Base'; | |||
|
|||
1; | |||
|
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