GNU Autoconf is a tool for producing configure scripts for building, installing and packaging software on computer systems where a Bourne shell is available. See documentation
- The Core Planners: chef-core-planners@chef.io
Binary package
Binary packages can be set as runtime or build time dependencies. See Defining your dependencies for more information.
To add core/autoconf as a dependency, you can add one of the following to your plan file.
pkg_build_deps=(core/autoconf)
pkg_deps=(core/autoconf)
To install this plan, you should run the following commands to first install, and then link the binaries this plan creates.
hab pkg install core/autoconf --binlink
will add the following binaries to the PATH:
- /bin/autoupdate
- /bin/autoheader
- /bin/autoscan
- /bin/autoconf
- /bin/ifnames
- /bin/autom4te
- /bin/autoreconf
For example:
$ hab pkg install core/autoconf --binlink
» Installing core/autoconf
☁ Determining latest version of core/autoconf in the 'stable' channel
→ Found newer installed version (core/autoconf/2.69/20200603125914) than remote version (core/autoconf/2.69/20200306000624)
→ Using core/autoconf/2.69/20200603125914
★ Install of core/autoconf/2.69/20200603125914 complete with 0 new packages installed.
» Binlinking autoupdate from core/autoconf/2.69/20200603125914 into /bin
★ Binlinked autoupdate from core/autoconf/2.69/20200603125914 to /bin/autoupdate
» Binlinking autoheader from core/autoconf/2.69/20200603125914 into /bin
★ Binlinked autoheader from core/autoconf/2.69/20200603125914 to /bin/autoheader
» Binlinking autoscan from core/autoconf/2.69/20200603125914 into /bin
★ Binlinked autoscan from core/autoconf/2.69/20200603125914 to /bin/autoscan
» Binlinking autoconf from core/autoconf/2.69/20200603125914 into /bin
★ Binlinked autoconf from core/autoconf/2.69/20200603125914 to /bin/autoconf
» Binlinking ifnames from core/autoconf/2.69/20200603125914 into /bin
★ Binlinked ifnames from core/autoconf/2.69/20200603125914 to /bin/ifnames
» Binlinking autom4te from core/autoconf/2.69/20200603125914 into /bin
★ Binlinked autom4te from core/autoconf/2.69/20200603125914 to /bin/autom4te
» Binlinking autoreconf from core/autoconf/2.69/20200603125914 into /bin
★ Binlinked autoreconf from core/autoconf/2.69/20200603125914 to /bin/autoreconf
You can now use the binary as normal. For example:
/bin/autoconf --help
or autoconf --help
$ autoconf --help
Usage: /bin/autoconf [OPTION]... [TEMPLATE-FILE]
Generate a configuration script from a TEMPLATE-FILE if given, or
`configure.ac' if present, or else `configure.in'. Output is sent
to the standard output if TEMPLATE-FILE is given, else into
`configure'.
Operation modes:
...
...