aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/movgrab.rb
blob: f19f37fae038ed532cfaba497e590c0de2285d4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
require 'formula'

class Movgrab < Formula
  homepage 'https://sites.google.com/site/columscode/home/movgrab'
  url 'https://sites.google.com/site/columscode/files/movgrab-1.2.1.tar.gz'
  sha1 'f5f2f115dfdc2bb3d637f12d6b311910826e2123'

  def install
    system './configure', "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
    system 'make'

    # 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'
    system 'make install'
  end
end