giblib: fix SHA1, test and X11 dependency.

This commit is contained in:
Mike McQuaid 2012-09-02 00:58:43 -07:00
parent 7b20bcd588
commit 8ce9e32058

View file

@ -6,9 +6,14 @@ class Giblib < Formula
sha1 '342e6f7882c67d2277e1765299e1be5078329ab0'
depends_on 'imlib2' => :build
depends_on :x11 # includes <X11/Xlib.h>
def install
system "./configure", "--prefix=#{prefix}"
system "make install"
end
def test
system "#{bin}/giblib-config", "--version"
end
end