void-packages/common/build-style
John 13b085be7c build-style/cmake.sh: specify paths as type PATH
specifying the type prevents cmake to converthing the paths
relative to the CWD

cmake documentation:

Furthermore, if the <type> is PATH or FILEPATH and the <value> provided
on the command line is a relative path, then the set command will treat
the path as relative to the current working directory and convert it to an absolute path.
2023-10-14 10:21:59 +02:00
..
R-cran.sh
README
cargo.sh common/build-style/cargo.sh: use --locked for build and check as well 2023-04-13 13:15:04 -04:00
cmake.sh build-style/cmake.sh: specify paths as type PATH 2023-10-14 10:21:59 +02:00
configure.sh common: cleanup trailing whitespaces 2023-02-07 03:26:02 -05:00
fetch.sh
gem.sh common: cleanup trailing whitespaces 2023-02-07 03:26:02 -05:00
gemspec.sh common: cleanup trailing whitespaces 2023-02-07 03:26:02 -05:00
gnu-configure.sh common: cleanup trailing whitespaces 2023-02-07 03:26:02 -05:00
gnu-makefile.sh common: cleanup trailing whitespaces 2023-02-07 03:26:02 -05:00
go.sh common/build-style/go.sh: update go build style for go1.21.0 2023-08-23 16:06:44 -05:00
haskell-stack.sh
meson.sh common/build-helper/meson.sh: new build helper, used by meson build style 2023-09-22 10:16:59 -04:00
meta.sh
perl-ModuleBuild.sh
perl-module.sh common/build-style: make do_check run in parallel unless disabled 2022-06-23 23:08:03 -05:00
python2-module.sh
python3-module.sh common/{,environment}/build_style/python3.sh: use python3 build_helper 2022-08-29 23:25:05 -04:00
python3-pep517.sh common/build-style/python3-pep517.sh: use meson cross files by default 2023-09-23 12:49:44 -04:00
qmake.sh build-style/qmake: add support for Qt6 2023-03-02 07:52:08 +07:00
raku-dist.sh
ruby-module.sh
scons.sh build-style/scons: use --install-sandbox for $DESTDIR 2022-09-05 20:00:36 +07:00
sip-build.sh
slashpackage.sh common: cleanup trailing whitespaces 2023-02-07 03:26:02 -05:00
texmf.sh
void-cross.sh build-style/void-cross.sh: adjustments for --enable-autolink-libatomic. 2023-07-26 23:27:32 +02:00
waf.sh
waf3.sh Revert "build-style/waf3: set config dir to /etc" 2022-09-11 13:28:49 +00:00
zig-build.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.