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