aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorBaptiste Fontaine2015-03-13 11:27:24 +0100
committerTim D. Smith2015-03-13 22:05:33 -0700
commit4945253655f0421405549f1952a2d80dd5f706d3 (patch)
treee4de70e4cca3cda9782d2f40db5b7bfc418419e2 /Library/Formula
parent8303d7dfca89c7ade8cd2685b8a3b8d9bde05a61 (diff)
downloadhomebrew-4945253655f0421405549f1952a2d80dd5f706d3.tar.bz2
eot-utils: test added
Closes #37671. Signed-off-by: Tim D. Smith <git@tim-smith.us>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/eot-utils.rb21
1 files changed, 15 insertions, 6 deletions
diff --git a/Library/Formula/eot-utils.rb b/Library/Formula/eot-utils.rb
index 55b45c5c1..38f338d9e 100644
--- a/Library/Formula/eot-utils.rb
+++ b/Library/Formula/eot-utils.rb
@@ -1,12 +1,21 @@
-require 'formula'
-
class EotUtils < Formula
- homepage 'http://www.w3.org/Tools/eot-utils/'
- url 'http://www.w3.org/Tools/eot-utils/eot-utilities-1.1.tar.gz'
- sha1 '7e8a68ba1ae4b533113e7965aa2cca133367f31f'
+ homepage "https://www.w3.org/Tools/eot-utils/"
+ url "https://www.w3.org/Tools/eot-utils/eot-utilities-1.1.tar.gz"
+ sha256 "4eed49dac7052e4147deaddbe025c7dfb404fc847d9fe71e1c42eba5620e6431"
+
+ resource "eot" do
+ url "https://github.com/RoelN/font-face-render-check/raw/98f0adda9cfe44fe97f6d538aa893a37905a7add/dev/pixelambacht-dash.eot"
+ sha256 "23d6fbe778abe8fe51cfc5ea22f8e061b4c8d32b096ef4a252ba6f2f00406c91"
+ end
def install
system "./configure", "--prefix=#{prefix}"
- system "make install"
+ system "make", "install"
+ end
+
+ test do
+ resource("eot").stage do
+ system "#{bin}/eotinfo", "pixelambacht-dash.eot"
+ end
end
end