2011-02-11 20:33:36 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Giblib < Formula
|
2011-02-11 20:33:36 +00:00
|
|
|
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'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '342e6f7882c67d2277e1765299e1be5078329ab0'
|
2011-02-11 20:33:36 +00:00
|
|
|
|
2013-01-28 02:43:46 +00:00
|
|
|
depends_on :x11
|
2012-10-13 08:10:55 +00:00
|
|
|
depends_on 'imlib2' => :build
|
2011-02-11 20:33:36 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--prefix=#{prefix}"
|
|
|
|
system "make install"
|
|
|
|
end
|
2012-09-02 07:58:43 +00:00
|
|
|
|
2014-02-23 21:31:41 +00:00
|
|
|
test do
|
2012-09-02 07:58:43 +00:00
|
|
|
system "#{bin}/giblib-config", "--version"
|
|
|
|
end
|
2011-02-11 20:33:36 +00:00
|
|
|
end
|