Commit Graph
23991 Commits
Author SHA1 Message Date
Fabian Jakobs dd69d0ad92 Universal unpacker (unp) formula
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.
2009-08-31 18:08:30 +01:00
Brett Porter 9ab3d894d9 Tree formula
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.
2009-08-31 18:07:44 +01:00
Max Howell fafbbbea79 Change license to BSD
I confirmed this change with all relevant contributors first.
2009-08-31 16:09:17 +01:00
Adam Vandenberg 13af1eeade Vorbis depends on libogg not 'ogg' 2009-08-31 01:46:19 +01:00
Adam Vandenberg 4a76fa50d2 Formula for ScummVM.
This formula needs a lot of work, on optimising and getting (optional)
dependencies figured out.
2009-08-31 01:46:19 +01:00
Adam Vandenberg bc13d01c72 Formula for SDL. 2009-08-31 01:46:19 +01:00
Joshua Peek 3e33ddb9e4 Formula for memcached 2009-08-30 11:36:27 -05:00
Joshua Peek cca545e328 Formula for elinks 2009-08-30 11:36:19 -05:00
Max Howell e5997bf6d6 Git 1.6.4.2 2009-08-30 17:07:31 +01:00
Max Howell 7f14a9f20a Full ImageMagick install
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.
2009-08-30 16:12:46 +01:00
Max Howell d293aa3796 Better cache names for accessory-formula
Because formula don't get named unless the brew kit instantiates them accessory formula were getting named "__UNKNOWN__". Which sucks.

This isn't ideal for me as I made the naming use @name and @version to ensure unique naming. Now it is possible to have name clashes in the cache. So I need to solve it better at some point.
2009-08-30 16:11:44 +01:00
Max Howell dffcac8b41 Ruby 1.9 version style 2009-08-30 15:49:38 +01:00
Max Howell 253aa3e073 FIX GithubGistFormula (fixes #20) 2009-08-30 15:32:15 +01:00
Max Howell 211404c83b brew unlink command
Closes #8
2009-08-29 21:07:26 +01:00
Max Howell 7843be1556 Update Boost to 1.40 2009-08-29 14:15:22 +01:00
Adam Vandenberg 76a289bb8e Clarify --debug behavior.
Add a note that 'exit 1' will abort the installation in --debug mode.

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

I ammended the text slightly and made the lines all 78 chars wide maximum.
2009-08-29 14:12:31 +01:00
Adam Vandenberg 4cfc94c058 Bump Git to version 1.6.4.1 2009-08-29 13:37:52 +01:00
Adam Vandenberg eafcb082b5 Bump sqlite version. 2009-08-25 02:53:15 +01:00
Adam Vandenberg 10133d4cc0 Formula for mod_wsgi.
mod_wsgi is an Apache module that allows wsgi-compliant Python apps to run
under Apache or as separate daemons.
2009-08-25 02:48:13 +01:00
Max Howell 545ea19b44 Don't symlink directories into bin 2009-08-24 01:04:54 +01:00
Max Howell 3f8c2a8a4a Playdar formula
Fix git download strategy
2009-08-24 01:04:54 +01:00
Max Howell caf2d99972 Three omissions corrected 2009-08-24 01:04:54 +01:00
Max Howell 9243396f91 reinreplace uses safe_system 2009-08-24 01:04:54 +01:00
Max Howell b3107a85ac Raise a SystemExit exception to prevent backtrace 2009-08-24 01:04:54 +01:00
Adam Vandenberg bcb0ead49c MacFUSE formula
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!
2009-08-24 01:04:54 +01:00
Max Howell 182f19d288 Support optional HEAD builds for any formula
A formula can have just a @head url or the user can specify to install HEAD
with --head. We support subversion and git checkouts.

The version is set to HEAD for head builds.

Next step is making brew update handle these installs correctly.
2009-08-24 01:04:54 +01:00
Adam Vandenberg 1ccdb59057 Add path for 'libexec'. 2009-08-24 01:04:53 +01:00
Adam Vandenberg d83abe7ca3 Formula for sshfs
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.
2009-08-24 01:04:53 +01:00
Max Howell 75cad0cd5f Suggest homepage in usage 2009-08-24 01:04:53 +01:00
Max Howell 181adae94b Proper validation of Formula.name and version 2009-08-24 01:04:53 +01:00
Max Howell f9b27e8ae2 FIX brew diy --set-version --set-name 2009-08-24 01:04:53 +01:00
Max Howell a0d029cfbc Move download strategies into their own file 2009-08-24 01:04:53 +01:00
Max Howell 50453eec09 Allow configure alias for diy 2009-08-24 01:04:53 +01:00
Max Howell e7de1779d9 Don't return a version that equals the basename
Return nil instead
2009-08-24 01:04:53 +01:00
Max Howell 7e01476ce2 MPlayer formula 2009-08-24 01:04:53 +01:00
Max Howell 1c734a63e1 Refactor away AbstractFormula
We'd gotten to the stage where Formula was so lean, it was pointless to
separate it.
2009-08-24 01:04:48 +01:00
Max Howell 2f31a6e734 GitDownloadStrategy
Untested
2009-08-24 01:03:30 +01:00
Max Howell 501b31c8d4 Fabricate formula
Demonstrates how to use the new SubversionDownloadStrategy, ie. it's automatic
baby.
2009-08-24 01:03:30 +01:00
Adam Vandenberg 8406978510 Support building from Subversion repositories
Adds a new DownloadStrategy that checks files out from Subversion to the
cache, then exports over to the temp folder for the build.

To use checkout with the svn:// protocol or reimplement download_strategy and
return SubversionDownloadStrategy.
2009-08-24 01:03:30 +01:00
Adam Vandenberg 9d83e666e3 Factor out downloading from Formula
This patch adds a ArchiveDownloadStrategy that handles downloading
tarbarlls and decompressing them into the staging area ready for brewing.

Refactored safe_system and curl into utils.rb

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

Modifications to Adam's original patch:

I reverted objectification of checksum verification because I couldn't think
of any other download validation methods that might be useful to us in the
future, so allowing such flexibility had no advantages. If we ever need this
to be OO we can add it. But for now less complexity is preferable.

I removed the @svnurl class member. Instead download_strategy is autodetected
by examining the url. The user can override the download_strategy in case this
fails. Thus we already can easily add support for clones of git repositories.
2009-08-24 01:03:23 +01:00
Max Howell 155929c9d1 Raise if installing a non-existent file 2009-08-21 18:26:50 +01:00
Adam Vandenberg 738cfab7cd Fix comment about ENV overrides 2009-08-21 14:40:26 +01:00
Adam Vandenberg cb8935de8c Reduce MySQL configure arg duplication 2009-08-21 14:34:27 +01:00
Adeel Ahmad Khan 947a1c7f69 Link binaries in sbin as well as bin.
Signed-off-by: Max Howell <max@methylblue.com>
2009-08-12 23:55:57 +08:00
Max Howell bfbcdb2334 brew diy command
Automagically determines prefix to install to for DIY installations.

README amended.
2009-08-12 13:43:51 +01:00
Max Howell 7e45879baa Pathname.version on directories ignores extname
Because directories don't have extensions.

Included test
2009-08-12 13:43:20 +01:00
Max Howell 778dc398e6 Mhash library formula for scoates at ##homebrew 2009-08-11 23:45:07 +01:00
Adam Vandenberg 9e0cc03cf6 Add note about xeon.
Signed-off-by: Max Howell <max@methylblue.com>
2009-08-12 05:42:58 +08:00
Adam Vandenberg d1539e3a56 Reformatted ./configure
Signed-off-by: Max Howell <max@methylblue.com>
2009-08-12 05:42:57 +08:00
Adeel Ahmad Khan 92ef9a6249 Modified imagemagick formula to compile (for me).
Signed-off-by: Max Howell <max@methylblue.com>
2009-08-12 05:41:06 +08:00