2011-03-10 05:11:03 +00:00
|
|
|
class Gaffitter < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Efficiently fit files/folders to fixed size volumes (like DVDs)"
|
2015-08-03 12:55:31 +00:00
|
|
|
homepage "http://gaffitter.sourceforge.net/"
|
2015-09-07 00:47:35 +00:00
|
|
|
url "https://downloads.sourceforge.net/project/gaffitter/gaffitter/1.0.0/gaffitter-1.0.0.tar.gz"
|
|
|
|
sha256 "c85d33bdc6c0875a7144b540a7cce3e78e7c23d2ead0489327625549c3ab23ee"
|
|
|
|
|
2015-09-07 17:47:48 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
|
|
|
sha256 "66332311c91a27aaf93d9bfa9d8d7c7c373aad98eb80ff53efebd3b9a0c51ff7" => :yosemite
|
|
|
|
sha256 "be06c31a5074d00dbf23ef22f515a8f42855aebdf0f9ee1a592c0a2581ff8279" => :mavericks
|
|
|
|
sha256 "d5e388d425fffcc44e782f892f433774d93b874a432ad6439866dff048f1c60b" => :mountain_lion
|
|
|
|
end
|
|
|
|
|
2015-09-07 00:47:35 +00:00
|
|
|
depends_on "cmake" => :build
|
2010-06-05 08:05:29 +00:00
|
|
|
|
|
|
|
def install
|
2015-09-07 00:47:35 +00:00
|
|
|
mkdir "build" do
|
|
|
|
system "cmake", "..", *std_cmake_args
|
|
|
|
system "make", "install"
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system bin/"fit", "-t", "10m", "--show-size", testpath
|
2010-06-05 08:05:29 +00:00
|
|
|
end
|
|
|
|
end
|