aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorPatrick Ellis2014-05-29 19:04:27 -0700
committerMisty De Meo2014-05-29 21:24:24 -0700
commit0b863c3008ec32411b3bd7f020feaa8c0f7e81cc (patch)
tree4fcb52b47ef553054043704ec6cf9fd97933df2e /Library
parent8887cda18cb7ddbd70e90d260ba90975315db1e1 (diff)
downloadhomebrew-0b863c3008ec32411b3bd7f020feaa8c0f7e81cc.tar.bz2
waon 0.10 (new formula)
Closes #29704. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/waon.rb23
1 files changed, 23 insertions, 0 deletions
diff --git a/Library/Formula/waon.rb b/Library/Formula/waon.rb
new file mode 100644
index 000000000..d3beb009d
--- /dev/null
+++ b/Library/Formula/waon.rb
@@ -0,0 +1,23 @@
+require "formula"
+
+class Waon < Formula
+ homepage "http://waon.sourceforge.net"
+ url "https://downloads.sourceforge.net/project/waon/waon/0.10/waon-0.10.tar.gz"
+ sha1 "392c97e6b210de46ca67e3f23ddeeb2f18ee312f"
+
+ depends_on "fftw"
+ depends_on "libsndfile"
+ depends_on "pkg-config" => :build
+
+ def install
+ system "make", "-f", "Makefile.waon", "waon"
+ bin.install "waon"
+ man1.install "waon.1"
+ end
+
+ test do
+ system "say", "check one two", "-o", testpath/"test.aiff"
+ system "#{bin}/waon", "-i", testpath/"test.aiff", "-o", testpath/"output.midi"
+ assert (testpath/"output.midi").exist?
+ end
+end