File: Makefile.PL

package info (click to toggle)
rt-extension-assets-import-csv 2.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 252 kB
  • sloc: perl: 2,833; makefile: 42; sh: 36
file content (21 lines) | stat: -rw-r--r-- 462 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
use inc::Module::Install;

RTx 'RT-Extension-Assets-Import-CSV';

use Config;
my $perl_path = $Config{perlpath};
$perl_path .= $Config{_exe}
    if $^O ne 'VMS' and $perl_path !~ m/$Config{_exe}$/i;

substitute( {
        RT_LIB_PATH => "$RT::LocalPath/lib " . File::Basename::dirname( $INC{'RT.pm'} ),
        PERL        => $perl_path,
    },
    { sufix => ".in" },
    'bin/rt-assets-import-csv',
);

requires_rt '4.4.0';
requires 'Text::CSV_XS';

WriteAll;