autotools plugin is useful for Automake/Autotools-based parts.
Autotools-based projects are easy to recognise, as they’re typically built and installed with the following commands:
./configure && make && make install
- the autotools plugin first attempts to build the project using
- if the configure script does not yet exist, it will attempt to run
- if autogen doesn’t exist, the plugin will run
This plugin uses the common plugin keywords as well as those for “sources”. For more information, see Snapcraft parts metadata.
In addition, this plugin uses the following plugin-specific keywords:
configflags(list of strings)
Configure flags to pass to the build such as those shown by running ‘./configure --help’
install-via(enum, ‘destdir’ or ‘prefix’)
Whether to install via DESTDIR or by using --prefix (default is