homebrew-core/Formula/lbzip2.rb

21 lines
488 B
Ruby
Raw Normal View History

require 'formula'
class Lbzip2 < Formula
homepage 'https://github.com/kjn/lbzip2'
url 'https://github.com/downloads/kjn/lbzip2/lbzip2-2.2.tar.gz'
sha1 '7c1fedbfec6aa3b10a4d3411078216f3fde252c3'
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
2013-02-12 07:03:57 +00:00
test do
2013-03-25 18:35:19 +00:00
touch "fish"
system "#{bin}/lbzip2", "fish"
system "#{bin}/lbunzip2", "fish.bz2"
2013-02-12 07:03:57 +00:00
end
end