blob: d903190a5170c2541fbae41222387497905be4e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
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
|