aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/gifsicle.rb16
1 files changed, 11 insertions, 5 deletions
diff --git a/Library/Formula/gifsicle.rb b/Library/Formula/gifsicle.rb
index 2a9117c37..c16df7c39 100644
--- a/Library/Formula/gifsicle.rb
+++ b/Library/Formula/gifsicle.rb
@@ -1,9 +1,14 @@
-require "formula"
-
class Gifsicle < Formula
homepage "http://www.lcdf.org/gifsicle/"
- url "http://www.lcdf.org/gifsicle/gifsicle-1.86.tar.gz"
- sha1 "517e68b781594851750d7d807e25bd18b1f5dbc4"
+ url "http://www.lcdf.org/gifsicle/gifsicle-1.87.tar.gz"
+ sha1 "0c22ba0fb0f5d005bd3bb579c2e07620fdd3ca5f"
+
+ head do
+ url "https://github.com/kohler/gifsicle.git"
+
+ depends_on "autoconf" => :build
+ depends_on "automake" => :build
+ end
option "with-x11", "Install gifview"
@@ -17,8 +22,9 @@ class Gifsicle < Formula
args << "--disable-gifview" if build.without? "x11"
+ system "./bootstrap.sh" if build.head?
system "./configure", *args
- system "make install"
+ system "make", "install"
end
test do