b4395874f3
- Upgrade to version 1.1.12 - Remove the four patches merged for us upstream - Leave in the libUseful separate configure step for now. - Works well with superenv. - Works to dl videos as designed. Closes Homebrew/homebrew#15400. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
23 lines
910 B
Ruby
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.12.tar.gz'
|
|
sha1 'de5e48e0cde9c038562798a6a9fdcc56746c31bc'
|
|
|
|
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
|