homebrew-core/Formula/gptsync.rb
Adam Vandenberg da3fdbd0cf Use "cd" instead of "Dir.chdir"
* And "mkdir" isntead of "Dir.mkdir"
* And "Dir[]" instead of "Dir.glob"
* Also style fixes and nitpicks
2012-02-24 21:35:50 -08:00

15 lines
380 B
Ruby

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