diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/libcroco.rb | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/Library/Formula/libcroco.rb b/Library/Formula/libcroco.rb index 0f226df5a..44a327c2d 100644 --- a/Library/Formula/libcroco.rb +++ b/Library/Formula/libcroco.rb @@ -1,9 +1,7 @@ -require 'formula' - class Libcroco < Formula - homepage 'http://www.linuxfromscratch.org/blfs/view/svn/general/libcroco.html' - url 'http://ftp.gnome.org/pub/GNOME/sources/libcroco/0.6/libcroco-0.6.5.tar.xz' - sha256 '2c6959c3644e889264a61c35ddf17401c86943681d4fe3c1682ecd9acabda7e3' + homepage "http://www.linuxfromscratch.org/blfs/view/svn/general/libcroco.html" + url "http://ftp.gnome.org/pub/GNOME/sources/libcroco/0.6/libcroco-0.6.8.tar.xz" + sha256 "ea6e1b858c55219cefd7109756bff5bc1a774ba7a55f7d3ccd734d6b871b8570" bottle do cellar :any @@ -13,15 +11,21 @@ class Libcroco < Formula sha1 "52cd96351c6cbdce21f396823813b79dd60c4f09" => :mountain_lion end - depends_on 'pkg-config' => :build - depends_on 'intltool' => :build - depends_on 'glib' + depends_on "pkg-config" => :build + depends_on "intltool" => :build + depends_on "glib" def install ENV.libxml2 system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}", "--disable-Bsymbolic" - system 'make install' + system "make", "install" + end + + test do + (testpath/"test.css").write ".brew-pr { color: green }" + assert_equal ".brew-pr {\n color : green\n}", + shell_output("#{bin}/csslint-0.6 test.css").chomp end end |
