void-packages/common/build-style
Érico Rolim 24076327ba common/build-style: check if go_import_path matches go.mod.
Without this check, calling `go install` with a wrong go_import_path
might end up downloading the source code for said package (using git,
for example), instead of building from the provided tarball. The first
line of go.mod should be "module $go_import_path" for Go to not try and
download source code instead of using what it has locally.

Fixes #27690.
2023-06-26 00:55:36 -04: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: Disable FetchContent 2023-01-17 08:20:02 +07: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: check if go_import_path matches go.mod. 2023-06-26 00:55:36 -04:00
haskell-stack.sh
meson.sh common: build-style/meson: use meson setup 2022-11-08 18:24:04 +01:00
meta.sh
perl-ModuleBuild.sh xbps-src: add make_check_pre 2022-05-04 10:46:53 +02:00
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: extract wheels in hidden dirs 2023-06-05 16:27:02 -04:00
qmake.sh build-style/qmake: add support for Qt6 2023-03-02 07:52:08 +07:00
raku-dist.sh common/do_check: move make_check_pre behind env setting 2022-05-08 08:12:03 +07:00
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: fix musl __stack_chk_fail_local 2023-01-20 16:06:07 +07: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.