The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
# JS::SourceMap - Perl interface to JS sourcemaps

use ExtUtils::MakeMaker;
use lib "./lib";
do "./lib/JS/SourceMap.pm" or die($@);

sub SRC { "lib/JS/@_" }
sub DST { '$(INST_LIBDIR)/'."@_" }
sub PAIR { ( SRC(@_) => DST(@_) ) }

print STDERR "Welcome to JS::SourceMap $JS::SourceMap::VERSION\n\n";

WriteMakefile(
    AUTHOR => 'attila <attila@stalphonsos.com>',
    LICENSE => 'BSD',
    ABSTRACT => 'perl interface to JS sourcemaps',
    NAME => 'JS::SourceMap',
    VERSION => $JS::SourceMap::VERSION,
    PREREQ_PM => {
	'JSON' => 0,
    },
    PM => {
	PAIR('SourceMap.pm'),
	PAIR('SourceMap/Decoder.pm'),
	PAIR('SourceMap/Index.pm'),
	PAIR('SourceMap/Token.pm'),
    },
    META_MERGE => {
	"meta-spec" => { version => 2 },
	resources => {
	    repository => {
		type => 'git',
		url => 'git://github.com/StAlphonsos/perl-sourcemap.git',
	    },
	},
    },
);