20 lines
731 B
Ruby
20 lines
731 B
Ruby
require 'formula'
|
|
|
|
class Movgrab < Formula
|
|
desc "Downloader for youtube, dailymotion, and other video websites"
|
|
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
|