package Gnome2::VFS::Install::Files;

$self = {
          'deps' => [
                      'Glib'
                    ],
          'inc' => '-DORBIT2=1 -pthread -I/usr/pkg/include/gnome-vfs-2.0 -I/usr/pkg/lib/gnome-vfs-2.0/include -I/usr/pkg/include/gconf/2 -I/usr/pkg/include/orbit-2.0 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -I build',
          'libs' => '-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lgnomevfs-2 -Wl,-R/usr/pkg/lib -lgconf-2 -Wl,-R/usr/pkg/lib -lgthread-2.0 -pthread -Wl,-R/usr/pkg/lib -lgmodule-2.0 -pthread -Wl,-R/usr/pkg/lib -lgobject-2.0 -Wl,-R/usr/pkg/lib -lglib-2.0 -lintl',
          'typemaps' => [
                          'vfs2perl.typemap',
                          'vfs.typemap'
                        ]
        };

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

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

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

	sub Inline {
		my ($class, $lang) = @_;
		if ($lang ne 'C') {
			warn "Warning: Inline hints not available for $lang language
";
			return;
		}
		+{ map { (uc($_) => $self->{$_}) } qw(inc libs typemaps) };
	}

1;
