void-packages/common/build-style
Đoàn Trần Công Danh 0d75e72b8b build-style/cmake: pass LIBS as CMAKE_*_STANDARD_LIBRARIES
Normally, we can add them into configure_args directly.
However, if we need to link with 2 or more libaries (e.g. -latomic
and -lexecinfo on armv6-musl), we have noway to do it properly:
- configure_args will be splited on whitespace
- cmake denies to recognise CMAKE_*_STANDARD_LIBRARIES as a list,
  hence denies to split on semicolon (";")

Let's pass LIBS as CMAKE_*_STANDARD_LIBRARIES instead.
2022-02-23 21:28:37 +07:00
..
cargo.sh build-style/cargo: use configure_args in do_check. 2020-07-06 09:01:06 +02:00
cmake.sh build-style/cmake: pass LIBS as CMAKE_*_STANDARD_LIBRARIES 2022-02-23 21:28:37 +07:00
configure.sh build-style/configure.sh: use "make check" if available. 2017-11-20 13:26:29 +01:00
fetch.sh xbps-src: quote wrksrc to allow whitespace 2020-09-03 21:03:32 +02:00
gem.sh build-style/gem.sh: remove usage of dirname 2019-04-14 06:22:09 -03:00
gemspec.sh build-style/gemspec.sh: remove usage of dirname 2019-04-14 06:22:09 -03:00
gnu-configure.sh libtool: stop put /usr/lib{32,64} into RPATH 2021-02-21 07:44:26 +07:00
gnu-makefile.sh common/build-style/gnu-makefile: pass CXXFLAGS in make invocation. 2020-12-06 22:03:54 -03:00
go.sh common/build-style: remove go_get from Go style. 2021-02-20 02:01:31 -03:00
haskell-stack.sh xbps-src: quote wrksrc to allow whitespace 2020-09-03 21:03:32 +02:00
meson.sh build-style/meson: ensure stdout is unbuffered for continuous log 2021-10-12 22:35:38 +02:00
meta.sh
perl-module.sh build-style/perl-module: respect build_wrksrc 2021-07-08 18:01:11 +07:00
perl-ModuleBuild.sh common/build-style/perl-ModuleBuild.sh: use target perl includes 2018-09-08 07:10:55 -03:00
python-module.sh build-style/python[3]-module: override _PYTHON_SYSCONFIGDATA_NAME 2019-12-23 17:15:51 +01:00
python2-module.sh build-style/python{2,3}-module: do not use custom build directory 2017-08-25 16:17:12 +02:00
python3-module.sh build-style/python3-{module,pep517}.sh: improve pytest usage 2021-06-08 13:53:15 -04:00
python3-pep517.sh build-style/python3-{module,pep517}.sh: improve pytest usage 2021-06-08 13:53:15 -04:00
qmake.sh build-style/qmake: look for modules in target 2021-03-08 10:40:33 +07:00
R-cran.sh Add and document R-cran build style; support CRAN in update-check. 2017-06-08 13:32:40 +02:00
raku-dist.sh build_style/raku-dist.sh: RAKULIB=lib 2020-05-18 13:42:00 +02:00
README
ruby-module.sh build-style/ruby-module: fix _vendorlibdir because of multilib change 2021-02-24 07:37:52 +07:00
scons.sh build-style: scons: add lowercase compiler variable 2020-05-18 00:32:13 +02:00
sip-build.sh build-style: new build-style for sip-build 2021-06-22 21:27:41 +07:00
slashpackage.sh daemontools: properly use wrksrc/build_wrksrc and no patch_args 2015-02-25 16:16:31 +01:00
texmf.sh common/build-style/texmf.sh: various improvments. 2021-01-19 19:46:52 +01:00
void-cross.sh build-style/void-cross: check for kernel-libc-headers/patches 2021-10-06 22:11:41 -03:00
waf.sh build-style: change all build-styles to use /usr/libNN 2020-12-22 22:18:25 +01:00
waf3.sh build-style: change all build-styles to use /usr/libNN 2020-12-22 22:18:25 +01:00
zig-build.sh build-styles: add zig-build 2021-11-13 11:46:21 -03:00

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.