homebrew-core/Formula/xml2.rb
lim@chernjie.com d1a471e76d xml2 0.5
Closes .

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-12-05 20:41:57 -08:00

18 lines
385 B
Ruby

require 'formula'
class Xml2 < Formula
homepage 'http://ofb.net/~egnor/xml2/'
url 'http://download.ofb.net/gale/xml2-0.5.tar.gz'
sha1 'e954311383d053747ae0c224b12dfddb8a1c0e74'
depends_on 'pkg-config' => :build
def install
system "./configure", "--prefix=#{prefix}"
system "make", "install"
end
test do
system "echo '<test/>' | \"#{bin}/xml2\""
end
end