homebrew-core/Formula/movgrab.rb
Fred Oliveira e2dcde9f57 Movgrab 1.1.13
Closes Homebrew/homebrew#15987.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-11-11 18:11:04 -08:00

23 lines
910 B
Ruby

require 'formula'
class Movgrab < Formula
homepage 'http://sites.google.com/site/columscode'
url 'http://sites.google.com/site/columscode/files/movgrab-1.1.13.tar.gz'
sha1 '532e5e529dd4263b54f56965fafab04686f9f873'
def install
# When configure recurses into libUseful-2.0, it puts CC and CFLAGS into
# the second configure command line causing an error, invalid host type.
# The workaround is to manually configure libUseful-2.0 without those.
# The cache-file and srcdir arguments parse ok. So those were left in.
# Reported upstream. As of 1.1.12 the dev hasn't solved this yet.
system './configure', "--prefix=#{prefix}", '--no-recursion'
cd 'libUseful-2.0' do
system './configure', "--prefix=#{prefix}",
'--cache-file=/dev/null',
'--srcdir=.'
end
system 'make'
system 'make install'
end
end