diff options
| author | 影月 零 | 2014-06-02 22:58:19 +0900 | 
|---|---|---|
| committer | Mike McQuaid | 2014-06-02 16:24:31 +0100 | 
| commit | 4471d41395fce88f1421b7319de3422757eb67d0 (patch) | |
| tree | da8c48db6f2320fcd779de916fba379d074256c8 | |
| parent | 415bb1bff91d51d9207d4f1ca4cac910571bb65e (diff) | |
| download | homebrew-4471d41395fce88f1421b7319de3422757eb67d0.tar.bz2 | |
apngasm 3.1.3 (new formula)
| -rw-r--r-- | Library/Formula/apngasm.rb | 22 | 
1 files changed, 22 insertions, 0 deletions
| diff --git a/Library/Formula/apngasm.rb b/Library/Formula/apngasm.rb new file mode 100644 index 000000000..2963681ae --- /dev/null +++ b/Library/Formula/apngasm.rb @@ -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 | 
