Modified source files and compiled any and armel versions of packages
[pkg-perl] / deb-src / dh-make-perl / dh-make-perl-0.47maemo1 / overrides
1 # override file for dh-make-perl
2 # chdir is set to the module dir while executing the code in the override hashes
3 # you can have your own overrides to this overrides in a similar file
4 # in ~/.dh-make-perl/overrides
5 # Please contribute back the fixes that may be needed for some modules
6 # to lupus@debian.org.
7
8 # sample overrides entry
9 $overrides{'Strange'} = {
10         pkgname => 'libstrange-perl',
11         srcname => 'libstrange-perl',
12         section => 'misc',
13         priority => 'Extra',
14         depends => 'perl6',
15         # build depends
16         bdepends => 'perl6, xlib-dev',
17         desc => 'A really ugly module to test dh-make-perl',
18         longdesc => "A really ugly long description\nfor a really ugly perl module.",
19         arch => 'all',
20         # starting from version 2 it's an xs module
21         checkver => sub {return 'v2-' if (($version || "") =~ /^[2-9]\./);return '';},
22         'v2-arch' => 'any',
23         'v2-version' => sub {
24                 if (($version || "") =~ /^\d+\.(\d+)/ && length($1) < 3) {
25                         return $version.("0"x(3-length($1))); # maitain 3 digits after the dot
26                 } else {
27                         return $version;
28                 } },
29         # Note the \n in pfield and sfields (extra fields for the source and package section)
30         pfields => "Conflicts: ba-ba-buma\n",
31
32 };
33
34 $overrides{'Crypt::SSLeay'} = {
35         finish => sub {
36                 my @a=("perl", "-pi", "-e", 's,(Makefile\.PL),$1 /usr,', "debian/rules");
37                 system(@a);},
38 };
39