From fd65d3fc5c1b0cb06dcb9526896c9f07fa85d35a Mon Sep 17 00:00:00 2001 From: Xu Cheng Date: Wed, 31 Dec 2014 21:54:29 +0800 Subject: tinyxml: modernize --- Library/Formula/tinyxml.rb | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'Library/Formula/tinyxml.rb') diff --git a/Library/Formula/tinyxml.rb b/Library/Formula/tinyxml.rb index d8eef32cd..fb104d3c4 100644 --- a/Library/Formula/tinyxml.rb +++ b/Library/Formula/tinyxml.rb @@ -1,13 +1,11 @@ -require 'formula' - class Tinyxml < Formula - homepage 'http://www.grinninglizard.com/tinyxml/' - url 'https://downloads.sourceforge.net/project/tinyxml/tinyxml/2.6.2/tinyxml_2_6_2.tar.gz' - sha1 'cba3f50dd657cb1434674a03b21394df9913d764' + homepage "http://www.grinninglizard.com/tinyxml/" + url "https://downloads.sourceforge.net/project/tinyxml/tinyxml/2.6.2/tinyxml_2_6_2.tar.gz" + sha1 "cba3f50dd657cb1434674a03b21394df9913d764" option :universal - depends_on 'cmake' => :build + depends_on "cmake" => :build # The first two patches are taken from the debian packaging of tinyxml. # The first patch enforces use of stl strings, rather than a custom string type. -- cgit v1.2.3