2012-02-06 00:26:39 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Jigdo < Formula
|
|
|
|
homepage 'http://atterer.org/jigdo/'
|
|
|
|
url 'http://atterer.org/sites/atterer/files/2009-08/jigdo/jigdo-0.7.3.tar.bz2'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '7b83c35af71f908b31b9aa55b0dda9dfb4d224f0'
|
2012-02-06 00:26:39 +00:00
|
|
|
|
|
|
|
depends_on 'pkg-config' => :build
|
|
|
|
depends_on 'berkeley-db'
|
|
|
|
depends_on 'gtk+'
|
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--mandir=#{man}"
|
|
|
|
system "make"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
|
|
|
|
def test
|
2012-05-15 21:36:45 +00:00
|
|
|
system "#{bin}/jigdo-file", "-h"
|
2012-02-06 00:26:39 +00:00
|
|
|
end
|
|
|
|
end
|