use alienfile;

plugin 'PkgConfig' => 'expat';

plugin 'Probe::CommandLine' => (
  command   => 'xmlwf',
  args      => '-v',
  secondary => 1,
);

share {
  plugin Download => (
    url => 'https://github.com/libexpat/libexpat/releases',
    filter => qr/^expat-.*\.tar\.gz$/,
    version => qr/([0-9\.]+)/,
  );
  plugin Extract => 'tar.gz';
  plugin 'Build::Autoconf', ffi => 1;
}
