596476ad78
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>
21 lines
620 B
Ruby
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
|