Alien-WFDB

 view release on metacpan or  search on metacpan

alienfile  view on Meta::CPAN

	plugin Download => (
		url => 'https://archive.physionet.org/physiotools/archives/',
		# the -no-docs archive is smaller, if it exists
		version => qr/wfdb-([\d\.]+)-no-docs\.tar\.gz/,
	);

	plugin Extract => 'tar.gz';

	patch sub {
		# the -no-docs tarball does not have a doc directory, but the build
		# script still looks for one --- so we create an empty one if it
		# doesn't exist and add stub Makefile (with 'install' and 'clean'
		# targets)
		my $doc_makefile = Path::Tiny->new('doc/Makefile');
		$doc_makefile->parent->mkpath;
		$doc_makefile->spew_utf8(<<'EOF');
install:

clean:

EOF



( run in 0.444 second using v1.01-cache-2.11-cpan-64827b87656 )