This repository was archived by the owner on Dec 17, 2022. It is now read-only.
File tree 3 files changed +45
-0
lines changed
3 files changed +45
-0
lines changed Original file line number Diff line number Diff line change
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;
Original file line number Diff line number Diff line change
1
+ Build.PL
2
+ lib/Alien/Cairo.pm
3
+ MANIFEST This list of files
Original file line number Diff line number Diff line change
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;
You can’t perform that action at this time.
0 commit comments