blob: 04fe077e58ccbe5a2de1c767df7334c241ba1828 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
require "formula"
class LtcTools < Formula
homepage "https://github.com/x42/ltc-tools"
url "https://github.com/x42/ltc-tools/archive/v0.6.4.tar.gz"
sha1 "b126223996b06ac3dd900b322e3ccda9267bcbb3"
head "https://github.com/x42/ltc-tools.git"
depends_on "pkg-config" => :build
depends_on "help2man" => :build
depends_on "libltc"
depends_on "libsndfile"
depends_on "jack"
def install
system "make", "install", "PREFIX=#{prefix}"
end
test do
system bin/"ltcgen", "test.wav"
system bin/"ltcdump", "test.wav"
end
end
|