use alienfile; plugin 'Build::Autoconf';
'%{configure} --disable-shared', '%{make}', '%{make} install',
On Windows, this plugin also pulls in the Alien::Build::Plugin::Build::MSYS which is required for autoconf style projects on windows.
The other thing that this plugin does is that it does a double staged "DESTDIR" install. The author has found this improves the overall reliability of Alien modules that are based on autoconf packages.
This plugin supports out-of-source builds (known in autoconf terms as ``VPATH'' builds) via the meta property "out_of_source".
autoconf normally ignores options that it does not understand, so it is usually a safe and reasonable default to include it. A small number of projects look like they use autoconf, but are really an autoconf style interface with a different implementation. They may fail if you try to provide it with options such as "--with-pic" that they do not recognize. Such packages are the rationale for this property.
%{configure}
The correct incantation to start an autoconf style "configure" script on your platform. Some reasonable default flags will be provided.
<https://www.gnu.org/software/autoconf/autoconf.html>
<https://www.gnu.org/prep/standards/html_node/DESTDIR.html>
Contributors:
Diab Jerius (DJERIUS)
Roy Storey
Ilya Pavlov
David Mertens (run4flat)
Mark Nunberg (mordy, mnunberg)
Christian Walde (Mithaldu)
Brian Wightman (MidLifeXis)
Zaki Mughal (zmughal)
mohawk (mohawk2, ETJ)
Vikas N Kumar (vikasnkumar)
Flavio Poletti (polettix)
Salvador Fandiño (salva)
Gianni Ceccarelli (dakkar)
Pavel Shaydo (zwon, trinitum)
Kang-min Liu (劉康民, gugod)
Nicholas Shipp (nshp)
Juan Julián Merelo Guervós (JJ)
Joel Berger (JBERGER)
Petr Pisar (ppisar)
Lance Wicks (LANCEW)
Ahmad Fatoum (a3f, ATHREEF)
José Joaquín Atria (JJATRIA)
Duke Leto (LETO)
Shoichi Kaji (SKAJI)
Shawn Laffan (SLAFFAN)
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.