Determining build-time deps as part of the download strategy is probably
a Homebrew 2 topic, so avoid the "you need to install xz" warning by
declaring xz as a dep where used.
The "don't use xz if there are alternatives" policy is still in effect,
though.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Also add unprefixed symlinks in libexec/gnubin:
- libexec/gnubin directory contains symlinks to all the coreutils
commands without its program-prefix "g". (Inspired by MacPorts'
coreutils)
- Now without the --default-names option, this directory is essential
to those who have a lot of shell scripts that use GNU coreutils with
their default names. (The aliases file is no use for them)
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
It seems that the main GNU download site has issues in some places
outside the U.S., so we'll use the provided "ftpmirror.gnu.org" to pick
a nearby mirror.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
adds a --default-names option to coreutils which generates binaries without
a prefix, removing the need for tons of aliases.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
brewkit.rb changes ENV destructively, so lets not do that everytime a formula
is required. Now it's possible for other tools to require a formula
description without worrying about side-effects.
The aliases file which can be generated with brew --install hardcodes
/usr/local. Changed it to set a brew_prefix environment variable
and use it instead.
The GNU Core Utilities are the basic file, shell and text manipulation
utilities of the GNU operating system. These are the core utilities which are
expected to exist on every operating system.