diff options
| author | camparijet | 2014-02-02 11:55:02 +0900 |
|---|---|---|
| committer | Adam Vandenberg | 2014-05-21 10:24:52 -0700 |
| commit | bc787b73ccf867265c81c69497929efac90f2567 (patch) | |
| tree | c5f0d4f4b14132b54d91a8d6c9a15a175eef2116 /Library | |
| parent | 836d6a9287f2317cd27416c86d42bd4d39dd83b3 (diff) | |
| download | homebrew-bc787b73ccf867265c81c69497929efac90f2567.tar.bz2 | |
SPTK 3.7
Closes #26342.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/sptk.rb | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/Library/Formula/sptk.rb b/Library/Formula/sptk.rb new file mode 100644 index 000000000..a4c5a2543 --- /dev/null +++ b/Library/Formula/sptk.rb @@ -0,0 +1,27 @@ +require "formula" + +class Sptk < Formula + homepage "http://sp-tk.sourceforge.net/" + url "https://downloads.sourceforge.net/sp-tk/SPTK-3.7.tar.gz" + sha1 "319b8850f4ea4a294311fbb53f2421088c7e5171" + + depends_on :x11 + + fails_with :gcc do + cause "Segmentation fault during linking." + end + + fails_with :llvm do + cause "Segmentation fault during linking." + end + + def install + system "./configure", "CC=#{ENV.cc}", "--prefix=#{prefix}" + system "make", "install" + end + + test do + system "#{bin}/impulse", "-h" + system "#{bin}/impulse -n 10 -l 100 | hexdump" + end +end |
