#! /targets/FREMANTLE_X86/usr/bin/perl use strict; use Cwd; use File::Spec; BEGIN { $^W = 1; # Use warnings my $curdir = File::Spec->canonpath( Cwd::cwd() ); my $is_same_dir = $^O eq 'MSWin32' ? (Win32::GetShortPathName($curdir) eq '/home/maemo/workspace/git/dh-make-perl/dev/i386/libextutils-parsexs-perl/libextutils-parsexs-perl-2.19') : ($curdir eq '/home/maemo/workspace/git/dh-make-perl/dev/i386/libextutils-parsexs-perl/libextutils-parsexs-perl-2.19'); unless ($is_same_dir) { die ('This script must be run from /home/maemo/workspace/git/dh-make-perl/dev/i386/libextutils-parsexs-perl/libextutils-parsexs-perl-2.19, not '.$curdir."\n". "Please re-run the Build.PL script here.\n"); } @INC = ( '/etc/perl', '/usr/local/lib/perl/5.8.3', '/usr/local/share/perl/5.8.3', '/usr/lib/perl5', '/usr/share/perl5', '/usr/lib/perl/5.8', '/usr/share/perl/5.8', '/usr/local/lib/site_perl', '/home/maemo/workspace/git/dh-make-perl/dev/i386/libextutils-parsexs-perl/libextutils-parsexs-perl-2.19' ); } use Module::Build; if (-e 'Build.PL' and not Module::Build->up_to_date("Build.PL", $0)) { warn "Warning: Build.PL has been altered. You may need to run 'perl Build.PL' again.\n"; } # This should have just enough arguments to be able to bootstrap the rest. my $build = Module::Build->resume ( properties => { config_dir => '/home/maemo/workspace/git/dh-make-perl/dev/i386/libextutils-parsexs-perl/libextutils-parsexs-perl-2.19/_build', }, ); $build->dispatch;