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" bottle do cellar :any_skip_relocation sha256 "d355de7bea36e310d22ed1109a34574ab93859bfe9e44b9493ebe75cfe429c33" => :el_capitan sha256 "34756250a7bbd8470dd98401c86c65d9886cfac802adb2371bf0a23fa9351f7f" => :yosemite sha256 "77233898efcd0dee5ec73bf8a11294bd5f6c64f5f7d34136c792d1e96ef13d61" => :mavericks end def install cd "gptsync" do system "make", "-f", "Makefile.unix", "CC=#{ENV.cc}" sbin.install "gptsync", "showpart" man8.install "gptsync.8" end end end