File: Makefile.PL

package info (click to toggle)
libpar-packer-perl 1.063-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 1,380 kB
  • sloc: perl: 12,859; ansic: 1,486; makefile: 30; sh: 5
file content (20 lines) | stat: -rw-r--r-- 698 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
use 5.008009;   # should match MIN_PERL_VERSION in toplevel Makefile.PL
use ExtUtils::MakeMaker;
use ExtUtils::Depends;

my $pkg = ExtUtils::Depends->new(qw(XSQuux));
$pkg->add_xs(qw(XSQuux.xs));
$pkg->add_pm('XSQuux.pm' => '$(INST_LIB)/XSQuux.pm');
$pkg->save_config("Files.pm");

WriteMakefile(
    NAME              => 'XSQuux',
    VERSION           => '0.01',
    PREREQ_PM         => {},
    ABSTRACT          => 'simple XS module',
    AUTHOR            => 'roderich <roderich@>',
    FUNCLIST          => [qw( triple )],
    DL_FUNCS          => { XSQuux => [] },
    $pkg->get_makefile_vars(),
    clean             => { FILES => "Files.pm" },       # must come after get_makefile_vars
);