111eeea4c0
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
26 lines
879 B
Ruby
26 lines
879 B
Ruby
require 'formula'
|
|
|
|
# Note: this project doesn't save old releases, so it breaks often as
|
|
# downloads disappear.
|
|
|
|
class Sip <Formula
|
|
url 'http://www.riverbankcomputing.co.uk/static/Downloads/sip4/sip-4.11.1.tar.gz'
|
|
homepage 'http://www.riverbankcomputing.co.uk/software/sip'
|
|
md5 'd32ae4dfea42ebf37419a0ec28b597de'
|
|
|
|
def install
|
|
# Force building against System python, because we need a Framework build.
|
|
# See: http://github.com/mxcl/homebrew/issues/issue/930
|
|
system "/usr/bin/python", "configure.py",
|
|
"--destdir=#{lib}/python",
|
|
"--bindir=#{bin}",
|
|
"--incdir=#{include}"
|
|
system "make install"
|
|
end
|
|
|
|
def caveats; <<-EOS
|
|
This formula won't function until you amend your PYTHONPATH like so:
|
|
export PYTHONPATH=#{HOMEBREW_PREFIX}/lib/python:$PYTHONPATH
|
|
EOS
|
|
end
|
|
end
|