void-packages/common/build-style
maxice8 97b348502c meson.sh: Fix cross-compilation
following https://mesonbuild.com/Cross-compilation.html

- host_machine is our XBPS_TARGET_MACHINE
- build_machine is our XBPS_MACHINE, and meson can find out the details
on it's own
- also don't include -musl in the CPU because meson doesn't recognize it
and projects like Mesa (LibGL) don't enable optimizations for it
- cpu_family and cpu are different, they need to be set properly:
 - armv* is arm
 - mips* is mips
 - i686 is x86
 - x86_64 is x86_64
 - aarch64 is aarch64
2018-07-29 14:30:20 -03:00
..
R-cran.sh
README
cmake.sh build-style/cmake.sh: fix default do_check 2018-03-09 13:43:10 -05:00
configure.sh build-style/configure.sh: use "make check" if available. 2017-11-20 13:26:29 +01:00
fetch.sh
gnu-configure.sh build-style/gnu-configure.sh: warn, don't fail if "make check" is not implemented. 2017-11-20 13:26:29 +01:00
gnu-makefile.sh build-style/gnu-makefile.sh: use "make check" if available. 2017-11-20 13:26:29 +01:00
go.sh go build style: move GOPATH creation to do_configure() 2017-11-26 00:41:26 -08:00
haskell-stack.sh build-style/haskell-stack.sh: init using --system-ghc too. 2018-04-05 14:32:40 +02:00
meson.sh meson.sh: Fix cross-compilation 2018-07-29 14:30:20 -03:00
meta.sh
perl-ModuleBuild.sh build-style/perl-ModuleBuild.sh: add generic do_check function. 2017-11-21 11:51:08 +01:00
perl-module.sh common/build-style: revert last fix, instead fix a typo 2018-02-26 19:52:04 +01:00
python-module.sh
python2-module.sh
python3-module.sh
qmake.sh
ruby-module.sh
scons.sh common/build-style/scons.sh: fix comment 2018-03-05 20:49:36 +00:00
slashpackage.sh
waf.sh
waf3.sh

README

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.