aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAlex Dunn2015-04-19 12:56:34 -0700
committerBrett Koonce2015-04-19 20:09:07 -0700
commit5d34827fce7667466d557b9704a37b9f5fff7efd (patch)
tree8fd88dbe94f3081d5ce879a866326fb0e6109e01 /Library
parent3488f53c281156eff4cea8620bd2f6c5d10ddee3 (diff)
downloadhomebrew-5d34827fce7667466d557b9704a37b9f5fff7efd.tar.bz2
cimg 1.6.2, add test
Closes #38834. Signed-off-by: Brett Koonce <koonce@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/cimg.rb20
1 files changed, 13 insertions, 7 deletions
diff --git a/Library/Formula/cimg.rb b/Library/Formula/cimg.rb
index dc2580cf4..1639f8dcb 100644
--- a/Library/Formula/cimg.rb
+++ b/Library/Formula/cimg.rb
@@ -1,16 +1,22 @@
-require "formula"
-
class Cimg < Formula
homepage "http://cimg.sourceforge.net/"
- url "https://downloads.sourceforge.net/cimg/CImg_1.6.1.zip"
- sha1 "b5bac348c4eeaef6b68d17e2314f42642994005a"
+ url "https://downloads.sourceforge.net/cimg/CImg_1.6.2.zip"
+ sha256 "5c3f465b431566e82d9aeb0ca5dd18d925d3733861c735f4edf7f4e715748813"
def install
include.install "CImg.h"
- doc.install %w(
+ doc.install %w[
README.txt
- Licence_CeCILL-C_V1-en.txt Licence_CeCILL_V2-en.txt
- examples)
+ Licence_CeCILL-C_V1-en.txt
+ Licence_CeCILL_V2-en.txt
+ examples
+ plugins]
+ end
+
+ test do
+ cd doc/"examples" do
+ system "make", "mmacosx"
+ end
end
end