home/contrib/kakoune.rb

19 lines
403 B
Ruby
Raw Normal View History

require "formula"
class Kakoune < Formula
homepage "https://github.com/mawww/kakoune"
head "https://github.com/mawww/kakoune.git"
depends_on 'boost'
depends_on 'docbook-xsl' => :build
depends_on 'asciidoc' => [:build, 'with-docbook-xsl']
def install
2016-12-13 22:29:00 +01:00
ENV["XML_CATALOG_FILES"] = "#{etc}/xml/catalog"
cd 'src' do
system "make", "install", "PREFIX=#{prefix}"
end
end
end