24076327ba
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. |
||
---|---|---|
.. | ||
R-cran.sh | ||
README | ||
cargo.sh | ||
cmake.sh | ||
configure.sh | ||
fetch.sh | ||
gem.sh | ||
gemspec.sh | ||
gnu-configure.sh | ||
gnu-makefile.sh | ||
go.sh | ||
haskell-stack.sh | ||
meson.sh | ||
meta.sh | ||
perl-ModuleBuild.sh | ||
perl-module.sh | ||
python2-module.sh | ||
python3-module.sh | ||
python3-pep517.sh | ||
qmake.sh | ||
raku-dist.sh | ||
ruby-module.sh | ||
scons.sh | ||
sip-build.sh | ||
slashpackage.sh | ||
texmf.sh | ||
void-cross.sh | ||
waf.sh | ||
waf3.sh | ||
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.