blob: af170689cbcfa9fbcb4c6cc912122bd06b93fc24 (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
 | 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
  test do
    touch "fish"
    system "#{bin}/lbzip2", "fish"
    system "#{bin}/lbunzip2", "fish.bz2"
  end
end
 |