blob: 9ad5ea959b08846c59f34ed8069a337632c7fe85 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
require 'formula'
class Libextractor < Formula
homepage 'http://www.gnu.org/software/libextractor/'
url 'http://ftpmirror.gnu.org/libextractor/libextractor-0.6.2.tar.gz'
mirror 'http://ftp.gnu.org/gnu/libextractor/libextractor-0.6.2.tar.gz'
md5 '4b2af1167061430d58a101d5dfc6b4c7'
depends_on 'libtool' => :build unless MacOS.lion?
def install
ENV.deparallelize
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
def test
system "#{bin}/extract", "-v"
end
end
|