homebrew-core/Formula/gptsync.rb

15 lines
456 B
Ruby

class Gptsync < Formula
desc "GPT and MBR partition tables synchronization tool"
homepage "http://refit.sourceforge.net/"
url "https://downloads.sourceforge.net/refit/refit-src-0.14.tar.gz"
sha256 "c4b0803683c9f8a1de0b9f65d2b5a25a69100dcc608d58dca1611a8134cde081"
def install
cd "gptsync" do
system "make", "-f", "Makefile.unix", "CC=#{ENV.cc}"
sbin.install "gptsync", "showpart"
man8.install "gptsync.8"
end
end
end