use alienfile;

requires 'Alien::gmake' => 0.14;

plugin 'PkgConfig' => 'libzmq';

# http://zeromq.org/
share {
	plugin Download => (
		url => 'https://github.com/zeromq/libzmq/releases',
		version => qr/zeromq-([\d\.]+)\.tar\.gz/,
	);

	plugin Extract => 'tar.gz';

	plugin 'Build::Autoconf';
	build [
		'%{configure} --enable-static --enable-shared',
		'%{make}',
		'%{make} install',
	];

	plugin 'Gather::Dino';
};
