package Cairo::GObject::Install::Files;

$self = {
          'deps' => [
                      'Cairo',
                      'Glib'
                    ],
          'inc' => '-I/usr/pkg/include/cairo -I/usr/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libpng16 -D_REENTRANT -I/usr/pkg/include/pixman-1',
          'libs' => '-L/usr/pkg/lib -lcairo-gobject -lcairo -lgobject-2.0 -Wl,-R/usr/pkg/lib -lglib-2.0 -lintl',
          'typemaps' => []
        };

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

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

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

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

1;
