aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author影月 零2014-06-02 22:58:19 +0900
committerMike McQuaid2014-06-02 16:24:31 +0100
commit4471d41395fce88f1421b7319de3422757eb67d0 (patch)
treeda8c48db6f2320fcd779de916fba379d074256c8
parent415bb1bff91d51d9207d4f1ca4cac910571bb65e (diff)
downloadhomebrew-4471d41395fce88f1421b7319de3422757eb67d0.tar.bz2
apngasm 3.1.3 (new formula)
-rw-r--r--Library/Formula/apngasm.rb22
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