Commit Graph
820 Commits
Author SHA1 Message Date
Adam Vandenberg ce01313bbc Rewrite of HOMEBREW_ folder locations
This rewrite attempts to sort out where the Prefix, Cellar, and
Repository are relative to the real and symlinked 'brew' command.

Also included is a --config option which dumps all of these variables.

Any top-level script must define a "BREW_FILE" that gives the path
to brew as it exists in the path. 'brew' itself just uses __FILE__ and
install.rb does a `which brew` (there may be a better way?)

The Prefix is always relative to the location of brew as it exists in
the path. Thus, whether or not /usr/local/bin/brew is a symlink or real
file, the Prefix is always /usr/local. If you have brew in some other
prefix, such as /nonstandard/bin/brew, then '/nonstandard/ will be
managed by brew instead.

The Repository, Cellar, and "Library/Homebrew" required code is always
found relative to the "real" path or brew. If brew is a real file in
/usr/local/bin/brew, then everything else will be found in /usr/local
and we'll expect a /usr/local/.git

Otherwise, we dereference brew's symlink and look for everything else
relative to that path instead.
2009-11-04 16:27:34 +00:00
Adam Vandenberg 0221ee2ddf Update Subversion to 1.6.6 and fix on Leopard.
The "fixes" to this formula for 10.6 completely broke it on 10.5.
The formula now has separate setup / deps handling for 10.5 and
10.6, which should work until Subversion 1.7 comes out some day
and the Snow Leopard system deps break again.
2009-10-30 11:05:49 -07:00
Adam Vandenberg da385f68de Fix md5 on MySQL Connector (C) 2009-10-28 11:41:02 -07:00
Adam Vandenberg 06f5744e35 MongoDB - support 32bit installs and bump to 1.1.2. 2009-10-27 13:42:01 -07:00
Max Howell 9d53d7b843 Marshal install.rb exceptions back to the parent process
Using an error pipe.

The use of ENV[HOMEBREW_ERROR_PIPE] feels wrong, but I wasn't sure how else to
proxy the file descriptor to the child process since the fork immediately
calls exec.
2009-10-24 16:20:58 +01:00
Max Howell 5b288eee85 Better md5 mismatch exception 2009-10-24 16:20:11 +01:00
Max Howell e88015cb59 Use the correct md5, why not? 2009-10-24 16:20:10 +01:00
Max Howell 24e28d4bf9 Install single files to prefix
It's a single .app file, our convention here is typically to just put it at the formula's prefix root.
2009-10-23 19:22:52 +01:00
Max Howell d37ab41604 Fix SDL pc files and sdl-config
So many tools expect all SDL modules to be installed in the same place. So we have to change the prefix path to HOMEBREW_PREFIX. This is probably the correct thing to do in general in fact.
2009-10-23 19:22:51 +01:00
Max Howell a49c87d4b7 Implement inreplace natively in Ruby
I found yet another instance where the escaping wasn't perfect, so got fed up and just did it in Ruby. I hope this works for all existing usage. It should.

The bonus here is that you can use RegExps now.
2009-10-23 19:22:51 +01:00
James Whitehead II 2c92ba0124 Updated URL and MD5 for aria2 (1.6.2) 2009-10-23 19:22:51 +01:00
Rob Olson db4ba63534 Fixed typo in the Jasper formula 2009-10-23 19:22:51 +01:00
Mihai Anca b673e04c2e Update Redis to 1.02 2009-10-23 19:22:51 +01:00
Björn B. Brandenburg 39d3e53064 Add formula for pdflib-lite.
pdflib-lite is required to enable Gnuplot's PDF terminal.

While not free (as in speach) software, pdflib-lite is available for
non-commercial (i.e., academic and personal) use free of charge. A license
reminder is printed at the end of the build.

pdflib is also provided by MacPorts; a workaround from their portfile was
adapted to this formula to get the build to go through.
2009-10-23 19:22:51 +01:00
Max Howell 25f76f2691 The tests need the actual optparse apparently 2009-10-23 19:22:51 +01:00
Alexander Solovyov b5fd41048b Fixes #97: add fake optparse.rb 2009-10-23 19:22:51 +01:00
Max Howell bf95b5c21d Bump Qt to 4.5.3 2009-10-23 19:22:51 +01:00
Max Howell e5fbf809c5 Call to_s on ohai parameters 2009-10-23 19:22:51 +01:00
Max Howell 83b5724465 Show backtrace during non fatal install steps if --debug 2009-10-23 19:22:51 +01:00
Max Howell 0b7e5cd4eb Fixes #77 2009-10-23 19:22:39 +01:00
Max Howell 5c54f5747b Allow multiple formula to symlink the same directory
During the link step, if the destination symlink already exists, unlink it, and create a directory instead, then relink the original contents. Then continue linking the formula in question.

Fixes #62
2009-10-23 19:22:07 +01:00
Max Howell 94ebfa0aa9 ENV.m32 2009-10-23 19:20:16 +01:00
Max Howell 8210dcfb0c ENV.osx_10_5 2009-10-23 19:20:16 +01:00
Max Howell 9338e8e74f Remove mercurial and scons from the create blacklist
Blacklist wxwidgets, it's in /usr/X11/lib.
2009-10-23 19:20:16 +01:00
Max Howell f5779b86fd Swig comes with OS X all versions 2009-10-23 19:20:15 +01:00
Max Howell 4a2fb88e36 Show where we cached the download 2009-10-23 19:12:29 +01:00
Mike Arthur 7cf2d9559a Add CppUnit brew. 2009-10-23 19:12:21 +01:00
Adam Vandenberg e072ea2fc9 Add separator param to ENV.append (to match prepend.) 2009-10-21 11:50:37 -07:00
Adam Vandenberg 5c6cc64997 Speed up Python linking. 2009-10-21 11:30:54 -07:00
Adam Vandenberg 585bc3ac6a Formula for Exult, an Ultima 7 game engine. 2009-10-20 20:51:21 -07:00
Adam Vandenberg a3bca30540 Allow revisions on SVN checkouts. 2009-10-20 20:50:20 -07:00
Adam Vandenberg c21db3bad5 Update SDL for Snow Leopard. Add libmikmod. 2009-10-20 20:12:30 -07:00
Jannis Leidel 54d838395a DRY in autossh formula 2009-10-21 03:03:31 +01:00
Seth Falcon 0fa085d8ff Add formula for rdesktop 2009-10-21 02:59:36 +01:00
Robert Iannucci f03102824b cowpatties! 2009-10-21 02:55:42 +01:00
Kieran Pilkington 3f3da067f2 Enable jpeg2000 support 2009-10-21 02:53:28 +01:00
Mel Gray b6b5701210 Latest version wouldn't work with Ruby bindings
So bumping down.
2009-10-21 02:39:29 +01:00
Mihai Anca 205fe54d8f Tokyo Tyrant formula
A network interface for concurrent and remote connections to Tokyo 
Cabinet.
2009-10-21 02:31:58 +01:00
Mihai Anca 65f2cf1998 Updated Tokyo Cabinet to 1.4.35 2009-10-21 02:31:58 +01:00
Torsten Curdt 2a5b608e11 Add lesspipe 1.7.0 brew 2009-10-21 02:27:24 +01:00
Patrick Elder f970ff74df Update to Git 1.6.5.1 2009-10-21 02:27:24 +01:00
David Reynolds a48e4b1324 Remove some unecessary compiler flags 2009-10-21 02:27:24 +01:00
Caleb Land b3cf6c815c add formula for rlwrap
rlwrap wraps another command giving it readline editing ability.

This is useful for interactive programs like clojure which don't provide readline support.

http://en.wikibooks.org/wiki/Clojure_Programming/Getting_Started#Enhancing_Clojure_REPL_with_rlwrap
2009-10-20 14:18:52 -04:00
Max Howell 3b82fd3332 DRY mad project homepages
Yay for using Ruby rather than some lame declarative syntax.
2009-10-19 13:52:57 +01:00
Jiayong Ou d0ae292131 shell.fm formula
shell-fm is a lightweight, console-based player for last.fm radio streams.

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

The h1 on the page is Shell.fm, everywhere else he calls it shell-fm. Thanks developer-guy. I switched the formula to .fm as that is more consitent with how you would write it if you heard it mentioned in a podcast etc.
2009-10-19 13:52:52 +01:00
Max Howell 6de4670092 Fix libao runtime issue
Symbol not found: _dlsym_auto_underscore

Fixes pending shell.fm output issue.
2009-10-19 13:48:34 +01:00
Jiayong Ou d949318b06 madplay formula
A command-line front-end for the MAD decoder
2009-10-19 13:48:34 +01:00
Jiayong Ou 12d2ccd297 libid3tag formula
ID3 library from libmad
2009-10-19 13:48:34 +01:00
Max Howell 02e34e1e44 Camelcase class names around the . from filenames
Eg. shell.fm -> ShellFm
2009-10-19 13:48:34 +01:00
Max Howell 7189bc2ddc Build a universal binary on Leopard
Fixes #69
2009-10-19 13:48:33 +01:00