vp-build/common/build-style
maxice8 d0562177a5
build-style/meson: define PKG_CONFIG for host usage.
PKG_CONFIG environment variable should point to the pkg-config executable
to be used to fetch dependencies that use 'native: true' (indicate to build
against host libraries not cross-compiled ones)

To meet those requirements we set an absolute path to the host
pkg-config since the relative path to pkg-config is taken by the
wrapper.

This currently requires a patch that is a milestone of meson-0.48 that
was generated by the issue:

https://github.com/mesonbuild/meson/issues/1736
2018-09-10 01:17:05 -03:00
..
cmake.sh
configure.sh
fetch.sh
gnu-configure.sh
gnu-makefile.sh
go.sh
haskell-stack.sh
meson.sh
meta.sh
perl-module.sh
perl-ModuleBuild.sh
python-module.sh
python2-module.sh
python3-module.sh
qmake.sh
R-cran.sh
README
ruby-module.sh
scons.sh
slashpackage.sh
waf.sh
waf3.sh

BUILD STYLES
============

These shell snippets provide support for multiple build systems, i.e GNU configure,
CMake, etc. A build style file must provide at least the following functions:

	- do_configure
	- do_build
	- do_install

If a source package defines its own do_xxx() function, the function defined in
the build style file is simply ignored.