2013-03-27 19:12:57 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Libtar < Formula
|
2014-03-14 07:19:01 +00:00
|
|
|
homepage 'http://repo.or.cz/w/libtar.git'
|
|
|
|
url 'http://repo.or.cz/w/libtar.git/snapshot/v1.2.20.tar.gz'
|
|
|
|
sha1 '3432cc24936d23f14f1e74ac1f77a1b2ad36dffa'
|
|
|
|
|
2014-03-20 19:05:10 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
|
|
|
sha1 "a42c6dc4b8851f67f4d1bcff5e07262979a03327" => :mavericks
|
|
|
|
sha1 "80c7eced65bfd68cf84f5ef5545c823aa979b1d3" => :mountain_lion
|
|
|
|
sha1 "779f42e589701236029e0f40bda618d404da06a6" => :lion
|
|
|
|
end
|
|
|
|
|
2014-03-14 07:19:01 +00:00
|
|
|
depends_on 'autoconf' => :build
|
|
|
|
depends_on 'automake' => :build
|
|
|
|
depends_on 'libtool' => :build
|
2013-03-27 19:12:57 +00:00
|
|
|
|
|
|
|
def install
|
2014-03-14 07:19:01 +00:00
|
|
|
system "autoreconf", "--force", "--install"
|
2013-03-27 19:12:57 +00:00
|
|
|
system "./configure", "--disable-debug",
|
|
|
|
"--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--mandir=#{man}"
|
2014-03-14 07:19:01 +00:00
|
|
|
system "make", "install"
|
2013-03-27 19:12:57 +00:00
|
|
|
end
|
|
|
|
end
|