apngasm 3.1.3 (new formula)
This commit is contained in:
parent
b20550f157
commit
1fe5ba27ec
1 changed files with 22 additions and 0 deletions
22
Formula/apngasm.rb
Normal file
22
Formula/apngasm.rb
Normal file
|
@ -0,0 +1,22 @@
|
|||
require "formula"
|
||||
|
||||
class Apngasm < Formula
|
||||
homepage "https://github.com/apngasm/apngasm"
|
||||
url "https://github.com/apngasm/apngasm/archive/3.1.3.tar.gz"
|
||||
sha1 "5968640a5610e5ab47ef8464e413e714d2ef64a5"
|
||||
|
||||
depends_on "cmake" => :build
|
||||
depends_on "boost"
|
||||
depends_on "libpng"
|
||||
depends_on "lzlib"
|
||||
|
||||
def install
|
||||
system "cmake", ".", *std_cmake_args
|
||||
system "make", "install"
|
||||
(share/'test').install "test/samples"
|
||||
end
|
||||
|
||||
test do
|
||||
system "apngasm", "#{share}/test/samples/clock*.png"
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue