Commit Graph
20799 Commits
Author SHA1 Message Date
Clinton R. Nixon 6bb92434fa Readline 6.0 2009-09-14 20:33:46 +01:00
Clinton R. Nixon fac9bd0413 JRuby formula
100% Java implementation of Ruby.
2009-09-14 20:33:46 +01:00
Clinton R. Nixon 13925f9930 Ruby 1.9.1 formula 2009-09-14 20:33:46 +01:00
Clinton R. Nixon f1d81cdb48 Clean up indentation
Signed-off-by: Max Howell <max@methylblue.com>

I didn't commit it all, apologies. But I just can't read the sections nearly as easily if you indent private and protected. If it's a Ruby convention it frankly seems at odds with the rest of Ruby spacing conventions.
2009-09-14 20:33:46 +01:00
Clinton R. Nixon da21aeaab8 Zsh formula
Zsh is a shell designed for interactive use, although it is also a powerful
scripting language. More information can be found on the "Zsh Web Pages"
sites.

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

I de-versioned the install directories aas this is typically what we do.
2009-09-14 20:33:46 +01:00
Max Howell f4bf9a5dd3 Escape $ inreplace 'after' parameter 2009-09-14 20:33:46 +01:00
Clinton R. Nixon 9ec05cf09e Ant formula
Ant is a Java-based build tool. In theory, it is kind of like Make, without
Make's wrinkles and with the full portability of pure Java code.
2009-09-14 20:33:46 +01:00
Clinton R. Nixon c13a32382e Most formula
MOST is a powerful paging program for Unix, VMS, MSDOS, and win32 systems.
Unlike other well-known paging programs most supports multiple windows and
can scroll left and right. Why settle for less?
2009-09-14 20:33:46 +01:00
Clinton R. Nixon d8a1d59933 MongoDB formula
Mongo (from "humongous") is a high-performance, open source, schema-free
document-oriented database.
2009-09-14 20:33:46 +01:00
Sean Wolfe 1038860265 Some improvements to the Erlang Formula
Updated erlang with changes to brewkit

Added deps.

Crypto still broke.

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

I removed the flag to make manpages optional as the Homebrew default is to
install manapges.
2009-09-14 20:33:46 +01:00
Sean Wolfe 32b213c43e Couchdb and dependency formulae
Signed-off-by: Max Howell <max@methylblue.com>

I squashed a number of commits here, and also replaced the use of nspr.prefix with HOMEBREW_PREFIX as in theory we are flexible with our requirement for dependencies, although with the limited build system that SpiderMonkey possesses this is difficult for us to achieve anyway…
2009-09-14 20:33:46 +01:00
Tom von Schwerdtner 72ba25f0cc Postgresql formula
With most options enabled (why not?).

Could use cleanup perhaps, but it works...

Note that this does not work due to some library loading issues… when I run
initdb I get a big fail which I have yet to track down.

Signed-off-by: Max Howell <max@methylblue.com>
2009-09-14 20:33:46 +01:00
Nathaniel Talbott added50f10 Better mysql server support
Patch mysql_safe so it will run non-privileged.
Write out plist for managing mysqld with launchctl.
Add instructions on setting up db and launchctl script.

Signed-off-by: Max Howell <max@methylblue.com>
2009-09-14 20:33:46 +01:00
Max Howell 2703702fdc Formula::var
Points to eg. Cellar/wget/var rather than Cellar/wget/1.1.5/var

Discussion: 1689bbc326f1201ea979178ebcadba344abf2568
2009-09-14 20:33:46 +01:00
Leo Franchi 1c674dcb5b fix path to qt binary 2009-09-12 12:06:43 -04:00
Max Howell 5648ddbf3f Somehow slang and s-lang crept in 2009-09-11 19:17:36 +01:00
Andre Arko ad6ad97cc9 Simplify installation of pdftohtml 2009-09-11 10:19:27 -07:00
Andre Arko cdda60bd47 Add pdftohtml formula 2009-09-11 10:19:27 -07:00
Brett Cannon e9dd2564d2 Scala 2.7.5 formula
Signed-off-by: Max Howell <max@methylblue.com>
2009-09-11 17:42:54 +01:00
Brett Cannon cf0c0d8ff9 OCaml 3.11.1 formula
Signed-off-by: Max Howell <max@methylblue.com>

I renamed it objective-caml.rb as this is the naming policy of homebrew. However I acknowledge everyone will look for it under ocaml.

But we do have a feature planned where formula can specify common aliases, and we'll try to get this in quickly.
2009-09-11 17:42:54 +01:00
Tom von Schwerdtner 3b7c4fd17e Mutt 1.5.20 formula
Signed-off-by: Max Howell <max@methylblue.com>
2009-09-11 17:42:54 +01:00
Sean Wolfe 03a95bdda7 Openssl 1.0.0-beta3 formula
Signed-off-by: Max Howell <max@methylblue.com>
2009-09-11 17:42:54 +01:00
Max Howell 590f072067 Ack 1.90
<http://groups.google.com/group/ack-announce/t/584c2c2df9b1ad3>
2009-09-11 17:42:54 +01:00
Max Howell 903a727d11 Taglib Extras 0.1.7 2009-09-11 17:42:54 +01:00
Benjamin Stiglitz 7c38744395 Fixed a typo in the fish formula.
Signed-off-by: Max Howell <max@methylblue.com>
2009-09-11 17:42:53 +01:00
Max Howell 10f4980f97 DMD 1.047 2009-09-11 17:42:53 +01:00
Justin Weiss 3e3cdee823 Pipe Viewer formula
pv - Pipe Viewer - is a terminal-based tool for monitoring the
progress of data through a pipeline. It can be inserted into any
normal pipeline between two processes to give a visual indication of
how quickly data is passing through, how long it has taken, how near
to completion it is, and an estimate of how long it will be until
completion.

Signed-off-by: Max Howell <max@methylblue.com>
2009-09-11 17:42:53 +01:00
Jamie van Dyke 98528f14ef Sphinx formula
How do you implement full-text search for that 10+ million row table, keep up
with the load, and stay relevant? Sphinx is good at those kinds of riddles.

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

I added the mysql dependency.
2009-09-11 17:42:53 +01:00
Max Howell fa598eddfc Overriding Object.class was not my intention
Renamed to Formula::class_s.
2009-09-11 17:42:53 +01:00
Daniel Rodríguez Troitiño 1e5611fcc4 S-Lang formula
S-Lang is a multi-platform programmer's library designed to allow a developer
to create robust multi-platform software.

<http://www.s-lang.org/>
2009-09-11 17:42:53 +01:00
David Höppner 9d100b16b0 Yasm formula
Yasm is a complete rewrite of the NASM assembler under the "new" BSD License.
Yasm currently supports the x86 and AMD64 instruction sets, accepts NASM and
GAS assembler syntaxes, outputs binary, ELF32, ELF64, 32 and 64-bit Mach-O,
RDOFF2, COFF, Win32, and Win64 object formats, and generates source debugging
information in STABS, DWARF 2, and CodeView 8 formats.
2009-09-11 17:42:53 +01:00
Hunter Morris 1294edf21c Formulae for gnutls, libgcrypt, and libgpg-error
Signed-off-by: Max Howell <max@methylblue.com>
2009-09-11 17:42:53 +01:00
Brian Smyth db0a81deeb Popt formula
Popt is similar to getopt, but with a number of enhancements.
2009-09-11 17:42:53 +01:00
Christoph Sturm 2f84e13ba7 FFmpeg formula (10.6 only)
The formula is 10.6 only because it compiles 64 bit, if you are a Leopard user
please patch! The MACOS_VERSION constant may be useful.

FFmpeg is a complete, cross-platform solution to record, convert and stream
audio and video. It includes libavcodec - the leading audio/video codec
library.
2009-09-11 17:42:53 +01:00
Max Howell d92ca447b9 Fix lame version, eg. 398-2
Included test this time!
2009-09-11 17:42:53 +01:00
Mike Arthur 47fcaf8233 Freedesktop.org intltool formula
intltool is a set of tools to centralize translation of many different file
formats using GNU gettext-compatible PO files.
2009-09-11 17:42:53 +01:00
Seth Fitzsimmons bb14c486da Exuberant Ctags
Ctags comes with OS X but Exuberant is better.

Ctags generates an index (or tag) file of language objects found in source
files that allows these items to be quickly and easily located by a text
editor or other utility. A tag signifies a language object for which an index
entry is available (or, alternatively, the index entry created for that
object).
2009-09-11 17:42:53 +01:00
Chris Wanstrath b65435b3e8 Add default configuration for Redis
Signed-off-by: Max Howell <max@methylblue.com>

indirect beat defunkt to the redis formula slightly, but defunkt improved it, so everyone gets credit :)
2009-09-11 17:42:53 +01:00
Andre Arko 08dbf1058c Add formula for redis, a key-value store 2009-09-11 09:08:33 -07:00
Max Howell 535086de27 Only allow --interactive with one formula argument
See comments in commit for details.
2009-09-10 19:23:03 +01:00
Max Howell fcd62ce1eb Don't install dependencies that are already installed 2009-09-10 19:23:03 +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
Joshua Peek 16ad958a11 Add llvm switch to ENV 2009-09-10 18:17:15 +01:00
Adam Vandenberg 1a44bacc7e Function to return a binary's Mach-O architectures
Added a utility method to get an array of architecture names for
a given executable.

This will be useful for, say, figuring out what Python was compiled for,
to know what to compile a C-based module as.

Signed Off By: Max Howell <max@methylblue.com>

I added a test and made the function use `which` if the path provided is not
absolute. I considered allowing relative paths, but then it is possible for
the function to take eg. the svn binary from the current directory when you
meant the one in the path, and that could be a confusing bug.
2009-09-10 18:17:15 +01:00
Adam Vandenberg 9f79ad9db2 Display exit code when nonzero.
Brew fails if a tool (make, or whatever) doesn't return an exit code
of 0. This patch displays the non-zero code on failure, so we can
better diagnose what caused the build to fail (or if we need to add
that exit code as exception 'success code'.)
2009-09-10 18:17:15 +01:00
Max Howell 74675ef347 Handle $EDITOR with spaces
Fixes #40
2009-09-10 18:16:49 +01:00
Max Howell 248d7ef03b We should certainly have a Formula::share()
I removed this months back as I found it confusing, does it mean:

prefix+'share' or prefix+'share'+name()

But honestly, it's obvious, it's the former. It's the same as the other path
functions.
2009-09-10 17:21:14 +01:00
Étienne Barrié b820972433 Add support for SHA256 2009-09-07 16:10:50 +02:00
Étienne Barrié 754cd4760e Add test for SHA1 2009-09-07 15:26:43 +02:00
Max Howell f414bc8cce brew make' becomes brew create'
This is because I have observed two people confuse make with the "make" tool
and thus assume `brew make' is `brew install'.

`brew make' will be deprecated at 0.7, until then it shows a warning.
2009-09-07 01:34:40 +01:00