2012-02-11 00:55:51 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Movgrab < Formula
|
2014-02-15 18:39:40 +00:00
|
|
|
homepage 'https://sites.google.com/site/columscode/home/movgrab'
|
2013-12-02 08:46:28 +00:00
|
|
|
url 'https://sites.google.com/site/columscode/files/movgrab-1.2.1.tar.gz'
|
|
|
|
sha1 'f5f2f115dfdc2bb3d637f12d6b311910826e2123'
|
2012-02-11 00:55:51 +00:00
|
|
|
|
|
|
|
def install
|
2013-12-02 08:46:28 +00:00
|
|
|
system './configure', "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
|
2012-05-08 18:23:46 +00:00
|
|
|
system 'make'
|
2013-12-02 08:46:28 +00:00
|
|
|
|
|
|
|
# because case-insensitivity is sadly a thing and while the movgrab
|
|
|
|
# Makefile itself doesn't declare INSTALL as a phony target, we
|
|
|
|
# just remove the INSTALL instructions file so we can actually
|
|
|
|
# just make install
|
|
|
|
system 'rm INSTALL'
|
2012-05-08 18:23:46 +00:00
|
|
|
system 'make install'
|
2012-02-11 00:55:51 +00:00
|
|
|
end
|
|
|
|
end
|