Skip to content
This repository was archived by the owner on Dec 17, 2022. It is now read-only.

Commit 3a242e9

Browse files
committed
Initial commit
0 parents  commit 3a242e9

File tree

3 files changed

+45
-0
lines changed

3 files changed

+45
-0
lines changed

Build.PL

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
use strict;
2+
use warnings;
3+
4+
use Alien::Base::ModuleBuild;
5+
6+
my $builder = Alien::Base::ModuleBuild->new(
7+
module_name => 'Alien::Cairo',
8+
dist_abstract => 'Build and install libcairo',
9+
license => 'perl',
10+
configure_requires => {
11+
'Alien::Base' => 0,
12+
},
13+
requires => {
14+
'perl' => '5.8.1',
15+
'Alien::Base' => 0,
16+
},
17+
dist_author => 'David Mertens <dcmertens.perl@gmail.com>',
18+
alien_name => 'cairo',
19+
alien_repository => {
20+
protocol => 'http',
21+
host => 'cairographics.org',
22+
location => '/releases',
23+
pattern => qr/cairo-([\d.]+)\.tar\.gz$/,
24+
},
25+
alien_build_commands => [
26+
'%pconfigure --prefix=%s --enable-shared',
27+
'make',
28+
'make install'
29+
],
30+
);
31+
$builder->create_build_script;

MANIFEST

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Build.PL
2+
lib/Alien/Cairo.pm
3+
MANIFEST This list of files

lib/Alien/Cairo.pm

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
package Alien::Cairo;
2+
3+
use strict;
4+
use warnings;
5+
6+
our $VERSION = 0.01;
7+
$VERSION = eval $VERSION;
8+
9+
use parent 'Alien::Base';
10+
11+
1;

0 commit comments

Comments
 (0)