Commit Graph
21162 Commits
Author SHA1 Message Date
Caleb Land 17c1eaaf2e Fix Spidermonkey formula
The Spidermonkey makefiles hardcoded the compilers that are used. Which broke
when used with gcc 4.2 cflags.
2009-09-28 00:20:50 +01:00
Basil Shkara 0dcace0b62 Added cscope formula. 2009-09-27 10:02:56 +10:00
Max Howell 6caebd3eca Oops. Don't raise for homepages. Silly. 2009-09-26 02:20:00 +01:00
Mike Enriquez 4508f8b1e4 Fix postgresql build
Signed-off-by: Max Howell <max@methylblue.com>

I amended it slightly from the original patch: f91a542e8f07323bca00da3de4eee7060e8122a7

Fixes #38
2009-09-25 19:41:54 +01:00
Max Howell deeb33a47c Use MACOS_VERSION in bin/brew 2009-09-25 19:30:19 +01:00
Max Howell 07f331bffa Throw if no homepage set
That'll teach you!
2009-09-25 19:22:02 +01:00
Adam Vandenberg 84abdce9a8 Formula for frotz 2009-09-25 19:22:02 +01:00
Adam Vandenberg 177bd8f4a8 Formula for Omega (roguelike)
The class roguelike game.
2009-09-25 19:22:02 +01:00
Adam Vandenberg b7bdb339b5 Formula for Angband 2009-09-25 19:22:02 +01:00
Adam Vandenberg 71c722605e Fix Nethack formula.
* Create the empty save folder on install.
* Deparallelize the build, since the master build runs a bunch of
  nested makes, and we want the products to come out in-order.
2009-09-25 19:22:02 +01:00
Adam Vandenberg 618ae3eb1d Bump MysqlConnectorC to 6.0.2 2009-09-25 19:22:01 +01:00
Adam Vandenberg 578faed910 Bump MySQL to 5.1.39 2009-09-25 19:22:01 +01:00
Adam Vandenberg f6a491d1f0 Fix name of libunistring, libidn and cluence classes 2009-09-25 19:22:01 +01:00
Adam Vandenberg 260cda6554 Add test for matching formula filename/class. 2009-09-25 19:21:03 +01:00
Adam Vandenberg 5bd5a126c0 Add better error message for misnamed formula class. 2009-09-25 19:20:59 +01:00
Adam Vandenberg 9a87d6f6cf Update bash completions. 2009-09-25 18:58:06 +01:00
Adam Vandenberg 69c9010695 Find version number in *-src.tarball
Signed-Off-By: Max Howell <max@methylblue.com>

I added a unittest.
2009-09-25 18:57:44 +01:00
Max Howell 36aacf77fe Don't summarize brew list if piped to another command 2009-09-25 18:06:37 +01:00
Max Howell 6bd182e845 Default to LLVM on Snow Leopard
On Leopard you can enable it by defining the environment variable:

    HOMEBREW_USE_LLVM

I didn't enable it on Leopard by default because it doesn't get as much testing, and I don't want to rock the boat. On Snow Leopard people are forigiving of issues because it is new and many compiles fail anyway. And if you installed Snow Leopard you *want* the cutting edge.

Closes #29
2009-09-25 18:06:37 +01:00
Boris Gordon 87380781a6 Installation links were round the wrong way in the README 2009-09-25 18:05:29 +01:00
Boris Gordon 5eee2c2cb0 MCrypt formula
MCrypt is a replacement for the old crypt() package and crypt(1) command, with
extensions. It allows developers to use a wide range of encryption functions,
without making drastic changes to their code. It allows users to encrypt
files or data streams without having to be cryptographers. Above all, it
allows you to have some really neat code on your machine. :)
2009-09-25 18:03:41 +01:00
Steve Agalloco 1ef3d9810a Mysql 5.1.38
5.1.37 *already* no longer available to download on mirrors.
2009-09-25 15:40:29 +01:00
Christian Mayer d4aeb37caa Axel formula
Axel tries to accelerate downloads by using multiple connections (possibly to
multiple servers) for one download. Because of its size, it might be very
useful on bootdisks or other small systems as a wget replacement.
2009-09-25 15:31:55 +01:00
Max Howell 07b8bb7cc5 Fix readline
Patches were level 0, not level 1
2009-09-25 15:31:55 +01:00
Brian Smyth 5a6f278c51 Links formula.
Text mode web browser that support tables and frames.
2009-09-25 00:00:55 -04:00
Max Howell 9d92cb0ad0 Don't use quotes with the comma separated version of system()
As you don't escape to that version.
2009-09-25 01:24:05 +01:00
Piotr Usewicz c81a1d33ff Add full version and build numbers to user agent
Signed-off-by: Max Howell <max@methylblue.com>

I adapted it slightly based on the user agent that Safari gives.
2009-09-25 01:24:05 +01:00
Abhay Kumar e60e1d7b7a Don't prematurely bump Erlang
Thou shall not bump a packaging system's erlang version before it's released
even though you love to live on the edge.

Signed-off-by: Max Howell <max@methylblue.com>

Agreed, Homebrew sticks to stable releases in the main url, the @head url is used for cutting edge.
2009-09-25 01:24:05 +01:00
Erlend Finvåg 045c6f7312 cksfv formula 2009-09-25 01:24:01 +01:00
Max Howell 9f52fea520 Fixes #60
Well, I guessed keg_only would have issues.

Here, glib assumes GNU gettext will be in the same path as itself. Which would
be true if we symlinked gettext into the tree, but we don't to avoid conflicts
with the BSD version: /usr/lib/libgettext.dylib

We'll have to do this a lot, so I need to figure out how to automate it, or
how to avoid doing this kind of thing altogether.
2009-09-25 00:04:55 +01:00
Matt Freels b06bd60957 Ack moved to github 2009-09-24 23:47:34 +01:00
Julien BLANCHARD 08a5eb4960 Updated nginx to 0.7.62 2009-09-24 23:47:34 +01:00
Ben Alpert 106b82ed7c Don't use file, just check the magic numbers instead
Closes #58
2009-09-24 16:30:40 -06:00
Ben Alpert c89f7f2b51 Simplify first_dir in MacFUSE formula 2009-09-24 16:30:36 -06:00
Ben Alpert 5d7cab9703 Add Hardware.is_64_bit? method
Closes #53
2009-09-24 16:30:26 -06:00
Max Howell e698609ada Summarised listings with brew list
I'm trying to only show the interesting stuff. You can see a full listing with
brew -v list, or by piping to other commands.

Tell me if you hate it or love it.
2009-09-24 22:38:42 +01:00
Max Howell 9433168920 Install man pages correctly (libtiff formula) 2009-09-24 21:46:39 +01:00
Max Howell 5aa007a085 Don't install .bat files (Maven formula) 2009-09-24 21:46:35 +01:00
Max Howell f2a69797f9 brew log command
Shows the git-log for that formula.
2009-09-24 21:09:46 +01:00
Max Howell 56f49c2edf The term zeroconf only applies to networking apparently
Random guy on Twitter mentions it. Google confirms.
2009-09-24 18:54:27 +01:00
Max Howell 675d4a87be Use new instance var syntax for brew create 2009-09-24 18:49:49 +01:00
Max Howell 8d405a04bf Use new instance var syntax in example formula 2009-09-24 18:49:32 +01:00
Max Howell 51dcb8c9e7 Use full paths to all system utilities
Otherwise you run the risk of not running the exact version / make of the utility you planned.

Fixes #48

Really we need to do this formula too, so I guess a make and cmake function are on the way…
2009-09-24 18:26:24 +01:00
Max Howell 0836244a23 Remove Fink and Macports from the PATH earlier
References issue #48
2009-09-24 18:26:24 +01:00
Max Howell 419cf71e9e Return non-zero error code on errors
Stupidly I figured Ruby did this for us, but why would it?
2009-09-24 18:26:24 +01:00
Clinton R. Nixon 3acaab7139 DRYed up "@foo=self.class.foo unless @foo" statements
Using the example from the existing code:

  CHECKSUM_TYPES.each do |type|
    if !instance_variable_defined?("@#{type}")
      class_value = self.class.send(type)
      instance_variable_set("@#{type}", class_value) if class_value
    end
  end

I extracted that block into a method 'set_instance_variable' which I
then used in all places where this behavior was being used.
2009-09-24 18:26:16 +01:00
Clinton R. Nixon 9713b07890 Added small DSL for formulas
You can now use "url", "version", "homepage", and any checksums as
class methods, like so:

    class Dos2unix <Formula
      url 'http://www.sfr-fresh.com/linux/misc/old/dos2unix-3.1.tar.gz'
      md5 '25ff56bab202de63ea6f6c211c416e96'
      homepage 'http://www.sfr-fresh.com/linux/misc/'
    end

The previous usage ("@url = 'http://example.com/tarball.tgz'") still
works, maintaining compatibility with previous formulas.

"dos2unix.rb" is translated into the new format as an example.
2009-09-23 14:51:11 -04:00
elliottcable b8c17e90f7 #caveats expects me to return a string, I don’t have to #puts it myself. 2009-09-22 13:47:40 -08:00
elliottcable 51018acf79 No need for a @version, that is extracted from the URL 2009-09-22 13:45:11 -08:00
elliottcable cec6cdd3c7 Building Ruby with pthread is bad practice.
Ruby is not natively threaded; there is absolutely no reason to build against
pthread unless you intend to link against libraries themselves built with
pthread (tcl/tk). More information: http://blogs.sun.com/prashant/entry/ruby_and_enable_pthreads
2009-09-22 13:21:54 -08:00