homebrew-core/Formula/giblib.rb

20 lines
417 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Giblib < Formula
homepage 'http://freshmeat.net/projects/giblib'
2013-01-28 02:43:46 +00:00
url 'http://linuxbrit.co.uk/downloads/giblib-1.2.4.tar.gz'
sha1 '342e6f7882c67d2277e1765299e1be5078329ab0'
2013-01-28 02:43:46 +00:00
depends_on :x11
depends_on 'imlib2' => :build
def install
system "./configure", "--prefix=#{prefix}"
system "make install"
end
def test
system "#{bin}/giblib-config", "--version"
end
end