void-packages/common
Dominik Honnef cdd2ce0da4 add helpers for working with options
Add the helpers vopt_if, vopt_with and vopt_enable that simplify common
option-based operations.

Instead of a bunch of

if [ "$build_option_foo" ]; then
	configure_args+=" --with-foo"
	makedepends+=" foo-devel"
else
	configure_args+=" --without-foo"
fi

one can use

configure_args="... $(vopt_with foo)
makedepends="... $(vopt_if foo foo-devel)"

instead.

We're adding these functions to common/xbps-src/shutils/common.sh but
that might not be the ideal place. I would've preferred
common/helpers/options.sh, but helpers are only available in the
individual phases, not when the template itself gets parsed.
2014-08-30 00:39:46 +02:00
..
build_style xorg-server: merge -wrapper; does not do any harm if it's always there. 2014-07-17 20:09:55 +02:00
cross-profiles cross-profiles/armv7hf: use the arm-linux-gnueabihf cross compiler. 2014-08-21 16:56:03 +02:00
environment Introduce "broken" var to skip building broken packages; make "nocross" not error out. 2014-08-22 16:49:23 +02:00
helpers vconf: install to /etc, not /etc/${pkgname} 2014-07-26 17:10:10 +02:00
hooks hooks/generate-runtime-deps: also make "virtual?" subst on noarch/noverifyrdeps pkgs. 2014-08-26 09:58:58 +02:00
repo-keys Added default void RSA pubkey to avoid interactivity in binary-bootstrap. 2014-07-01 18:44:38 +02:00
xbps-src add helpers for working with options 2014-08-30 00:39:46 +02:00
options.description rc: move option descriptions to common/options.description. 2014-07-12 18:15:29 +02:00
shlibs New package: lapack-3.5.0; supersedes liblapack 2014-08-29 19:20:59 +02:00