homebrew-core/Formula/scrollkeeper.rb
Misty De Meo 596476ad78 Add conflicts_with DSL method
conflicts_with is a thin wrapper around Requirement which simplifies
marking conflicts between formulae.

Closes Homebrew/homebrew#13687.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2012-07-30 13:47:12 -03:00

21 lines
620 B
Ruby

require 'formula'
class Scrollkeeper < Formula
url 'http://downloads.sourceforge.net/project/scrollkeeper/scrollkeeper/0.3.14/scrollkeeper-0.3.14.tar.gz'
homepage 'http://scrollkeeper.sourceforge.net/'
md5 '161eb3f29e30e7b24f84eb93ac696155'
depends_on 'gettext'
depends_on 'docbook'
conflicts_with 'rarian',
:because => "scrollkeeper and rarian install the same binaries."
def install
system "./configure", "--prefix=#{prefix}",
"--mandir=#{man}",
"--with-xml-catalog=#{etc}/xml/catalog"
system "make"
system "make install"
end
end