2010-10-14 12:15:30 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Scrollkeeper < Formula
|
2010-10-14 12:15:30 +00:00
|
|
|
homepage 'http://scrollkeeper.sourceforge.net/'
|
2013-01-28 06:01:49 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/scrollkeeper/scrollkeeper/0.3.14/scrollkeeper-0.3.14.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '0462799a2d96f46dec76f2fd057e2dfe8d7cb94d'
|
2010-10-14 12:15:30 +00:00
|
|
|
|
|
|
|
depends_on 'gettext'
|
|
|
|
depends_on 'docbook'
|
|
|
|
|
2012-07-28 16:02:46 +00:00
|
|
|
conflicts_with 'rarian',
|
|
|
|
:because => "scrollkeeper and rarian install the same binaries."
|
|
|
|
|
2010-10-14 12:15:30 +00:00
|
|
|
def install
|
2012-03-05 21:33:49 +00:00
|
|
|
system "./configure", "--prefix=#{prefix}",
|
|
|
|
"--mandir=#{man}",
|
|
|
|
"--with-xml-catalog=#{etc}/xml/catalog"
|
2010-10-14 12:15:30 +00:00
|
|
|
system "make"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|