Skip to content

Commit 65a6d38

Browse files
committed
add PDL::GSL-style distro .pm file
1 parent f46ec48 commit 65a6d38

File tree

2 files changed

+31
-2
lines changed

2 files changed

+31
-2
lines changed

Filter.pm

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
package PDL::Filter;
2+
3+
use strict;
4+
use warnings;
5+
6+
our $VERSION = '2.096';
7+
8+
=head1 NAME
9+
10+
PDL::Filter - Linear filtering routines for PDL
11+
12+
=head1 DESCRIPTION
13+
14+
This contains linear filtering routines. It contains the following packages:
15+
16+
=over
17+
18+
=item L<PDL::Filter::Linear>
19+
20+
=item L<PDL::Filter::LinPred>
21+
22+
=back
23+
24+
=cut
25+
26+
1;

Makefile.PL

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ my $package_name = "PDL::Filter";
88
$repo = "PDLPorters/$repo";
99
WriteMakefile(
1010
NAME => $package_name,
11-
VERSION_FROM => 'Linear.pm',
11+
VERSION_FROM => 'Filter.pm',
1212
AUTHOR => 'PerlDL Developers <pdl-general@lists.sourceforge.net>',
1313
CONFIGURE_REQUIRES => {
1414
'ExtUtils::MakeMaker' => 0,
@@ -17,7 +17,10 @@ WriteMakefile(
1717
PREREQ_PM => {
1818
'PDL' => '2.096',
1919
},
20-
PM => { map +($_ => '$(INST_LIBDIR)/Filter/'.$_), <*.pm> },
20+
PM => {
21+
'Filter.pm' => '$(INST_LIBDIR)/Filter.pm',
22+
map +($_ => '$(INST_LIBDIR)/Filter/'.$_), <Lin*.pm>,
23+
},
2124
META_MERGE => {
2225
"meta-spec" => { version => 2 },
2326
resources => {

0 commit comments

Comments
 (0)