cimg 2.0.0 (#14045)
This commit is contained in:
parent
979b1abf45
commit
088b88832e
1 changed files with 8 additions and 18 deletions
|
@ -1,31 +1,21 @@
|
|||
class Cimg < Formula
|
||||
desc "C++ toolkit for image processing"
|
||||
homepage "http://cimg.eu/"
|
||||
url "http://cimg.eu/files/CImg_1.7.9.zip"
|
||||
sha256 "fa7800d420807e367c0f77e6d5076decba55dc51c9319f9e9e5cf822ac0ce81d"
|
||||
url "http://cimg.eu/files/CImg_2.0.0.zip"
|
||||
sha256 "f6ee5c6b16fac167c120a060998ab6864856ff0a2bbb78134472db7ca0f26889"
|
||||
|
||||
bottle do
|
||||
cellar :any_skip_relocation
|
||||
sha256 "0a682bf144d609aeb8c185839226ded8fccc08e7f13fe63ec6399928105f8fb6" => :sierra
|
||||
sha256 "99a4424e348cc18c366a58137ad22e1d9fbe5de88afce72e32dea13fe64aa7ac" => :el_capitan
|
||||
sha256 "99a4424e348cc18c366a58137ad22e1d9fbe5de88afce72e32dea13fe64aa7ac" => :yosemite
|
||||
end
|
||||
bottle :unneeded
|
||||
|
||||
def install
|
||||
include.install "CImg.h"
|
||||
|
||||
doc.install %w[
|
||||
README.txt
|
||||
Licence_CeCILL-C_V1-en.txt
|
||||
Licence_CeCILL_V2-en.txt
|
||||
examples
|
||||
plugins
|
||||
]
|
||||
prefix.install "Licence_CeCILL-C_V1-en.txt", "Licence_CeCILL_V2-en.txt"
|
||||
pkgshare.install "examples", "plugins"
|
||||
end
|
||||
|
||||
test do
|
||||
cp_r doc/"examples", testpath
|
||||
cp_r doc/"plugins", testpath
|
||||
cp_r pkgshare/"examples", testpath
|
||||
cp_r pkgshare/"plugins", testpath
|
||||
cp include/"CImg.h", testpath
|
||||
system "make", "-C", "examples", "mmacosx"
|
||||
system "examples/image2ascii"
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue