Specify dependencies in your formula's deps function. You can return an Array,
String or Hash, eg:
def deps
{ :optional => 'libogg', :required => %w[flac sdl], :recommended => 'cmake' }
end
Note currently the Hash is flattened and qualifications are ignored. If you
only return an Array or String, the qualification is assumed to be :required.
Other packaging systems have problems when it comes to packages requiring a
specific version of a package, or some patches that may not work well with
other software. With Homebrew we have some options:
1. If the formula is vanilla but an older version we can cherry-pick the old
version and install it in the Cellar in parallel, but just not symlink it
into /usr/local while forcing the formula that depends on it to link to
that one and not any other versions of it.
2. If the dependency requires patches then we shouldn't install this for use
by any other tools, (I guess this needs to be decided on a per-situation
basis). It can be installed into the parent formula's prefix, and not
symlinked into /usr/local. In this case the dependency's Formula
derivation should be saved in the parent formula's file (check git or
flac for an example of this).
Both the above can be done currently with hacks, so I'll flesh out a proper
way sometime this week.
This regards Issue Homebrew/homebrew#30.
Turns out -march=native isn't supported by Apple's GCC, but while investigating it I found they'd back ported the -march=core2 option, so we win anyway.
Logic reverted to how it was yesterday.
I moved the gcc options stuff back to brewkit.rb as we manipulate the cflags more later and it seemed bad form to split the logic for this area over two files.
Additionally the brew command exits immediately on powerpc now. Brewkit doesn't throw as theoretically it is a useful library file for other projects.
Thrift is a software framework for scalable cross-language services
development. It combines a powerful software stack with a code generation
engine to build services that work efficiently and seamlessly between C++,
Java, Python, PHP, and Ruby. Thrift was developed at Facebook and released as
open source.
Oniguruma is a regular expressions library. The characteristics of this
library is that different character encoding for every regular expression
object can be specified.
I removed the rename and mv functions as when I wrote the tests I realised the function implied the pathname object would be updated to reflect the moved or renamed file. However that cannot be done. Also frankly I think writing it out in full makes clearer code.
GNU ddrescue is a data recovery tool. It copies data from one file or block
device (hard disc, cdrom, etc) to another, trying hard to rescue data in case
of read errors.
Added Formula::etc()
Added Pathname::write() convenience function which can write a string out to
the file it points too, raising if it would have to overwrite.
> The fri executable will run much faster if you install FastRI from a
> tarball, since RubyGems introduces a noticeable overhead.
Source: http://eigenclass.org/hiki/fastri
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.
Dovecot is an open source IMAP and POP3 server for Linux/UNIX-like systems,
written with security primarily in mind. Dovecot is an excellent choice for
both small and large installations. It's fast, simple to set up, requires no
special administration and it uses very little memory.
The Low Level Virtual Machine, generally known as LLVM, is a compiler
infrastructure, written in C++, which is designed for compile-time, link-time,
run-time, and "idle-time" optimization of programs written in arbitrary
programming languages.
The PCRE library is a set of functions that implement regular expression
pattern matching using the same syntax and semantics as Perl 5. PCRE has its
own native API, as well as a set of wrapper functions that correspond to the
POSIX regular expression API. The PCRE library is free, even for building
commercial software.
unp is a small perl script which makes extraction of any archive files a bit
easier. It support several compressors and archiver programs, chooses the
right one(s) automatically and extracts one or more files in one go.
Signed Off By: Max Howell <max@methylblue.com>
I amended the formula slightly to use Homebrew's install functions, and
Homebrew's automatic installation for README, etc. files.
Tree is a recursive directory listing program that produces a depth indented
listing of files, which is colorized ala dircolors if the LS_COLORS
environment variable is set and output is to tty.
I used the imagemagick-installer script that made the rounds on Twitter lately as a basis.
But a number of improvements, eg. lets not mess around with the OS X installation of cups.
Signed-off-by: Max Howell <max@methylblue.com>
I made everything compile, however I haven't tested it yet as I have a mix of
MacFUSE installations and am thus not a good test case!
SSHFS is a MacFuse based filesystem that lets you mount remote machines
(via ssh) so they are visible to Finder (and on the command line, of course.)
To use this formula, you must first install the binary of MacFuse,
because it is (not yet) avaiable via brew.