diff options
| author | lim@chernjie.com | 2013-09-25 16:12:18 +0800 |
|---|---|---|
| committer | Adam Vandenberg | 2013-12-05 20:41:57 -0800 |
| commit | 038053b5fd25fa73165d60a89df71c1c982cfb82 (patch) | |
| tree | 336585fb1df367437b1fe0b23132b50c2fe67808 /Library/Formula/xml2.rb | |
| parent | 5bb22226ac981b19b857c723ffa0ee10bab5fb46 (diff) | |
| download | homebrew-038053b5fd25fa73165d60a89df71c1c982cfb82.tar.bz2 | |
xml2 0.5
Closes #24905.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/xml2.rb')
| -rw-r--r-- | Library/Formula/xml2.rb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Library/Formula/xml2.rb b/Library/Formula/xml2.rb new file mode 100644 index 000000000..215b894cc --- /dev/null +++ b/Library/Formula/xml2.rb @@ -0,0 +1,18 @@ +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 |
