2011-06-13 19:56:25 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Webp < Formula
|
|
|
|
homepage 'http://code.google.com/speed/webp/'
|
2012-07-29 14:55:04 +00:00
|
|
|
url 'http://webp.googlecode.com/files/libwebp-0.1.99.tar.gz'
|
|
|
|
sha1 '20c4d471601c44c9dcabe116eca3573a0aab5289'
|
2011-06-13 19:56:25 +00:00
|
|
|
|
2012-06-07 01:35:12 +00:00
|
|
|
depends_on :x11
|
2011-11-19 22:14:52 +00:00
|
|
|
depends_on 'jpeg'
|
|
|
|
|
2011-06-13 19:56:25 +00:00
|
|
|
def install
|
2012-07-29 14:55:04 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
2011-06-13 19:56:25 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
2011-11-30 18:56:07 +00:00
|
|
|
end
|