2015-03-24 14:51:42 +01:00
|
|
|
require "formula"
|
|
|
|
|
|
|
|
class Kakoune < Formula
|
|
|
|
homepage "https://github.com/mawww/kakoune"
|
|
|
|
head "https://github.com/mawww/kakoune.git"
|
|
|
|
|
|
|
|
depends_on 'boost'
|
2016-11-28 16:03:45 +01:00
|
|
|
depends_on 'docbook-xsl' => :build
|
2016-12-17 01:28:12 +01:00
|
|
|
depends_on 'ncurses' => [:build, :recommended]
|
2016-11-28 16:03:45 +01:00
|
|
|
depends_on 'asciidoc' => [:build, 'with-docbook-xsl']
|
2015-03-24 14:51:42 +01:00
|
|
|
|
|
|
|
def install
|
2016-12-13 22:29:00 +01:00
|
|
|
ENV["XML_CATALOG_FILES"] = "#{etc}/xml/catalog"
|
|
|
|
|
2015-03-24 14:51:42 +01:00
|
|
|
cd 'src' do
|
2017-01-15 12:29:24 +01:00
|
|
|
system "make", "install", "PREFIX=#{prefix}", "debug=no"
|
2015-03-24 14:51:42 +01:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|