Alien-LIBSVM

 view release on metacpan or  search on metacpan

alienfile  view on Meta::CPAN

		url => 'https://github.com/cjlin1/libsvm/tags',
		version => qr/v([\d\.]+)\.tar\.gz/,
	);

	plugin Extract => 'tar.gz';

	my $sh_version = "3";
	patch sub {
		my $makefile = Path::Tiny::path('Makefile');
		# real version is 3.x
		$makefile->edit_lines_utf8(sub {
			s/^SHVER = 2/SHVER = $sh_version/;
		});
	};

	build [
		$^O ne 'MSWin32' ? ( '%{make} all lib' ) : () ,
		sub {
			my ($build) = @_;

			my $dir = $build->install_prop->{prefix};



( run in 0.470 second using v1.01-cache-2.11-cpan-de7293f3b23 )