blob: 66e9c5d225ae973fa9580b904f2077ac4331334c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
require "formula"
class Libextractor < Formula
homepage "http://www.gnu.org/software/libextractor/"
url "http://ftpmirror.gnu.org/libextractor/libextractor-1.3.tar.gz"
mirror "http://ftp.gnu.org/gnu/libextractor/libextractor-1.3.tar.gz"
sha1 "613d0b80e83c79c3e05e073bcda0d0d0bd1f3336"
bottle do
cellar :any
sha1 "b15e3b84d7a5ff3de9a4aaee6217cce88eda57d4" => :mavericks
sha1 "805f42f40bc00584dda99723ff136d2bce53fd87" => :mountain_lion
sha1 "d442f903c5157d5a1a8c68d06967814a30d4c666" => :lion
end
depends_on "pkg-config" => :build
depends_on "libtool" => :run
depends_on "iso-codes" => :optional
conflicts_with "sptk", :because => "both install `extract`"
def install
ENV.deparallelize
system "./configure", "--disable-silent-rules",
"--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
test do
system "#{bin}/extract", "-v"
end
end
|