void-packages/common/build-style
Dominik Honnef 2bb87e4e07 build-style/go: don't set GOBIN
Go 1.5 doesn't permit our use of GOBIN anymore, breaking
cross-compilation (for details, see
https://github.com/golang/go/issues/9769)

In retrospect, I'm not sure why we set GOBIN in the first place;
GOPATH/bin should suffice.

Closes #2337
2015-08-22 20:58:24 +02:00
..
README xbps-src: common/{,environment}/build_style -> common/${,environment}/build-style. 2015-02-21 12:13:07 +01:00
cmake.sh build-style/cmake.sh: allow build subdirectory 2015-06-29 14:29:46 +00:00
configure.sh xbps-src: common/{,environment}/build_style -> common/${,environment}/build-style. 2015-02-21 12:13:07 +01:00
fetch.sh xbps-src: common/{,environment}/build_style -> common/${,environment}/build-style. 2015-02-21 12:13:07 +01:00
gnu-configure.sh xbps-src: common/{,environment}/build_style -> common/${,environment}/build-style. 2015-02-21 12:13:07 +01:00
gnu-makefile.sh build-style/gnu-makefile: force {C,LD}FLAGS via make(1) arguments. 2015-05-12 18:07:58 +02:00
go.sh build-style/go: don't set GOBIN 2015-08-22 20:58:24 +02:00
meta.sh xbps-src: common/{,environment}/build_style -> common/${,environment}/build-style. 2015-02-21 12:13:07 +01:00
perl-ModuleBuild.sh xbps-src: common/{,environment}/build_style -> common/${,environment}/build-style. 2015-02-21 12:13:07 +01:00
perl-module.sh build-style/perl-module.sh: use -lperl when building XS modules for shlib-requires. 2015-06-23 13:37:41 +02:00
python-module.sh build_style/python-module: unbreak cross builds 2015-02-21 19:21:21 +01:00
qmake.sh build-style qmake: INSTALL_ROOT=${DESTDIR} 2015-08-22 19:32:38 +02:00
ruby-module.sh build-style/ruby-module: force LANG=C to workaround musl. 2015-07-29 10:24:53 +02:00
slashpackage.sh daemontools: properly use wrksrc/build_wrksrc and no patch_args 2015-02-25 16:16:31 +01:00
waf.sh xbps-src: common/{,environment}/build_style -> common/${,environment}/build-style. 2015-02-21 12:13:07 +01:00
waf3.sh xbps-src: common/{,environment}/build_style -> common/${,environment}/build-style. 2015-02-21 12:13:07 +01:00

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.