zopfli 1.0.0
Closes Homebrew/homebrew#18150 and Homebrew/homebrew#19435. Signed-off-by: Mathias Bynens <mathias@qiwi.be> Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
This commit is contained in:
parent
f1153e867d
commit
76aa7d41c7
1 changed files with 19 additions and 0 deletions
19
Formula/zopfli.rb
Normal file
19
Formula/zopfli.rb
Normal file
|
@ -0,0 +1,19 @@
|
|||
require 'formula'
|
||||
|
||||
class Zopfli < Formula
|
||||
homepage 'https://code.google.com/p/zopfli/'
|
||||
url 'https://zopfli.googlecode.com/files/zopfli-1.0.0.zip'
|
||||
sha1 '98ea00216e296bf3a13e241d7bc69490042ea7ce'
|
||||
head 'https://code.google.com/p/zopfli/', :using => :git
|
||||
|
||||
def install
|
||||
# Makefile hardcodes gcc
|
||||
inreplace 'Makefile', 'gcc', ENV.cc
|
||||
system 'make'
|
||||
bin.install 'zopfli'
|
||||
end
|
||||
|
||||
test do
|
||||
system "#{bin}/zopfli"
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue