homebrew-core/Formula/gptsync.rb
Jaime Marquínez Ferrándiz 74c83fa9f6 Batch convert http download urls from SourceForge to https
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-03-02 09:16:53 -08:00

15 lines
390 B
Ruby

require 'formula'
class Gptsync < Formula
homepage 'http://refit.sourceforge.net/'
url 'https://downloads.sourceforge.net/refit/refit-src-0.14.tar.gz'
sha1 'ea80a6517c1b0ce5c92c8a605a40309e2e5a9cc2'
def install
cd "gptsync" do
system "make", "-f", "Makefile.unix", "CC=#{ENV.cc}"
sbin.install 'gptsync', 'showpart'
man8.install 'gptsync.8'
end
end
end