package B::Hooks::Parser::Install::Files;

$self = {
          'deps' => [
                      'B::Hooks::OP::Check'
                    ],
          'inc' => '',
          'libs' => '',
          'typemaps' => []
        };

@deps = @{ $self->{deps} };
@typemaps = @{ $self->{typemaps} };
$libs = $self->{libs};
$inc = $self->{inc};

	$CORE = undef;
	foreach (@INC) {
		if ( -f $_ . "/B/Hooks/Parser/Install/Files.pm") {
			$CORE = $_ . "/B/Hooks/Parser/Install/";
			last;
		}
	}

	sub deps { @{ $self->{deps} }; }

	sub Inline {
		my ($class, $lang) = @_;
		+{ map { (uc($_) => $self->{$_}) } qw(inc libs typemaps) };
	}

1;
