blob: be98eb743626617f0e405771d49d4e388b2dfcea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
require "formula"
class Gifsicle < Formula
homepage "http://www.lcdf.org/gifsicle/"
url "http://www.lcdf.org/gifsicle/gifsicle-1.83.tar.gz"
sha1 "7498d75f1933156f3930aac417246d34f2cbbf64"
depends_on :x11 => :optional
def install
args = %W[
--disable-dependency-tracking
--prefix=#{prefix}
]
args << "--disable-gifview" if build.without? "x11"
system "./configure", *args
system "make install"
end
end
|