homebrew-core/Formula/xmlstarlet.rb
2015-06-05 14:47:57 +01:00

17 lines
542 B
Ruby

require "formula"
class Xmlstarlet < Formula
desc "XML command-line utilities"
homepage "http://xmlstar.sourceforge.net/"
url "https://downloads.sourceforge.net/project/xmlstar/xmlstarlet/1.6.1/xmlstarlet-1.6.1.tar.gz"
sha1 "87bb104f546caca71b9540807c5b2738944cb219"
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--mandir=#{man}"
system "make"
system "make install"
bin.install_symlink "xml" => "xmlstarlet"
end
end