apngasm 3.1.3 (new formula)

master
影月 零 2014-06-02 22:58:19 +09:00 committed by Mike McQuaid
parent b20550f157
commit 1fe5ba27ec
1 changed files with 22 additions and 0 deletions

22
Formula/apngasm.rb Normal file
View 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