aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/tinyxml.rb
diff options
context:
space:
mode:
authorXu Cheng2014-12-31 21:54:29 +0800
committerMike McQuaid2014-12-31 14:59:57 +0000
commitfd65d3fc5c1b0cb06dcb9526896c9f07fa85d35a (patch)
tree8e7d997d1f0e5f3d9f5d85dc4fc107f7823c9a60 /Library/Formula/tinyxml.rb
parent20b8a7315a727da0098d74c5f22e7ae370e3c59d (diff)
downloadhomebrew-fd65d3fc5c1b0cb06dcb9526896c9f07fa85d35a.tar.bz2
tinyxml: modernize
Diffstat (limited to 'Library/Formula/tinyxml.rb')
-rw-r--r--Library/Formula/tinyxml.rb10
1 files changed, 4 insertions, 6 deletions
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.