Added a formula for rand
Jenkins 1.459

Closes #11551.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
android-sdk r18

Closes #11553.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
update md5 for zeromq-2.2.0

The tarball was repackaged, changing its checksum.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
pngcrush 1.7.25

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
innotop 1.8.1

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
lzlib 1.3

* Upgrade lzlib to version 1.3.
* Correct configure flags.  It is a C library, not C++.  Before it
would always compile with gcc.  It only uses CC and CFLAGS.
* Add make check because it's a compression library, and data
integrity seems worth the 2 seconds extra.

Tested on Lion and 64bit Snow Leopard with all compilers from
XCode-4.3.2 and 4.0.2.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
lzip 1.13

* Upgrade lzip to version 1.13.
* Remove --man flag because it installs to the correct location.
* Add make check because it's a compression program, and data
integrity seems worth the 2 sec. extra.
* Add ENV.j1 for make install, otherwise it will occasionally fail.

Tested on Lion and 64bit Snow Leopard using all compilers from
XCode-4.3.2 and 4.0.2.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Percona Toolkit 2.1.1

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Sickbeard 494
MPD 0.16.8

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
ARGV: use include? for --HEAD

ARGV.build_head? will return true if the typo '-HEAD' is passed because
it uses flag? to detect the option. However, we only filter the exact
spelling of '--HEAD' in ARGV.filter_for_dependencies, and thus the HEAD
property is undesirably passed to deps during installation.

Since we never advertised '-H' as a valid short option for '--HEAD',
just use include? instead of flag?.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
glib: fails with clang

cf. #11575, #10653.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
msgpack: builds with LLVM >= 2335

Closes #11523.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
msgpack: add test

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
wrangler: respect $CC during compilation

Closes #11524.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
mapnik: fix compile error with system Python

Mapnik by default tries to install to the site-packages in /System
when brewed against system Python.  This causes a build error
because that directory is not writeable.  Mapnik correctly
determines the versioned site-packages name without modification,
but for Homebrew it needs the proper prefix.

* Add the standard `which_python` function to the formula.
* Add a scons argument for `PYTHON_PREFIX`
* Add the standard caveat for `PYTHONPATH`.

Discussed upstream: https://github.com/mapnik/mapnik/issues/1155
and tested on Lion against the system Python.

Fixes #11389

Closes #11407.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
brew doctor: add check for outdated compilers

A common source of build problems on Xcode 4.3+ is outdated compilers,
usually when a user has installed over top of an old version and hasn't
installed the CLT. Since the compilers from the previous Xcode are still
around, brew doctor wouldn't complain.

This adds a hash containing a list of the canonical compiler versions
for supported versions of Xcode, and adds a check against that to determine
whether a given installation has any compilers which are out of date.

Closes #11518.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
openjpeg: switch to configure

Switch the formula to use configure.
Openjpeg can be built using configure or cmake.  They don't install
identically, though.  When built with cmake, one header is absent.
Switching to configure gets us the unversioned one also, i.e.

    openjpeg/1.5.0/include/openjpeg-1.5/openjpeg.h
    openjpeg/1.5.0/include/openjpeg.h

While only three formula currently depend_on openjpeg, they all
contain code that expects the unversioned file, i.e.

    #include <openjpeg.h>

Closes #11576.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
brew-pull: Fix detecting issue #

Fixes a regression introduced in c27a575eb6b2dfc0d662aaab2cf9d754647fbadd
This is why I wish 1.8.x had named captures.