blob: 3fe1a8b51934c714c597c0fa5a2a5efb19844bfd (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
 | require 'formula'
class Xtail < Formula
  homepage 'http://www.unicom.com/sw/xtail'
  url 'http://www.unicom.com/files/xtail-2.1.tar.gz'
  sha1 '1188baaf47e19a1ed6176a17ee6d144078657c17'
  def install
    system "./configure", "--disable-debug", "--disable-dependency-tracking",
                          "--prefix=#{prefix}",
                          "--mandir=#{man}"
    man1.mkpath
    bin.mkpath
    system "make install"
  end
  test do
    system "#{bin}/xtail"
  end
end
 |