Commit Graph
76 Commits
Author SHA1 Message Date
Max Howell ea1cc3fc9b FIX allow @version to be set in derived Formula 2009-08-01 17:54:18 +01:00
Max Howell db69633b84 Determine best optimization flags for host
We call sysctl to determine which exact Mac model we are running on and
optimize as well as possible.
2009-07-31 16:06:14 +01:00
Max Howell f6e5874ff7 More tests for Formula and Keg 2009-07-31 14:21:27 +01:00
Max Howell 39fa1f0aee FIX flac install 2009-07-31 14:04:49 +01:00
Max Howell 141bc27668 Tests for Formula.* 2009-07-31 14:04:24 +01:00
Max Howell 325912dd42 FIX chmod correctly for *both* 32bit and 64bit binaries 2009-07-31 14:03:58 +01:00
Max Howell 6bc29cbb65 FIX only claim that Formula doesn't exist if it was a loaderror 2009-07-31 14:03:22 +01:00
Max Howell 96e454435e FIX typo in formula.rb 2009-07-31 13:13:52 +01:00
Max Howell eb7b447b8c A basis for full test coverage 2009-07-31 04:59:08 +01:00
Max Howell 1e08d31e14 opoo function for warning messages 2009-07-31 04:59:08 +01:00
Max Howell 118b41bfcd Refactor $foo into HOMEBREW_FOO
CONSTANTS are the far saner choice for these important parameters.

Split env up so I can redefine the CONSTANTS in unittest.rb.
2009-07-31 04:59:02 +01:00
Max Howell 1d4e189880 Use our CFLAGS for dos2unix 2009-07-31 01:29:00 +01:00
Max Howell 05add0fa54 Use our CFLAGS and LDFLAGS for pngcrush 2009-07-31 01:28:27 +01:00
Max Howell c4d8569b5b Recognise 64 bit binaries too 2009-07-31 01:19:11 +01:00
Max Howell 8d4b17b7e6 Don't allow Keg.new for empty kegs
Kegs have to exist to be created.
2009-07-31 01:18:03 +01:00
Max Howell 3a981c6f3b Git 1.6.4 2009-07-31 00:32:42 +01:00
Adam Vandenberg 27f46b1180 Allow brewing without an MD5 hash
You can either have none, in which case a warning is displayed, or
you can have one, but it *must* match.
2009-07-31 00:29:58 +01:00
Adam Vandenberg 9688783f0b Basic Python 2.6 recipe. 2009-07-31 00:28:38 +01:00
Max Howell c37b2a079a Fix Formula.installed? 2009-07-29 01:00:26 +01:00
Max Howell fb1db6956f Fix brew rm 2009-07-29 01:00:26 +01:00
Adam Vandenberg dde881b848 Recipe for mysql client library.
Signed-off-by: Max Howell <max@methylblue.com>
2009-07-28 18:47:45 +08:00
Max Howell dd583386dd CMake 2.6.4
Also removed xmlrpc-c dep, by coercing cmake into using its own xmlrpc
copy. It statically linked xmlrpc before anyway, so it's better for our
users not to have this crappy dependency.

Still completely in the dark about how cmake can possibly need an
xmlrpc library!
2009-07-28 02:28:46 +01:00
Max Howell c0e3dbac6b Don't allow build to be rescued if the untar fails 2009-07-27 16:35:04 +01:00
Max Howell d8a944e83d Fix inreplace when using ' or other RegExp symbols
Evidence that using perl from the cli for in-replace is stupid :P

Had to use $'' to allow escaping of ' in bash strings.

Wasn't escaping regexp symbols as well, so it was amazing this worked at all!
2009-07-27 16:20:48 +01:00
Max Howell 3605b8d231 Enforce 10.5 as minimum OSX SDK framework to use 2009-07-27 16:18:17 +01:00
Max Howell 3cf12261be Refactor--object orientate where sensible 2009-07-24 23:57:54 +01:00
Max Howell e8ac15795e Update Qt to 4.5.2 2009-07-23 13:03:23 +01:00
Max Howell 5b82ee70d5 Update JPEG to v7 2009-07-23 13:03:15 +01:00
Max Howell ff4e7e4768 Update and improve dmd formula 2009-07-23 04:12:36 +01:00
Max Howell a85147df98 Fix ack formula 2009-07-23 04:12:25 +01:00
Max Howell 905f31e3bd Improvements to cmake install 2009-07-23 03:02:09 +01:00
Max Howell e97c31e35e Fix issues with Pathname.install and arrays 2009-07-23 01:14:22 +01:00
Max Howell 12de180b85 Fix hard link dissociation bug
strip unlinks the file first, breaking hard links, so we detect instances where we are about to strip a file with many linkages and prevent it.

This fixes the libexec non executable bug in the git package.

Took me a long time to figure out what was wrong! :P
2009-07-22 20:28:42 +01:00
Max Howell 8e357f3fde Gloox beta7 2009-07-10 03:11:33 +01:00
Max Howell dbca49c751 Support gloox version style 2009-07-10 03:11:05 +01:00
Max Howell 0a35888f45 GRC version 1.3 2009-07-10 03:10:35 +01:00
Max Howell 04c48cf5cf Fix cmake formula 2009-07-10 00:49:27 +01:00
Max Howell 1bcba2038c Make git formula work again 2009-07-10 00:36:59 +01:00
Max Howell 913acb61ee Make scripts executable by default
Though maybe we should only do that if they were before?
2009-07-10 00:36:16 +01:00
Max Howell 9be950ec7c Update PNGcrush and FLAC formulae 2009-07-07 16:09:44 +01:00
Max Howell 4b587c5943 Use ~/Library/Caches not ~/Library/Application Support for http-cache 2009-06-28 17:35:04 +01:00
Max Howell f0f1069cb3 ImageMagick and Jpeg-lib formulae 2009-06-28 16:56:15 +01:00
Max Howell d8640f71ae Use newer flac2mp3 script 2009-06-28 16:41:06 +01:00
Max Howell 20b84a4963 Leave permissions of installed files in sensible state
No write permission for files, executable when required etc.
2009-06-26 13:05:48 +01:00
Max Howell a0c8640d96 Use FileUtils.chmod 2009-06-26 12:58:32 +01:00
Max Howell a390b713eb P7ZIP formula 2009-06-26 12:58:00 +01:00
Max Howell 271acec036 Tidied things up a little in light of recent changes 2009-06-18 11:13:11 +01:00
Max Howell 95ed72338e vorbis-tools and libao formulae 2009-06-18 11:00:03 +01:00
Max Howell 7a0aede962 libvorbis formula 2009-06-18 10:34:43 +01:00
Max Howell 14d729a23c libogg doesn't support parallel builds during install 2009-06-18 10:31:23 +01:00