homebrew-core/Formula/libnxml.rb
2018-08-22 00:07:21 +02:00

27 lines
1.2 KiB
Ruby

class Libnxml < Formula
desc "C library for parsing, writing, and creating XML files"
homepage "https://www.autistici.org/bakunin/libnxml/"
url "https://www.autistici.org/bakunin/libnxml/libnxml-0.18.3.tar.gz"
sha256 "0f9460e3ba16b347001caf6843f0050f5482e36ebcb307f709259fd6575aa547"
bottle do
cellar :any
rebuild 1
sha256 "61e076a06cab737a7410a8a2adf9c29c3d32e44467caaef25d54c7be63093bd6" => :mojave
sha256 "a6b51b3ed4d09a603b7d232040b7e53fb26013a16ea9b4b86f415c45200faf43" => :high_sierra
sha256 "ddeb6f19f803f29eb44f498ed687dd76a5bdeb0b6416c67759e1690ab9fa4f14" => :sierra
sha256 "de106efa2da60ccb8567403547f904485c1c6431dd492ce4e1bbd66599c7f961" => :el_capitan
sha256 "7c2bff9c49c93ef6a3901050212671c60e0cb4e72f2faf968eb4ae57f3d6fbeb" => :yosemite
sha256 "49cfdc9ab57c78deed6b2fc3ce1c13b48a943384b2d366f9c37cfb673528b637" => :mavericks
sha256 "6625f30468eb89a785443261aa63a4f69267cd72338a3acb604326245566e3f8" => :mountain_lion
end
depends_on "curl" if MacOS.version < :lion # needs >= v7.20.1
def install
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make", "install"
end
end