Commit Graph
11 Commits
Author SHA1 Message Date
Adam Vandenberg 0476235ce0 Use ruby style for inheritance. 2011-03-12 11:55:09 -08:00
Aleksandar Topuzovic 5ac2ace510 Version bump to 3.9.4
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-09-22 06:44:00 -07:00
Adam Vandenberg 91cc3167a1 libtiff - remove unused configure switch 2010-08-14 14:11:09 -07:00
Adam Vandenberg da3d104278 Updated homepage and download for libtiff. 2010-03-17 10:00:22 -07:00
Adam Vandenberg 180c52db79 Use shorter reference to man in several formulae. 2010-02-15 14:51:38 -08:00
Gavin Heavyside 03cfaa1463 Bump libtiff from 3.9.1 to 3.9.2 2009-11-11 22:38:10 +00:00
Andrew White e306bc5d2c Update to tiff-3.9.1 2009-10-19 04:02:49 +01:00
Andrew White 69ec0edec6 Set mandir in configure script instead of moving afterwards 2009-10-19 04:02:49 +01:00
Max Howell a82e823935 s/require 'brewkit'/require 'formula'/g
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.
2009-10-15 16:48:03 +01:00
Max Howell 9433168920 Install man pages correctly (libtiff formula) 2009-09-24 21:46:39 +01:00
Max Howell d366b28923 Dependency resolution
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.
2009-09-10 19:23:03 +01:00