1 use inc::Module::Install;
3 RTx 'RT-Extension-ImportCustomFieldValues';
5 repository 'http://git.home-dn.net/?p=manu/RT-Extension-ImportCustomFieldValues';
11 readme_from 'lib/RT/Extension/ImportCustomFieldValues.pm', 0;
13 my ($lp) = ($INC{'RT.pm'} =~ /^(.*)[\\\/]/);
14 my $lib_path = join( ' ', "$RT::LocalPath/lib", $lp );
15 my $bin_path = $RT::BinPath || "$RT::BasePath/bin" || "/opt/rt4/bin";
17 # Straight from perldoc perlvar
19 my $secure_perl_path = $Config{perlpath};
21 $secure_perl_path .= $Config{_exe}
22 unless $secure_perl_path =~ m/$Config{_exe}$/i;
27 RT_LIB_PATH => $lib_path,
28 RT_BIN_PATH => $bin_path,
29 PERL => $ENV{PERL} || $secure_perl_path,
34 qw(lib/RT/Extension/ImportCustomFieldValues/Test.pm),