homebrew-core/Formula/xmlstarlet.rb

16 lines
552 B
Ruby

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"
sha256 "15d838c4f3375332fd95554619179b69e4ec91418a3a5296e7c631b7ed19e7ca"
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--mandir=#{man}"
system "make"
system "make", "install"
bin.install_symlink "xml" => "xmlstarlet"
end
end