1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-12-19 01:11:36 +03:00
kakoune/contrib/kakoune.rb

22 lines
499 B
Ruby
Raw Normal View History

class Kakoune < Formula
homepage "https://github.com/mawww/kakoune"
head "https://github.com/mawww/kakoune.git"
depends_on "docbook-xsl" => :build
depends_on "ncurses" => [:build, :recommended]
depends_on "asciidoc" => :build
unless OS.mac?
depends_on "libxslt" => :build
depends_on "pkg-config" => :build
end
def install
2016-12-14 00:29:00 +03:00
ENV["XML_CATALOG_FILES"] = "#{etc}/xml/catalog"
cd "src" do
system "make", "install", "PREFIX=#{prefix}", "debug=no"
end
end
end