aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/libarchive.rb
blob: d4613921da768b7fc404db8ddb57fcf9899061f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
require 'formula'

class Libarchive < Formula
  homepage 'http://www.libarchive.org'
  url 'http://www.libarchive.org/downloads/libarchive-3.1.2.tar.gz'
  sha1 '6a991777ecb0f890be931cec4aec856d1a195489'

  keg_only :provided_by_osx

  def install
    system "./configure", "--prefix=#{prefix}",
                          "--without-lzma",
                          "--without-lzo2",
                          "--without-nettle",
                          "--without-xml2"
    system "make install"
  end
end